Loading…
Loading…
Method Name: MthSetDateAndTimeRtc
Method ID: 0x4277
Method Label: Set Date and Time
Method Help: Sets device date & time setting yyyy-mm-dd hh:mm (Fct. C6.6.6)
- {
- char achCmdStatus[3];
- long ai32VariableIds[4];
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- send(90,achCmdStatus);
- if (achCmdStatus[0] != 0)
- {
- display_response_status(90,achCmdStatus[0]);
- }
- _get_dev_var_value(literal_string(1957),0,4442);
- _get_dev_var_value(literal_string(1958),0,4443);
- time_set = 1;
- send(89,achCmdStatus);
- if (achCmdStatus[0] != 0)
Please login for more