|
Wirepas SDK
|
|
rtc_res_e RTC_getLocalTime(rtc_timestamp_t *now)
Get current expected RTC time with timezone from node.
provisioning_data_ids_e
List of Wirepas Ids for TLV encoded provisioning data.
rtc_res_e RTC_init(void)
Initialize the stack state library.
rtc_res_e RTC_removeInitializedCb(on_rtc_initialized callback)
Remove an event callback from the list. Removed item fields are all set to 0.
rtc_res_e RTC_getUTCTime(rtc_timestamp_t *now)
Get current expected RTC time from node.
rtc_res_e
List of return code.
rtc_res_e RTC_addInitializeCb(on_rtc_initialized callback)
Add a new callback to be informed when RTC time is available from network.
rtc_res_e RTC_getTimezoneOffsetInSeconds(long *timezoneOffsetInSeconds)
Get configured timezone offset of the node.
void(* on_rtc_initialized)(void)
Callback called the first time RTC time is aquired from network.