Loading…
Loading…
方法名称: mthd_reset_tamper_cntr
方法ID: 0x4144
方法标签: Reset Tamper Counter
方法描述: 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(1233));
- send_command(15);
- if (write_protect)
- {
- ACKNOWLEDGE(literal_string(1234));
- process_abort();
- }
- send_command(232);
- send_command(230);
请登录以获得完整内容