AW: AW: AW: h5321gw Problem with --location-get

Thomas Lang thomas.lang at tactilo.eu
Mon Apr 3 11:00:48 UTC 2017


Hi,

I'm running the modem in qmi mode and tried --location-get without getting the cellID info. with creg? i can see it in the debug. Is there a chance to get the cellId with --location-get command with the 7710?



ModemManager[2166]: <debug> [1491216540.551249] [mm-port-serial.c:1237] mm_port_serial_open(): (ttyUSB2) device open count is 2 (open)
ModemManager[2166]: <debug> [1491216540.551347] [mm-port-serial-at.c:440] debug_log(): (ttyUSB2): --> 'AT+creg=2<CR>'
ModemManager[2166]: <debug> [1491216540.569126] [mm-port-serial-at.c:440] debug_log(): (ttyUSB2): <-- '<CR><LF>OK<CR><LF>'
ModemManager[2166]: <debug> [1491216540.569277] [mm-port-serial.c:1294] _close_internal(): (ttyUSB2) device open count is 1 (close)
ModemManager[2166]: <debug> [1491216555.911261] [mm-port-serial.c:1237] mm_port_serial_open(): (ttyUSB2) device open count is 2 (open)
ModemManager[2166]: <debug> [1491216555.911358] [mm-port-serial-at.c:440] debug_log(): (ttyUSB2): --> 'AT+creg?<CR>'
ModemManager[2166]: <debug> [1491216555.930613] [mm-port-serial-at.c:440] debug_log(): (ttyUSB2): <-- '<CR><LF>+CREG: 2,1,"03B9","0EAD5D1C",2<CR><LF><CR><LF>OK<CR><LF>'
ModemManager[2166]: <debug> [1491216555.930844] [mm-port-serial.c:1294] _close_internal(): (ttyUSB2) device open count is 1 (close)
ModemManager[2166]: <debug> [1491216564.282143] [mm-broadband-modem-qmi.c:2447] load_signal_quality(): loading signal quality...
ModemManager[2166]: [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<<   length = 13
<<<<<<   data   = 01:0C:00:00:03:02:00:0D:00:20:00:00:00
ModemManager[2166]: [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "nas"
<<<<<<   client  = 2
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 13
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Get Signal Strength" (0x0020)
ModemManager[2166]: [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>>   length = 25
>>>>>>   data   = 01:18:00:80:03:02:02:0D:00:20:00:0C:00:02:04:00:00:00:00:00:01:02:00:A8:05
ModemManager[2166]: [/dev/cdc-wdm0] Received message (translated)...
>>>>>> QMUX:
>>>>>>   length  = 24
>>>>>>   flags   = 0x80
>>>>>>   service = "nas"
>>>>>>   client  = 2
>>>>>> QMI:
>>>>>>   flags       = "response"
>>>>>>   transaction = 13
>>>>>>   tlv_length  = 12
>>>>>>   message     = "Get Signal Strength" (0x0020)
>>>>>> TLV:
>>>>>>   type       = "Result" (0x02)
>>>>>>   length     = 4
>>>>>>   value      = 00:00:00:00
>>>>>>   translated = SUCCESS
>>>>>> TLV:
>>>>>>   type       = "Signal Strength" (0x01)
>>>>>>   length     = 2
>>>>>>   value      = A8:05
>>>>>>   translated = [ strength = '-88' radio_interface = 'umts' ]
ModemManager[2166]: <debug> [1491216564.285067] [mm-broadband-modem-qmi.c:2337] signal_strength_get_quality_and_access_tech(): Signal strength (umts): -88 dBm
ModemManager[2166]: <debug> [1491216564.285113] [mm-broadband-modem-qmi.c:2370] signal_strength_get_quality_and_access_tech(): Signal strength: -88 dBm --> 41%
ModemManager[2166]: <debug> [1491216564.285266] [mm-iface-modem.c:1165] update_signal_quality(): Modem /org/freedesktop/ModemManager1/Modem/0: signal quality updated (41)
ModemManager[2166]: <debug> [1491216594.285595] [mm-broadband-modem-qmi.c:2447] load_signal_quality(): loading signal quality...
ModemManager[2166]: [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<<   length = 13
<<<<<<   data   = 01:0C:00:00:03:02:00:0E:00:20:00:00:00
ModemManager[2166]: [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "nas"
<<<<<<   client  = 2
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 14
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Get Signal Strength" (0x0020)
ModemManager[2166]: [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>>   length = 25
>>>>>>   data   = 01:18:00:80:03:02:02:0E:00:20:00:0C:00:02:04:00:00:00:00:00:01:02:00:A8:05
ModemManager[2166]: [/dev/cdc-wdm0] Received message (translated)...
>>>>>> QMUX:
>>>>>>   length  = 24
>>>>>>   flags   = 0x80
>>>>>>   service = "nas"
>>>>>>   client  = 2
>>>>>> QMI:
>>>>>>   flags       = "response"
>>>>>>   transaction = 14
>>>>>>   tlv_length  = 12
>>>>>>   message     = "Get Signal Strength" (0x0020)
>>>>>> TLV:
>>>>>>   type       = "Result" (0x02)
>>>>>>   length     = 4
>>>>>>   value      = 00:00:00:00
>>>>>>   translated = SUCCESS
>>>>>> TLV:
>>>>>>   type       = "Signal Strength" (0x01)
>>>>>>   length     = 2
>>>>>>   value      = A8:05
>>>>>>   translated = [ strength = '-88' radio_interface = 'umts' ]
ModemManager[2166]: <debug> [1491216594.290310] [mm-broadband-modem-qmi.c:2337] signal_strength_get_quality_and_access_tech(): Signal strength (umts): -88 dBm
ModemManager[2166]: <debug> [1491216594.290357] [mm-broadband-modem-qmi.c:2370] signal_strength_get_quality_and_access_tech(): Signal strength: -88 dBm --> 41%
ModemManager[2166]: <debug> [1491216594.290508] [mm-iface-modem.c:1165] update_signal_quality(): Modem /org/freedesktop/ModemManager1/Modem/0: signal quality updated (41)
ModemManager[2166]: <debug> [1491216624.305711] [mm-broadband-modem-qmi.c:2447] load_signal_quality(): loading signal quality...
ModemManager[2166]: [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<<   length = 13
<<<<<<   data   = 01:0C:00:00:03:02:00:0F:00:20:00:00:00
ModemManager[2166]: [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "nas"
<<<<<<   client  = 2
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 15
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Get Signal Strength" (0x0020)
ModemManager[2166]: [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>>   length = 25
>>>>>>   data   = 01:18:00:80:03:02:02:0F:00:20:00:0C:00:02:04:00:00:00:00:00:01:02:00:AB:05
ModemManager[2166]: [/dev/cdc-wdm0] Received message (translated)...
>>>>>> QMUX:
>>>>>>   length  = 24
>>>>>>   flags   = 0x80
>>>>>>   service = "nas"
>>>>>>   client  = 2
>>>>>> QMI:
>>>>>>   flags       = "response"
>>>>>>   transaction = 15
>>>>>>   tlv_length  = 12
>>>>>>   message     = "Get Signal Strength" (0x0020)
>>>>>> TLV:
>>>>>>   type       = "Result" (0x02)
>>>>>>   length     = 4
>>>>>>   value      = 00:00:00:00
>>>>>>   translated = SUCCESS
>>>>>> TLV:
>>>>>>   type       = "Signal Strength" (0x01)
>>>>>>   length     = 2
>>>>>>   value      = AB:05
>>>>>>   translated = [ strength = '-85' radio_interface = 'umts' ]
ModemManager[2166]: <debug> [1491216624.311323] [mm-broadband-modem-qmi.c:2337] signal_strength_get_quality_and_access_tech(): Signal strength (umts): -85 dBm
ModemManager[2166]: <debug> [1491216624.311906] [mm-broadband-modem-qmi.c:2370] signal_strength_get_quality_and_access_tech(): Signal strength: -85 dBm --> 46%
ModemManager[2166]: <debug> [1491216624.312588] [mm-iface-modem.c:1165] update_signal_quality(): Modem /org/freedesktop/ModemManager1/Modem/0: signal quality updated (46)
ModemManager[2166]: <debug> [1491216654.279275] [mm-broadband-modem-qmi.c:2447] load_signal_quality(): loading signal quality...
ModemManager[2166]: [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<<   length = 13
<<<<<<   data   = 01:0C:00:00:03:02:00:10:00:20:00:00:00
ModemManager[2166]: [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< QMUX:
<<<<<<   length  = 12
<<<<<<   flags   = 0x00
<<<<<<   service = "nas"
<<<<<<   client  = 2
<<<<<< QMI:
<<<<<<   flags       = "none"
<<<<<<   transaction = 16
<<<<<<   tlv_length  = 0
<<<<<<   message     = "Get Signal Strength" (0x0020)
ModemManager[2166]: [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>>   length = 25
>>>>>>   data   = 01:18:00:80:03:02:02:10:00:20:00:0C:00:02:04:00:00:00:00:00:01:02:00:A8:05
ModemManager[2166]: [/dev/cdc-wdm0] Received message (translated)...
>>>>>> QMUX:
>>>>>>   length  = 24
>>>>>>   flags   = 0x80
>>>>>>   service = "nas"
>>>>>>   client  = 2
>>>>>> QMI:
>>>>>>   flags       = "response"
>>>>>>   transaction = 16
>>>>>>   tlv_length  = 12
>>>>>>   message     = "Get Signal Strength" (0x0020)
>>>>>> TLV:
>>>>>>   type       = "Result" (0x02)
>>>>>>   length     = 4
>>>>>>   value      = 00:00:00:00
>>>>>>   translated = SUCCESS
>>>>>> TLV:
>>>>>>   type       = "Signal Strength" (0x01)
>>>>>>   length     = 2
>>>>>>   value      = A8:05
>>>>>>   translated = [ strength = '-88' radio_interface = 'umts' ]
ModemManager[2166]: <debug> [1491216654.281783] [mm-broadband-modem-qmi.c:2337] signal_strength_get_quality_and_access_tech(): Signal strength (umts): -88 dBm
ModemManager[2166]: <debug> [1491216654.281805] [mm-broadband-modem-qmi.c:2370] signal_strength_get_quality_and_access_tech(): Signal strength: -88 dBm --> 41%
ModemManager[2166]: <debug> [1491216654.281880] [mm-iface-modem.c:1165] update_signal_quality(): Modem /org/freedesktop/ModemManager1/Modem/0: signal quality updated (41)



________________________________
Von: Dan Williams <dcbw at redhat.com>
Gesendet: Freitag, 31. März 2017 18:34:00
An: Thomas Lang; Aleksander Morgado; ModemManager (development)
Betreff: Re: AW: AW: h5321gw Problem with --location-get

On Fri, 2017-03-31 at 07:23 +0000, Thomas Lang wrote:
> I will check this today.
> I tried a MC 7710 as well same problem --location-status gives that
> 3g location is enabled when I try --location-get I get not
> available.
> Does the MC 7710   have the same problem as the Ericsson one?

If it's running in MBIM mode, yes.  If it's in QMI or DirectIP, then no
(because it uses AT ports for the 3GPP registration checks and thus we
get LAC/CID with "AT+CREG=2; AT+CREG?").

Dan

> -----Ursprüngliche Nachricht-----
> Von: Aleksander Morgado [mailto:aleksander at aleksander.es]
> Gesendet: Donnerstag, 23. März 2017 13:01
> An: Thomas Lang <thomas.lang at tactilo.eu>; Dan Williams <dcbw at redhat.c
> om>; ModemManager (development) <modemmanager-devel at lists.freedesktop
> .org>
> Betreff: Re: AW: h5321gw Problem with --location-get
>
> 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
> _______________________________________________
> ModemManager-devel mailing list
> ModemManager-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20170403/4632ff5b/attachment-0001.html>


More information about the ModemManager-devel mailing list