Home
last modified time | relevance | path

Searched refs:gnss_parse_atoi (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.7.0/drivers/gnss/
Dgnss_nmea0183.c280 if ((gnss_parse_atoi(argv[argc - 1], 16, &tmp) < 0) || in gnss_nmea0183_validate_message()
319 if ((gnss_parse_atoi(part, 10, &i32) < 0) || in gnss_nmea0183_parse_hhmmss()
328 if ((gnss_parse_atoi(part, 10, &i32) < 0) || in gnss_nmea0183_parse_hhmmss()
359 if ((gnss_parse_atoi(part, 10, &i32) < 0) || in gnss_nmea0183_parse_ddmmyy()
368 if ((gnss_parse_atoi(part, 10, &i32) < 0) || in gnss_nmea0183_parse_ddmmyy()
377 if ((gnss_parse_atoi(part, 10, &i32) < 0) || in gnss_nmea0183_parse_ddmmyy()
523 if ((gnss_parse_atoi(argv[7], 10, &tmp32) < 0) || in gnss_nmea0183_parse_gga()
558 if ((gnss_parse_atoi(svs[i].prn, 10, &i32) < 0) || in parse_gsv_svs()
566 if ((gnss_parse_atoi(svs[i].elevation, 10, &i32) < 0) || in parse_gsv_svs()
574 if ((gnss_parse_atoi(svs[i].azimuth, 10, &i32) < 0) || in parse_gsv_svs()
[all …]
Dgnss_parse.h63 int gnss_parse_atoi(const char *str, uint8_t base, int32_t *integer);
Dgnss_parse.c135 int gnss_parse_atoi(const char *str, uint8_t base, int32_t *integer) in gnss_parse_atoi() function
Dgnss_quectel_lcx6g.c362 if ((gnss_parse_atoi(argv[1], 10, &tmp) < 0) || (tmp < 0) || (tmp > 1000)) { in quectel_lcx6g_get_fix_rate_callback()
476 if ((gnss_parse_atoi(argv[1], 10, &tmp) < 0) || (tmp < 0) || (tmp > 7)) { in quectel_lcx6g_get_nav_mode_callback()
/Zephyr-Core-3.7.0/tests/drivers/gnss/gnss_parse/src/
Dmain.c38 zassert_ok(gnss_parse_atoi(atoi_samples[i].str, atoi_samples[i].base, &value), in ZTEST()
44 zassert_equal(gnss_parse_atoi("a10", 10, &value), -EINVAL, in ZTEST()
47 zassert_equal(gnss_parse_atoi("h#1c", 16, &value), -EINVAL, in ZTEST()