Hi,
I have tried a few modules and I’m using the standard PCEI-Card-EVB to interface via USB connection. I tried but qmicli and straight AT commands but both did not get me even nmea data. Please help, thanks.
For AT commands:
AT+QGPS=1
OK
AT+QGPSLOC=0
+CME ERROR: 516
AT+CGMR
RM520NGLAAR01A07M4G
AT+QGMR
RM520NGLAAR01A07M4G_01.200.01.200
For qmi cli: (kept getting InvalidArgument for Register Events)
MdmNode true
GPS CID:3
StartGps true
[03 May 2024, 10:29:16] [Debug] [/dev/cdc-wdm1] opening device with flags ‘proxy, auto, expect-indications’…
[03 May 2024, 10:29:16] [Debug] [/dev/cdc-wdm1] automatically selecting QMI mode
[03 May 2024, 10:29:16] [Debug] [/dev/cdc-wdm1] created endpoint
[03 May 2024, 10:29:16] [Debug] [/dev/cdc-wdm1] sent message…
<<<<<< RAW:
<<<<<< length = 28
<<<<<< data = 01:1B:00:00:00:00:00:01:00:FF:10:00…
[03 May 2024, 10:29:16] [Debug] [/dev/cdc-wdm1] sent generic request (translated)…
<<<<<< QMUX:
<<<<<< length = 27
<<<<<< flags = 0x00
<<<<<< service = “ctl”
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = “none”
<<<<<< transaction = 1
<<<<<< tlv_length = 16
<<<<<< message = “Internal Proxy Open” (0xFF00)
<<<<<< TLV:
<<<<<< type = “Device Path” (0x01)
<<<<<< length = 13
<<<<<< value = 2F:64:65:76:2F:63:64:63:2D:77:64:6D:31
<<<<<< translated = /dev/cdc-wdm1
[03 May 2024, 10:29:16] [Debug] [/dev/cdc-wdm1] received message…
<<<<<< RAW:
<<<<<< length = 19
<<<<<< data = 01:12:00:80:00:00:01:01:00:FF:07:00…
[03 May 2024, 10:29:16] [Debug] [/dev/cdc-wdm1] received generic response (translated)…
<<<<<< QMUX:
<<<<<< length = 18
<<<<<< flags = 0x80
<<<<<< service = “ctl”
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = “response”
<<<<<< transaction = 1
<<<<<< tlv_length = 7
<<<<<< message = “Internal Proxy Open” (0xFF00)
<<<<<< TLV:
<<<<<< type = “Result” (0x02)
<<<<<< length = 4
<<<<<< value = 00:00:00:00
<<<<<< translated = SUCCESS
[03 May 2024, 10:29:16] [Debug] QMI Device at ‘/dev/cdc-wdm1’ ready
[03 May 2024, 10:29:16] [Debug] Reusing CID ‘3’
[03 May 2024, 10:29:16] [Debug] [/dev/cdc-wdm1] assuming service ‘loc’ is supported…
[03 May 2024, 10:29:16] [Debug] [/dev/cdc-wdm1] reusing client CID ‘3’…
[03 May 2024, 10:29:16] [Debug] [/dev/cdc-wdm1] registered ‘loc’ (version unknown) client with ID ‘3’
[03 May 2024, 10:29:16] [Debug] [/dev/cdc-wdm1] sent message…
<<<<<< RAW:
<<<<<< length = 24
<<<<<< data = 01:17:00:00:10:03:00:01:00:21:00:0B…
[03 May 2024, 10:29:16] [Debug] [/dev/cdc-wdm1] sent generic request (translated)…
<<<<<< QMUX:
<<<<<< length = 23
<<<<<< flags = 0x00
<<<<<< service = “loc”
<<<<<< client = 3
<<<<<< QMI:
<<<<<< flags = “none”
<<<<<< transaction = 1
<<<<<< tlv_length = 11
<<<<<< message = “Register Events” (0x0021)
<<<<<< TLV:
<<<<<< type = “Event Registration Mask” (0x01)
<<<<<< length = 8
<<<<<< value = 01:00:00:00:00:00:00:00
<<<<<< translated = position-report
[03 May 2024, 10:29:16] [Debug] [/dev/cdc-wdm1] received message…
<<<<<< RAW:
<<<<<< length = 20
<<<<<< data = 01:13:00:80:10:03:02:01:00:21:00:07…
[03 May 2024, 10:29:16] [Debug] [/dev/cdc-wdm1] received generic response (translated)…
<<<<<< QMUX:
<<<<<< length = 19
<<<<<< flags = 0x80
<<<<<< service = “loc”
<<<<<< client = 3
<<<<<< QMI:
<<<<<< flags = “response”
<<<<<< transaction = 1
<<<<<< tlv_length = 7
<<<<<< message = “Register Events” (0x0021)
<<<<<< TLV:
<<<<<< type = “Result” (0x02)
<<<<<< length = 4
<<<<<< value = 01:00:30:00
<<<<<< translated = FAILURE: InvalidArgument
[03 May 2024, 10:29:16] [Debug] [/dev/cdc-wdm1] releasing ‘loc’ client with flags ‘release-cid’…
[03 May 2024, 10:29:16] [Debug] [/dev/cdc-wdm1] unregistered ‘loc’ client with ID ‘3’
[03 May 2024, 10:29:16] [Debug] [/dev/cdc-wdm1] sent message…
<<<<<< RAW:
<<<<<< length = 17
<<<<<< data = 01:10:00:00:00:00:00:02:23:00:05:00…
[03 May 2024, 10:29:16] [Debug] [/dev/cdc-wdm1] sent generic request (translated)…
<<<<<< QMUX:
<<<<<< length = 16
<<<<<< flags = 0x00
<<<<<< service = “ctl”
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = “none”
<<<<<< transaction = 2
<<<<<< tlv_length = 5
<<<<<< message = “Release CID” (0x0023)
<<<<<< TLV:
<<<<<< type = “Release Info” (0x01)
<<<<<< length = 2
<<<<<< value = 10:03
<<<<<< translated = [ service = ‘loc’ cid = ‘3’ ]
[03 May 2024, 10:29:16] [Debug] [/dev/cdc-wdm1] received message…
<<<<<< RAW:
<<<<<< length = 24
<<<<<< data = 01:17:00:80:00:00:01:02:23:00:0C:00…
[03 May 2024, 10:29:16] [Debug] [/dev/cdc-wdm1] received generic response (translated)…
<<<<<< QMUX:
<<<<<< length = 23
<<<<<< flags = 0x80
<<<<<< service = “ctl”
<<<<<< client = 0
<<<<<< QMI:
<<<<<< flags = “response”
<<<<<< transaction = 2
<<<<<< tlv_length = 12
<<<<<< message = “Release CID” (0x0023)
<<<<<< TLV:
<<<<<< type = “Result” (0x02)
<<<<<< length = 4
<<<<<< value = 00:00:00:00
<<<<<< translated = SUCCESS
<<<<<< TLV:
<<<<<< type = “Release Info” (0x01)
<<<<<< length = 2
<<<<<< value = 10:03
<<<<<< translated = [ service = ‘loc’ cid = ‘3’ ]
[03 May 2024, 10:29:16] [Debug] Client released
[03 May 2024, 10:29:16] [Debug] Closed