Loading…
Loading…
Method Name: MthSetDateAndTimeRtc
Method ID: 0x41EC
Method Label: Set Date and Time
Method Help: Sets device's date & time setting.
- {
- 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(2168),0,4442);
- _get_dev_var_value(literal_string(2169),0,4443);
- time_set = 1;
- send(89,achCmdStatus);
- if (achCmdStatus[0] != 0)
Please login for more