fp6-img/aports/device/fp6-device-tweaks/modem-gnss-nmea-optional.conf

14 lines
788 B
Text
Raw Normal View History

# FP6 (milos): the modem LOC engine does not implement NMEA-type configuration
# at all -- both --loc-get-nmea-types and --loc-set-nmea-types return
# QMI protocol error (94) NotSupported. That is a permanent engine capability,
# not a boot race, so the unit's Restart=on-failure retried it every 30 s
# forever (StartLimitBurst=10/StartLimitInterval=300 never trips: 10 restarts
# at RestartSec=30 span ~303 s > 300 s). NMEA sentences are delivered by the
# engine regardless -- on-device fixes carry RMC.
#
# Tolerate the failure of that one command; a genuinely-not-up LOC service
# still fails the first ExecStart and keeps the intended boot-race retry.
[Service]
ExecStart=
ExecStart=qmicli -d qrtr://0 --loc-set-engine-lock=mt
ExecStart=-qmicli -d qrtr://0 --loc-set-nmea-types=all