Loading…
Loading…
方法名称: MthSetDateAndTimeRtc
方法ID: 0x41EC
方法标签: Set Date and Time
方法描述: 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)
请登录以获得完整内容