这页讲的是“GNSS 作为定位来源”。
在 nRF91 里,更稳的理解是:
nrf_modem_gnss.hlocation 库适合:
接口主线:
nrf_modem_gnss_start()nrf_modem_gnss_read()nrf_modem_gnss_fix_interval_set()location 库不是只做 GNSS,它可以组合:
LOCATION_METHOD_GNSSLOCATION_METHOD_CELLULAR如果只是学 nRF91 GNSS,本页先以 nrf_modem_gnss.h 为准。
nrf/samples/cellular/gnssnrf/samples/cellular/locationlocation_request() 和 nrf_modem_gnss_* 混成同一层 APInRF9151:<https://www.nordicsemi.com/Products/nRF9151>