Re: ModemManager mmcli



On Fri, 2017-05-19 at 12:47 -0600, Phil Daum wrote:
Hi Dan,

We are trying to operate GPS routing application using:  mmcli -m 0
--location-get

We are issuing the command once per second, and have noticed some
failures
where the command either fails or provides no data:

Can you run:

mmcli -G DEBUG

and then reproduce the problem?  That'll get debug logs which will be
much more useful.

Also, the output of 'mmcli -m 0' would be good when the problem
happens, so we can see what state it's in.  Feel free to XXXX out
sensitive stuff like your IMEI, phone #, etc.

Dan

cr044# mmcli -m 0 --location-get

/org/freedesktop/ModemManager1/Modem/0
  -------------------------
  3GPP location   | Mobile country code: '302'
                  | Mobile network code: '610'
                  |  Location area code: '11204'
                  |             Cell ID: '79330668'
  -------------------------
  GPS NMEA traces | Not available
  -------------------------
  Raw GPS         | Not available
  -------------------------
  CDMA BS         | Not available
cr044 [mmcli -m 0 --location-get] ~

I've attached the journal and status and see there is quite a bit of
activity involving several client ID's.  The status shows our attempt
to
restart the service via: systemctl restart ModemManager seems to give
an
error of:

QMI protocol error (14): 'CallFailed'

I was wondering if this is an acceptable way of obtaining this GPS
info and
if the attached logs give an obvious reason for our failure.

Thanks in advance,
Phil
_______________________________________________
networkmanager-list mailing list
networkmanager-list gnome org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]