![]() |
Morse Micro IoT SDK
2.9.7
|
Modules | |
| ntp configuration variables | |
Data Structures | |
| struct | mmagic_core_ntp_get_time_rsp_args |
| Response arguments structure for ntp_get_time. More... | |
Functions | |
| static enum mmagic_status | mmagic_controller_ntp_sync (struct mmagic_controller *controller) |
| Synchronizes internal time using the NTP server. More... | |
| static enum mmagic_status | mmagic_controller_ntp_get_time (struct mmagic_controller *controller, struct mmagic_core_ntp_get_time_rsp_args *rsp_args) |
| Reads current internal time. More... | |
|
inlinestatic |
Reads current internal time.
| controller | Reference to the controller handle. | |
| [out] | rsp_args | Pointer to the data structure to be filled out with the result. If the If the return code is not MMAGIC_STATUS_OK then the contents of this structure will be undefined. |
Definition at line 5442 of file mmagic_controller.h.
|
inlinestatic |
Synchronizes internal time using the NTP server.
| controller | Reference to the controller handle. |
Definition at line 5408 of file mmagic_controller.h.