Loading…
Loading…
方法名称: device_reset
方法ID: 0x4069
方法标签: Device reset
方法描述:
- {
- char status[3];
- char xmtr_status[6];
- int number_of_tries;
- long var_id[1];
- _set_xmtr_no_device(0);
- _set_xmtr_comm_status(0x7F,0);
- number_of_tries = 0;
- send_command(42);
- DELAY_TIME(48);
- do {
- send_command(48);
- }
- while (xmtr_specific_status_4 & 0x01 == 0x01 && number_of_tries++ < 5);
- if (xmtr_specific_status_4 & 0x01 != 0x01)
- {
- put_message(literal_string(201),var_id);
- }
请登录以获得完整内容