03-10-2021, 04:02 AM
(03-09-2021, 08:31 PM)JimSmith80 Wrote: Anna, it looks like you are probably not imputing the correct modem number. Try running mmcli -L first. The output of that will give you the correct modem number. Running just mow on my phone mmcli -L output : /org/freedesktop/ModemManager1/Modem/1 [QUALCOMM INCORPORATED] QUECTEL Mobile Broadband Module. So I would run the following:
Code:mmcli -m 1 --location-enable-gps-raw --location-enable-gps-nmea
watch mmcli -m 1 --location-get
The modem number can change anytime any time the system goes to sleep or is rebooted. Hope that helps.
You can also be independent of modem number by using any :
mmcli -m any --location-enable-gps-raw --location-enable-gps-nmea