Loading…
Loading…
方法名称: MthResetDevice
方法ID: 0x40E1
方法标签: Device reset
方法描述: Perform a "cold start" (like power-on start).
- {
- if (SELECT_FROM_LIST(literal_string(1520),literal_string(1521)) == 0)
- return;
- _set_all_resp_code(0);
- _set_xmtr_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_no_device(0);
- _set_comm_status(0xFF,0);
- _set_no_device(2);
- SET_NUMBER_OF_RETRIES(10);
- send_command(42);
请登录以获得完整内容