Loading…
Loading…
Method Name: set_rtc_method
Method ID: 0x4090
Method Label: Zeit einstellen
Method Help: Stellt die Echtzeituhr im Gerät.
- {
- char status[3];
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- send(90,status);
- last_clock_date = current_date;
- last_clock_time = current_time;
- _get_dev_var_value(literal_string(6),0,4442);
- _get_dev_var_value(literal_string(1188),0,4443);
- time_set = 1;
- send(89,status);
- if (status[0] == 16)
- {
- _get_dev_var_value(literal_string(1186),0,16404);
- send_trans(150,2,status);
- send(89,status);
Please login for more