Loading…

Method Name: self_test

Method ID: 0x4009

Method Label: Status

Method Help:


  • {
  • 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(4021,x);
  • }
  • for (x = 1; x < 0x100; x <<= 1)
  • {
  • if (xmtr_status[1] & x)
  • _display_xmtr_status(4022,x);
  • }


Please login for more