|
Google Cloud IoT device SDK for embedded C
1.0.2
|
Go to the source code of this file.
Functions | |
| void | iotc_bsp_time_init () |
| iotc_time_t | iotc_bsp_time_getcurrenttime_seconds () |
| iotc_time_t | iotc_bsp_time_getcurrenttime_milliseconds () |
| iotc_time_t | iotc_bsp_time_getmonotonictime_milliseconds () |
Keeps time.
Use hardware or NTP servers to maintain an accurate clock. The SDK calls these functions to determine the:
Definition in file iotc_bsp_time.h.
| iotc_time_t iotc_bsp_time_getcurrenttime_milliseconds | ( | ) |
Gets the milliseconds since Epoch.
| iotc_time_t iotc_bsp_time_getcurrenttime_seconds | ( | ) |
Gets the seconds since Epoch.
| iotc_time_t iotc_bsp_time_getmonotonictime_milliseconds | ( | ) |
Gets the monotonic time in milliseconds.
| void iotc_bsp_time_init | ( | ) |
Initializes the platform-specific timekeeping requirements.