Loading…

Method Name: GetHealthStatus

Method ID: 0x0403

Method Label: GetHealthStatus

Method Help:


  • {
  • char achCmdStatus[3];
  • int status;
  • unsigned char priority;
  • priority = 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);
  • if (extended_fld_device_status == 0)
  • priority = 5;
  • if ((extended_fld_device_status & 0x01) != 0)
  • {
  • priority = 4;
  • }
  • if ((extended_fld_device_status & 0x10) != 0)


Please login for more