Loading…

Method Name: view_xmtr_status

Method ID: 0x40F2

Method Label: Status anzeigen

Method Help: Zeigt alle aktiven Statusmeldungen.


  • {
  • char status[3];
  • char xmtr_status[25];
  • int num_retries;
  • int stat;
  • int x;
  • num_retries = 1;
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • do {
  • stat = get_more_status(status,xmtr_status);
  • if (status[0])
  • {
  • display_response_status(48,status[0]);
  • }
  • }
  • while (stat != 0 && num_retries++ <= 3);
  • 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);
  • }


Please login for more