Home
last modified time | relevance | path

Searched refs:nav_mode (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/drivers/gnss/gnss_api/src/
Dtest_navigation_mode.c20 static bool test_set_nav_mode(enum gnss_navigation_mode nav_mode) in test_set_nav_mode() argument
24 ret = gnss_set_navigation_mode(dev, nav_mode); in test_set_nav_mode()
31 zassert_ok(ret, "failed to set navigation mode %u", nav_mode); in test_set_nav_mode()
35 static void test_validate_nav_mode(enum gnss_navigation_mode nav_mode) in test_validate_nav_mode() argument
44 zassert_ok(ret, "failed to get navigation mode %u", nav_mode); in test_validate_nav_mode()
49 enum gnss_navigation_mode nav_mode; in ZTEST() local
52 nav_mode = nav_modes[i]; in ZTEST()
54 if (!test_set_nav_mode(nav_mode)) { in ZTEST()
58 test_validate_nav_mode(nav_mode); in ZTEST()
/Zephyr-latest/drivers/gnss/
Dgnss_emul.c39 enum gnss_navigation_mode nav_mode; member
160 data->nav_mode = mode; in gnss_emul_set_navigation_mode()
169 *mode = data->nav_mode; in gnss_emul_get_navigation_mode()
493 .nav_mode = GNSS_EMUL_DEFAULT_NAV_MODE, \