Searched refs:gnss_nmea0183_ddmm_mmmm_to_ndeg (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/drivers/gnss/ |
D | gnss_nmea0183.h | 59 int gnss_nmea0183_ddmm_mmmm_to_ndeg(const char *ddmm_mmmm, int64_t *ndeg);
|
D | gnss_nmea0183.c | 166 int gnss_nmea0183_ddmm_mmmm_to_ndeg(const char *ddmm_mmmm, int64_t *ndeg) in gnss_nmea0183_ddmm_mmmm_to_ndeg() function 419 if ((gnss_nmea0183_ddmm_mmmm_to_ndeg(argv[3], &data->nav_data.latitude) < 0) || in gnss_nmea0183_parse_rmc() 420 (gnss_nmea0183_ddmm_mmmm_to_ndeg(argv[5], &data->nav_data.longitude) < 0)) { in gnss_nmea0183_parse_rmc()
|
/Zephyr-latest/tests/drivers/gnss/gnss_nmea0183/src/ |
D | main.c | 41 zassert_ok(gnss_nmea0183_ddmm_mmmm_to_ndeg(ddmm_mmmm_samples[i].ddmm_mmmm, &ndeg), in ZTEST() 51 zassert_equal(gnss_nmea0183_ddmm_mmmm_to_ndeg("99.0000", &ndeg), -EINVAL, in ZTEST() 54 zassert_equal(gnss_nmea0183_ddmm_mmmm_to_ndeg("60.0000", &ndeg), -EINVAL, in ZTEST() 58 zassert_equal(gnss_nmea0183_ddmm_mmmm_to_ndeg("18000", &ndeg), -EINVAL, in ZTEST() 62 zassert_equal(gnss_nmea0183_ddmm_mmmm_to_ndeg("900#.0a000", &ndeg), -EINVAL, in ZTEST() 66 zassert_equal(gnss_nmea0183_ddmm_mmmm_to_ndeg("-18000.0", &ndeg), -EINVAL, in ZTEST()
|