AW: h5321gw Problem with --location-get

Aleksander Morgado aleksander at aleksander.es
Thu Mar 23 12:00:55 UTC 2017


On 23/03/17 08:47, Thomas Lang wrote:
> Hmm. I tried at+CREG? To get the CellInfo. But I the response is empty. In the Debug the info is present:
> 
> ModemManager[3184]: <debug> [1490255043.880383] [mm-port-serial.c:1237] mm_port_serial_open(): (cdc-wdm2) device open count is 2 (open)
> ModemManager[3184]: <debug> [1490255043.880449] [mm-port-serial-at.c:440] debug_log(): (cdc-wdm2): --> 'AT+CREG?<CR><LF>'
> ModemManager[3184]: <debug> [1490255043.917955] [mm-port-serial-at.c:440] debug_log(): (cdc-wdm2): <-- '<CR><LF>+CREG: 2,1,"03B9","0EAD5D18",2<CR><LF><CR><LF>OK<CR><LF>'
> ModemManager[3184]: <debug> [1490255043.918155] [mm-port-serial.c:1294] _close_internal(): (cdc-wdm2) device open count is 1 (close)
> 
> Can I use the mmcli -m 0 --commnad=+CREG?

That is expected, because the response is processed by the unsolicited
message handlers, so you just get an empty string as return.

Do you see any 3GPP location info reported by mmcli --location-get-3gpp
after having sent +CREG with --command?

-- 
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list