Loading…

Method Name: GetHealthStatus

Method ID: 0x0403

Method Label: GetHealthStatus

Method Help:


  • {
  • int set;
  • set = 0;
  • if (xmtr_specific_status_0 & 0x02 || xmtr_specific_status_0 & 0x04 || xmtr_specific_status_0 & 0x08 || xmtr_specific_status_0 & 0x10 || xmtr_specific_status_0 & 0x20 || xmtr_specific_status_0 & 0x40 || xmtr_specific_status_1 & 0x01 || xmtr_specific_status_1 & 0x02 || xmtr_specific_status_1 & 0x04 || xmtr_specific_status_1 & 0x08 || xmtr_specific_status_1 & 0x10 || xmtr_specific_status_1 & 0x20 || xmtr_specific_status_1 & 0x40 || xmtr_specific_status_2 & 0x01 || xmtr_specific_status_2 & 0x02 || xmtr_specific_status_2 & 0x10 || xmtr_specific_status_2 & 0x20 || xmtr_specific_status_3 & 0x20 || xmtr_specific_status_3 & 0x40 || xmtr_specific_status_3 & 0x80 || xmtr_specific_status_4 & 0x02)
  • {
  • set = 1;
  • return 1;
  • }
  • else
  • {
  • if (xmtr_specific_status_5 & 0x04 || xmtr_specific_status_5 & 0x20 || xmtr_specific_status_5 & 0x80 || xmtr_specific_status_9 & 0x02 || device_status & 0x01 || device_status & 0x02 || device_status & 0x04 || device_status & 0x08 || device_status & 0x20 || device_status & 0x80)
  • {
  • set = 1;
  • return 4;
  • }


Please login for more