Loading…
Loading…
Method Name: mthd_reset_tamper_cntr
Method ID: 0x4144
Method Label: Reset Tamper Counter
Method Help: Allows to reset Tamper alarm counter
- {
- int conf;
- char status[3];
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_all_resp_code(0);
- _set_xmtr_all_resp_code(0);
- ACKNOWLEDGE(literal_string(1219));
- send_command(15);
- if (write_protect)
- {
- _get_dev_var_value(literal_string(1220),0,16427);
- _iassign(16428,0);
- send(176,status);
- if (status[0])
- {
- if (status[0] == 6)
- {
- ACKNOWLEDGE(literal_string(1221));
- process_abort();
- }
Please login for more