ModemManager mmcli



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:

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


Attachment: MM_status.txt
Description: Text document

Attachment: MM_Journal.txt
Description: Text document



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