Loading…
Loading…
方法名称: EnterPasscode
方法ID: 0x414D
方法标签: Enter Pass Code
方法描述: Enter Pass Code
- {
- char status[3];
- _set_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _get_dev_var_value(literal_string(506),0,16445);
- PassCodeType = 0;
- send(142,status);
- if (status[0])
- {
- if (status[0] == 2)
- {
- WriteEnabled = 0;
- save_values();
- ACKNOWLEDGE(literal_string(666));
- }
请登录以获得完整内容