Hi Amol,

Il giorno mar 3 gen 2023 alle ore 06:36 Amol Lad <amol....@4rf.com> ha scritto:
>
> Hi,
>
> I get the following error when enabling NMEA in FN990 with MM 1.20.4 (It 
> comes with 1.18.6 as well). I do not recall seeing this with Telit LN920 so 
> looks like this is something FN990 specific. Please advise. (I'm using MBIM)
>
> # mmcli -m "$modem" --location-enable-gps-nmea
> error: couldn't setup location gathering: 
> 'GDBus.Error:org.freedesktop.libqmi.Error.Protocol.GeneralError: Couldn't 
> enable location 'gps-nmea' gathering: Couldn't start GPS engine: QMI protocol 
> error (46): 'GeneralError''
<snip>
> <debug> [1672723268.345371] [/dev/cdc-wdm0] sent generic request 
> (translated)...
> <<<<<< QMUX:
> <<<<<<   length  = 19
> <<<<<<   flags   = 0x00
> <<<<<<   service = "loc"
> <<<<<<   client  = 1
> <<<<<< QMI:
> <<<<<<   flags       = "none"
> <<<<<<   transaction = 4
> <<<<<<   tlv_length  = 7
> <<<<<<   message     = "Set NMEA Types" (0x003E)
> <<<<<< TLV:
> <<<<<<   type       = "NMEA Types" (0x01)
> <<<<<<   length     = 4
> <<<<<<   value      = 0D:00:02:00
> <<<<<<   translated = gga, gsv, gsa
>
> <debug> [1672723268.345445] [/dev/cdc-wdm0] sent message...
> <<<<<< RAW:
> <<<<<<   length = 68
> <<<<<<   data   = 03:00:00:00:44:00:00:00:3A:00:00:00...
>
> <debug> [1672723268.345621] [/dev/cdc-wdm0] sent message (translated)...
> <<<<<< Header:
> <<<<<<   length      = 68
> <<<<<<   type        = command (0x00000003)
> <<<<<<   transaction = 58
> <<<<<< Fragment header:
> <<<<<<   total   = 1
> <<<<<<   current = 0
> <<<<<< Contents:
> <<<<<<   service = 'qmi' (d1a30bc2-f97a-6e43-bf65-c7e24fb0f0d3)
> <<<<<<   cid     = 'msg' (0x00000001)
> <<<<<<   type    = 'set' (0x00000001)
> <<<<<< Fields:
> <<<<<<   QmiMsg = 
> '01:13:00:00:10:01:00:04:00:3e:00:07:00:01:04:00:0d:00:02:00'
>
> <debug> [1672723268.376601] [/dev/cdc-wdm0] received message...
> >>>>>> RAW:
> >>>>>>   length = 68
> >>>>>>   data   = 03:00:00:80:44:00:00:00:3A:00:00:00...
>
> <debug> [1672723268.376810] [/dev/cdc-wdm0] received message (translated)...
> >>>>>> Header:
> >>>>>>   length      = 68
> >>>>>>   type        = command-done (0x80000003)
> >>>>>>   transaction = 58
> >>>>>> Fragment header:
> >>>>>>   total   = 1
> >>>>>>   current = 0
> >>>>>> Contents:
> >>>>>>   status error = 'None' (0x00000000)
> >>>>>>   service      = 'qmi' (d1a30bc2-f97a-6e43-bf65-c7e24fb0f0d3)
> >>>>>>   cid          = 'msg' (0x00000001)
> >>>>>> Fields:
> >>>>>>   QMUX = '01:13:00:80:10:01:02:04:00:3e:00:07:00:02:04:00:01:00:73:00'
>
> <debug> [1672723268.376877] [/dev/cdc-wdm0] received message...
> <<<<<< RAW:
> <<<<<<   length = 20
> <<<<<<   data   = 01:13:00:80:10:01:02:04:00:3E:00:07...
>
> <debug> [1672723268.376982] [/dev/cdc-wdm0] received generic response 
> (translated)...
> <<<<<< QMUX:
> <<<<<<   length  = 19
> <<<<<<   flags   = 0x80
> <<<<<<   service = "loc"
> <<<<<<   client  = 1
> <<<<<< QMI:
> <<<<<<   flags       = "response"
> <<<<<<   transaction = 4
> <<<<<<   tlv_length  = 7
> <<<<<<   message     = "Set NMEA Types" (0x003E)
> <<<<<< TLV:
> <<<<<<   type       = "Result" (0x02)
> <<<<<<   length     = 4
> <<<<<<   value      = 01:00:73:00
> <<<<<<   translated = FAILURE: NoPermission
>
> <warn>  [1672723268.377384] [modem0] couldn't setup required NMEA traces: QMI 
> protocol error (115): 'NoPermission'

I can't check right now on the target, but this and the start error
are probably related to the control point not registered as the master
client.

I suggest to file a ticket with Telit technical support to deal with this.

Regards,
Daniele

> <debug> [1672723268.377493] [/dev/cdc-wdm0] sent message...
> <<<<<< RAW:
> <<<<<<   length = 38
> <<<<<<   data   = 01:25:00:00:10:01:00:05:00:22:00:19...
>
> <debug> [1672723268.377685] [/dev/cdc-wdm0] sent generic request 
> (translated)...
> <<<<<< QMUX:
> <<<<<<   length  = 37
> <<<<<<   flags   = 0x00
> <<<<<<   service = "loc"
> <<<<<<   client  = 1
> <<<<<< QMI:
> <<<<<<   flags       = "none"
> <<<<<<   transaction = 5
> <<<<<<   tlv_length  = 25
> <<<<<<   message     = "Start" (0x0022)
> <<<<<< TLV:
> <<<<<<   type       = "Minimum Interval between Position Reports" (0x13)
> <<<<<<   length     = 4
> <<<<<<   value      = E8:03:00:00
> <<<<<<   translated = 1000
> <<<<<< TLV:
> <<<<<<   type       = "Intermediate Report State" (0x12)
> <<<<<<   length     = 4
> <<<<<<   value      = 02:00:00:00
> <<<<<<   translated = disable
> <<<<<< TLV:
> <<<<<<   type       = "Fix Recurrence Type" (0x10)
> <<<<<<   length     = 4
> <<<<<<   value      = 01:00:00:00
> <<<<<<   translated = periodic-fixes
> <<<<<< TLV:
> <<<<<<   type       = "Session ID" (0x01)
> <<<<<<   length     = 1
> <<<<<<   value      = 10
> <<<<<<   translated = 16
>
> <debug> [1672723268.377846] [/dev/cdc-wdm0] sent message...
> <<<<<< RAW:
> <<<<<<   length = 86
> <<<<<<   data   = 03:00:00:00:56:00:00:00:3B:00:00:00...
>
> <debug> [1672723268.378097] [/dev/cdc-wdm0] sent message (translated)...
> <<<<<< Header:
> <<<<<<   length      = 86
> <<<<<<   type        = command (0x00000003)
> <<<<<<   transaction = 59
> <<<<<< Fragment header:
> <<<<<<   total   = 1
> <<<<<<   current = 0
> <<<<<< Contents:
> <<<<<<   service = 'qmi' (d1a30bc2-f97a-6e43-bf65-c7e24fb0f0d3)
> <<<<<<   cid     = 'msg' (0x00000001)
> <<<<<<   type    = 'set' (0x00000001)
> <<<<<< Fields:
> <<<<<<   QmiMsg = 
> '01:25:00:00:10:01:00:05:00:22:00:19:00:13:04:00:e8:03:00:00:12:04:00:02:00:00:00:10:04:00:01:00:00:00:01:01:00:10'
>
> <debug> [1672723268.408901] [/dev/cdc-wdm0] received message...
> >>>>>> RAW:
> >>>>>>   length = 68
> >>>>>>   data   = 03:00:00:80:44:00:00:00:3B:00:00:00...
>
> <debug> [1672723268.409098] [/dev/cdc-wdm0] received message (translated)...
> >>>>>> Header:
> >>>>>>   length      = 68
> >>>>>>   type        = command-done (0x80000003)
> >>>>>>   transaction = 59
> >>>>>> Fragment header:
> >>>>>>   total   = 1
> >>>>>>   current = 0
> >>>>>> Contents:
> >>>>>>   status error = 'None' (0x00000000)
> >>>>>>   service      = 'qmi' (d1a30bc2-f97a-6e43-bf65-c7e24fb0f0d3)
> >>>>>>   cid          = 'msg' (0x00000001)
> >>>>>> Fields:
> >>>>>>   QMUX = '01:13:00:80:10:01:02:05:00:22:00:07:00:02:04:00:01:00:2e:00'
>
> <debug> [1672723268.409164] [/dev/cdc-wdm0] received message...
> <<<<<< RAW:
> <<<<<<   length = 20
> <<<<<<   data   = 01:13:00:80:10:01:02:05:00:22:00:07...
>
> <debug> [1672723268.409267] [/dev/cdc-wdm0] received generic response 
> (translated)...
> <<<<<< QMUX:
> <<<<<<   length  = 19
> <<<<<<   flags   = 0x80
> <<<<<<   service = "loc"
> <<<<<<   client  = 1
> <<<<<< QMI:
> <<<<<<   flags       = "response"
> <<<<<<   transaction = 5
> <<<<<<   tlv_length  = 7
> <<<<<<   message     = "Start" (0x0022)
> <<<<<< TLV:
> <<<<<<   type       = "Result" (0x02)
> <<<<<<   length     = 4
> <<<<<<   value      = 01:00:2E:00
> <<<<<<   translated = FAILURE: GeneralError
>
> <debug> [1672723268.440820] [/dev/cdc-wdm0] received message...
> >>>>>> RAW:
> >>>>>>   length = 68
> >>>>>>   data   = 07:00:00:80:44:00:00:00:00:00:00:00...
>
> <debug> [1672723268.441038] [/dev/cdc-wdm0] received message (translated)...
> >>>>>> Header:
> >>>>>>   length      = 68
> >>>>>>   type        = indicate-status (0x80000007)
> >>>>>>   transaction = 0
> >>>>>> Fragment header:
> >>>>>>   total   = 1
> >>>>>>   current = 0
> >>>>>> Contents:
> >>>>>>   service = 'qmi' (d1a30bc2-f97a-6e43-bf65-c7e24fb0f0d3)
> >>>>>>   cid     = 'msg' (0x00000001)
> >>>>>> Fields:
> >>>>>>   QMUX = 
> >>>>>> '01:17:00:80:10:01:04:04:00:24:00:0b:00:01:04:00:07:00:00:00:02:01:00:00'
>
> <debug> [1672723268.441141] [/dev/cdc-wdm0] received message...
> <<<<<< RAW:
> <<<<<<   length = 24
> <<<<<<   data   = 01:17:00:80:10:01:04:04:00:24:00:0B...
>
> <debug> [1672723268.441254] [/dev/cdc-wdm0] received generic indication 
> (translated)...
> <<<<<< QMUX:
> <<<<<<   length  = 23
> <<<<<<   flags   = 0x80
> <<<<<<   service = "loc"
> <<<<<<   client  = 1
> <<<<<< QMI:
> <<<<<<   flags       = "indication"
> <<<<<<   transaction = 4
> <<<<<<   tlv_length  = 11
> <<<<<<   message     = (0x0024)
> <<<<<< TLV:
> <<<<<<   type   = 0x01
> <<<<<<   length = 4
> <<<<<<   value  = 07:00:00:00
> <<<<<< TLV:
> <<<<<<   type   = 0x02
> <<<<<<   length = 1
> <<<<<<   value  = 00
>
>
>
>
>
> ________________________________
> The information in this email communication (inclusive of attachments) is 
> confidential to 4RF Limited and the intended recipient(s). If you are not the 
> intended recipient(s), please note that any use, disclosure, distribution or 
> copying of this information or any part thereof is strictly prohibited and 
> that the author accepts no liability for the consequences of any action taken 
> on the basis of the information provided. If you have received this email in 
> error, please notify the sender immediately by return email and then delete 
> all instances of this email from your system. 4RF Limited will not accept 
> responsibility for any consequences associated with the use of this email 
> (including, but not limited to, damages sustained as a result of any viruses 
> and/or any action or lack of action taken in reliance on it).

Reply via email to