Loading…

Method Name: change_temperature_unit_method

Method ID: 0x456E

Method Label: Temperature Unit

Method Help:


  • {
  • char status[3];
  • int response;
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • response = SELECT_FROM_LIST(literal_string(1675),literal_string(1676));
  • if (response == 0)
  • {
  • temperature_unit = 32;
  • send(166,status);
  • process_abort();
  • }
  • if (response == 1)
  • {
  • temperature_unit = 33;
  • send(166,status);


Please login for more