Loading…
Loading…
Method Name: self_test_method
Method ID: 0x4169
Method Label: Status
Method Help: Status- Displays the result of self-diagnosis of the device.
- {
- char status[3];
- char xmtr_status[25];
- long x;
- _set_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- get_more_status(status,xmtr_status);
- if ( xmtr_status[0] || xmtr_status[1] || xmtr_status[2] || xmtr_status[3] )
- {
- for ( x=1; x < 0x100; x <<= 1)
- {
- if ( xmtr_status[0] & x )
- _display_xmtr_status(4139,x);
- }
- for ( x=1; x < 0x100; x <<= 1)
- {
- if ( xmtr_status[1] & x )
- _display_xmtr_status(4140,x);
- }
- for ( x=1; x < 0x40; x <<= 1)
- {
Please login for more