Loading…
Loading…
Method Name: GetHealthStatus
Method ID: 0x0403
Method Label: GetHealthStatus
Method Help:
- {
- char achCmdStatus[3];
- int status;
- unsigned char healthStatus;
- healthStatus = 0;
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- send_command_trans(48,0);
- healthStatus = 0;
- if ((extended_fld_device_status & 0x08) != 0)
- {
- healthStatus = 1;
- }
- else
- if ((extended_fld_device_status & 0x20) != 0)
- {
- healthStatus = 2;
Please login for more