Searched refs:gps_time (Results 1 – 5 of 5) sorted by relevance
70 uint32_t gps_time; in ZTEST() local92 lorawan_clock_sync_get(&gps_time); in ZTEST()93 zassert_within(gps_time, k_uptime_seconds() + 1000, 1); in ZTEST()106 uint32_t gps_time; in ZTEST() local120 lorawan_clock_sync_get(&gps_time); in ZTEST()121 zassert_within(device_time, gps_time, 1); in ZTEST()
219 int lorawan_clock_sync_get(uint32_t *gps_time) in lorawan_clock_sync_get() argument221 __ASSERT(gps_time != NULL, "gps_time parameter is required"); in lorawan_clock_sync_get()224 *gps_time = k_uptime_seconds() + ctx.time_offset; in lorawan_clock_sync_get()
406 int lorawan_device_time_get(uint32_t *gps_time);436 int lorawan_clock_sync_get(uint32_t *gps_time);
423 int lorawan_device_time_get(uint32_t *gps_time) in lorawan_device_time_get() argument427 __ASSERT(gps_time != NULL, "gps_time parameter is required"); in lorawan_device_time_get()434 *gps_time = local_time.Seconds - UNIX_GPS_EPOCH_OFFSET; in lorawan_device_time_get()
4654 CMD_HANDLER("GpsTime: ", gps_time), in hl7800_rx()