Lines Matching full:utc
305 int gnss_nmea0183_parse_hhmmss(const char *hhmmss, struct gnss_time *utc) in gnss_nmea0183_parse_hhmmss() argument
312 __ASSERT(utc != NULL, "utc argument must be provided"); in gnss_nmea0183_parse_hhmmss()
325 utc->hour = (uint8_t)i32; in gnss_nmea0183_parse_hhmmss()
334 utc->minute = (uint8_t)i32; in gnss_nmea0183_parse_hhmmss()
342 utc->millisecond = (uint16_t)i64; in gnss_nmea0183_parse_hhmmss()
346 int gnss_nmea0183_parse_ddmmyy(const char *ddmmyy, struct gnss_time *utc) in gnss_nmea0183_parse_ddmmyy() argument
352 __ASSERT(utc != NULL, "utc argument must be provided"); in gnss_nmea0183_parse_ddmmyy()
365 utc->month_day = (uint8_t)i32; in gnss_nmea0183_parse_ddmmyy()
374 utc->month = (uint8_t)i32; in gnss_nmea0183_parse_ddmmyy()
383 utc->century_year = (uint8_t)i32; in gnss_nmea0183_parse_ddmmyy()
407 /* Parse UTC time */ in gnss_nmea0183_parse_rmc()
408 if ((gnss_nmea0183_parse_hhmmss(argv[1], &data->utc) < 0)) { in gnss_nmea0183_parse_rmc()
450 /* Parse UTC date */ in gnss_nmea0183_parse_rmc()
451 if ((gnss_nmea0183_parse_ddmmyy(argv[9], &data->utc) < 0)) { in gnss_nmea0183_parse_rmc()