nuttx/arch/arm
raiden00pl 2bcc59b42f arch/nrf91: defer GNSS start until the modem is GNSS-capable
When the GNSS sensor is opened before the LTE stack has powered the modem
on, the modem is not yet in a GNSS-capable functional mode. Instead of
failing the activate with -EACCES, remember the request (priv->pending)
and let the GNSS thread poll the modem functional mode (AT+CFUN?) and
start GNSS once it becomes GNSS-capable. The LTE stack keeps ownership of
modem power.

Extract the configure/start sequence into nrf91_gnss_start() so it can be
used both from nrf91_gnss_enable() and from the thread's CFUN poll.

Signed-off-by: raiden00pl <raiden00@railab.me>
2026-06-14 18:53:15 +08:00
..
include !arch/stm32n6: unify non-standard hardware definition prefixes 2026-06-11 22:51:35 -03:00
src arch/nrf91: defer GNSS start until the modem is GNSS-capable 2026-06-14 18:53:15 +08:00
CMakeLists.txt arch/arm: migrate to SPDX identifier 2024-12-06 09:25:23 +08:00
Kconfig !arm/stm32: split legacy STM32 family selectors 2026-06-10 08:51:47 -03:00