Loading…
Loading…
Method Name: lock_unlock_device_Local
Method ID: 0x4306
Method Label: Bloquear/Desbloquear o dispositivo
Method Help: Dispositivo de Bloquei/Desbloqueio- Estabelece o dispositivo emtanto em posição bloqueada quanto desbloqueada.
- {
- char status[3];
- char disp_string1[60];
- char disp_string2[60];
- long var_id[1];
- int use_abort_method;
- int choice;
- int result;
- int locked;
- int slen1;
- int slen2;
- slen1 = 60;
- slen2 = 60;
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- send_command(173);
- if (softwareRevision_byte0 == 7 && softwareRevision_byte1 == 2 && (softwareRevision_byte2 == 1 || softwareRevision_byte2 == 50 || softwareRevision_byte2 == 51 || softwareRevision_byte2 == 52))
- {
- send_command(76);
- send_command(15);
- do {
- locked = _ivar_value(4208) & 0x01;
- if (locked)
- {
- _get_dictionary_string(19726398,disp_string1,slen1);
- }
- else
- {
Please login for more