Loading…
Loading…
Method Name: DeviceStatusMethod
Method ID: 0x402A
Method Label: View status
Method Help: Reports any currently active device status information.
- {
- char acStatus[3];
- char acXmtrStatus[25];
- int wNumRetries;
- int wStat;
- int x;
- wNumRetries = 1;
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- do {
- wStat = get_more_status(acStatus,acXmtrStatus);
- if (acStatus[0])
- {
- display_response_status(48,acStatus[0]);
- }
- }
- while (wStat != 0 && wNumRetries++ <= 3);
- if (acXmtrStatus[0] || acXmtrStatus[1])
Please login for more