Loading…
Loading…
Method Name: dp_temperature_method
Method ID: 0x40FC
Method Label: Temperature
Method Help:
- {
- char status[3];
- long var_id[2];
- int tmp_mode;
- float tmp_degC;
- _set_all_resp_code(0);
- _set_xmtr_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- send_command_trans(208,37);
- tmp_degC = _fvar_value(16706);
- _fassign(16709,tmp_degC * 1.8 + 32);
- var_id[0] = 16706;
- var_id[1] = 16709;
- acknowledge(literal_string(803),var_id);
Please login for more