AW: h5321gw Problem with --location-get

Thomas Lang thomas.lang at tactilo.eu
Thu Mar 23 07:47:19 UTC 2017


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?

Thomas

On Wed, 2017-03-22 at 22:14 -0500, Dan Williams wrote:
> On Wed, 2017-03-22 at 20:34 +0000, Thomas Lang wrote:
> > Hi,
> > I'm trying to get the cellId info from an Ericsson module. I'm using 
> > the modemmanager version 1.6.4.
> 
> What firmware version?
> 
> Is the firmware MBIM-mode or AT-mode?

I updated my HS2350 (rebranded h5321gw) to MBIM-enabled firmware R3C11 and tested it out.

The MBIM protocol does not give ModemManager the LAC/CI at all, so MM can't actually tell you any of that.  And it's a bug in ModemManager that it says MBIM devices actually have 3gpp-lac-ci capability; that should be removed.

In the case of the Ericsson devices though, they still present an AT port, so it's possible we could get that information via the AT port while still controlling the modem with MBIM.  Unfortunately though, that's not implemented.

If you can manage to flash it back to R1D08 or whatever is the pre-MBIM firmware, it'll get used as a normal "MBM" modem and that would allow LAC/CI presentation.

Dan

> Dan
> 
> > tactilo at VirtualBox001:~$ mmcli -m 0 --location-status
> > 
> > /org/freedesktop/ModemManager1/Modem/0
> >   ----------------------------
> >   Location |   capabilities: '3gpp-lac-ci'
> >            |        enabled: '3gpp-lac-ci'
> >            |        signals: 'no'
> > tactilo at VirtualBox001:~$ mmcli -m 0 --location-get
> > 
> > /org/freedesktop/ModemManager1/Modem/0
> >   -------------------------
> >   3GPP location   | Not available
> >   -------------------------
> >   GPS NMEA traces | Not available
> >   -------------------------
> >   Raw GPS         | Not available
> >   -------------------------
> >   CDMA BS         | Not available
> > 
> > As you can see from the logs the status says 3gpp-lac-ci is 
> > supported and enabled but the location-get function response with 
> > not available.
> > How can I get the 3gpp location?
> > Kind regards,
> > Thomas
> > 
> > _______________________________________________
> > ModemManager-devel mailing list
> > ModemManager-devel at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel
> 
> _______________________________________________
> ModemManager-devel mailing list
> ModemManager-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel


More information about the ModemManager-devel mailing list