RE: “bytes-rx” and “bytes-tx” statistics are not getting populated

Amol Lad Amol.Lad at 4rf.com
Thu Oct 10 09:30:04 UTC 2019


Hi Aleksander,

Is below log sufficient?

Oct 10 09:23:13 OpenWrt [6904]: [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<<   length = 48
<<<<<<   data   = 03:00:00:00:30:00:00:00:25:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:14:00:00:00:00:00:00:00:00:00:00:00
Oct 10 09:23:13 OpenWrt [6904]: [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< Header:
<<<<<<   length      = 48
<<<<<<   type        = command (0x00000003)
<<<<<<   transaction = 37
<<<<<< Fragment header:
<<<<<<   total   = 1
<<<<<<   current = 0
<<<<<< Contents:
<<<<<<   service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
<<<<<<   cid     = 'packet-statistics' (0x00000014)
<<<<<<   type    = 'query' (0x00000000)
Oct 10 09:23:13 OpenWrt [6904]: [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>>   length = 96
>>>>>>   data   = 03:00:00:80:60:00:00:00:25:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:14:00:00:00:00:00:00:00:30:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
Oct 10 09:23:13 OpenWrt [6904]: [/dev/cdc-wdm0] Received message (translated)...
>>>>>> Header:
>>>>>>   length      = 96
>>>>>>   type        = command-done (0x80000003)
>>>>>>   transaction = 37
>>>>>> Fragment header:
>>>>>>   total   = 1
>>>>>>   current = 0
>>>>>> Contents:
>>>>>>   status error = 'None' (0x00000000)
>>>>>>   service      = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>>   cid          = 'packet-statistics' (0x00000014)
>>>>>> Fields:
>>>>>>   InDiscards = '0'
>>>>>>   InErrors = '0'
>>>>>>   InOctets = '0'
>>>>>>   InPackets = '0'
>>>>>>   OutOctets = '0'
>>>>>>   OutPackets = '0'
>>>>>>   OutErrors = '0'
>>>>>>   OutDiscards = '0'
Oct 10 09:23:43 OpenWrt [6904]: <debug> [1570699423.409613] Signal quality value not updated in 60s, marking as not being recent
Oct 10 09:23:43 OpenWrt [6904]: [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<<   length = 48
<<<<<<   data   = 03:00:00:00:30:00:00:00:26:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:14:00:00:00:00:00:00:00:00:00:00:00
Oct 10 09:23:43 OpenWrt [6904]: [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< Header:
<<<<<<   length      = 48
<<<<<<   type        = command (0x00000003)
<<<<<<   transaction = 38
<<<<<< Fragment header:
<<<<<<   total   = 1
<<<<<<   current = 0
<<<<<< Contents:
<<<<<<   service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
<<<<<<   cid     = 'packet-statistics' (0x00000014)
<<<<<<   type    = 'query' (0x00000000)
Oct 10 09:23:43 OpenWrt [6904]: [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>>   length = 96
>>>>>>   data   = 03:00:00:80:60:00:00:00:26:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:14:00:00:00:00:00:00:00:30:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
Oct 10 09:23:43 OpenWrt [6904]: [/dev/cdc-wdm0] Received message (translated)...
>>>>>> Header:
>>>>>>   length      = 96
>>>>>>   type        = command-done (0x80000003)
>>>>>>   transaction = 38
>>>>>> Fragment header:
>>>>>>   total   = 1
>>>>>>   current = 0
>>>>>> Contents:
>>>>>>   status error = 'None' (0x00000000)
>>>>>>   service      = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>>   cid          = 'packet-statistics' (0x00000014)
>>>>>> Fields:
>>>>>>   InDiscards = '0'
>>>>>>   InErrors = '0'
>>>>>>   InOctets = '0'
>>>>>>   InPackets = '0'
>>>>>>   OutOctets = '0'
>>>>>>   OutPackets = '0'
>>>>>>   OutErrors = '0'
>>>>>>   OutDiscards = '0'
Oct 10 09:24:13 OpenWrt [6904]: [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<<   length = 48
<<<<<<   data   = 03:00:00:00:30:00:00:00:27:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:14:00:00:00:00:00:00:00:00:00:00:00
Oct 10 09:24:13 OpenWrt [6904]: [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< Header:
<<<<<<   length      = 48
<<<<<<   type        = command (0x00000003)
<<<<<<   transaction = 39
<<<<<< Fragment header:
<<<<<<   total   = 1
<<<<<<   current = 0
<<<<<< Contents:
<<<<<<   service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
<<<<<<   cid     = 'packet-statistics' (0x00000014)
<<<<<<   type    = 'query' (0x00000000)
Oct 10 09:24:13 OpenWrt [6904]: [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>>   length = 96
>>>>>>   data   = 03:00:00:80:60:00:00:00:27:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:14:00:00:00:00:00:00:00:30:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
Oct 10 09:24:13 OpenWrt [6904]: [/dev/cdc-wdm0] Received message (translated)...
>>>>>> Header:
>>>>>>   length      = 96
>>>>>>   type        = command-done (0x80000003)
>>>>>>   transaction = 39
>>>>>> Fragment header:
>>>>>>   total   = 1
>>>>>>   current = 0
>>>>>> Contents:
>>>>>>   status error = 'None' (0x00000000)
>>>>>>   service      = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>>   cid          = 'packet-statistics' (0x00000014)
>>>>>> Fields:
>>>>>>   InDiscards = '0'
>>>>>>   InErrors = '0'
>>>>>>   InOctets = '0'
>>>>>>   InPackets = '0'
>>>>>>   OutOctets = '0'
>>>>>>   OutPackets = '0'
>>>>>>   OutErrors = '0'
>>>>>>   OutDiscards = '0'
Oct 10 09:24:36 OpenWrt [6904]: [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>>   length = 64
>>>>>>   data   = 07:00:00:80:40:00:00:00:00:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:0B:00:00:00:14:00:00:00:08:00:00:00:63:00:00:00:05:00:00:00:02:00:00:00:FF:FF:FF:FF
Oct 10 09:24:36 OpenWrt [6904]: [/dev/cdc-wdm0] Received message (translated)...
>>>>>> Header:
>>>>>>   length      = 64
>>>>>>   type        = indicate-status (0x80000007)
>>>>>>   transaction = 0
>>>>>> Fragment header:
>>>>>>   total   = 1
>>>>>>   current = 0
>>>>>> Contents:
>>>>>>   service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>>   cid     = 'signal-state' (0x0000000b)
>>>>>> Fields:
>>>>>>   Rssi = '8'
>>>>>>   ErrorRate = '99'
>>>>>>   SignalStrengthInterval = '5'
>>>>>>   RssiThreshold = '2'
>>>>>>   ErrorRateThreshold = '4294967295'
Oct 10 09:24:36 OpenWrt [6904]: <debug> [1570699476.444474] Received notification (service 'basic-connect', command 'signal-state')
Oct 10 09:24:36 OpenWrt [6904]: <debug> [1570699476.444517] Signal state indication: 8 --> 25%
Oct 10 09:24:36 OpenWrt [6904]: <debug> [1570699476.444670] Modem /org/freedesktop/ModemManager1/Modem/0: signal quality updated (25)
Oct 10 09:24:38 OpenWrt [6904]: [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>>   length = 64
>>>>>>   data   = 07:00:00:80:40:00:00:00:00:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:0B:00:00:00:14:00:00:00:06:00:00:00:63:00:00:00:05:00:00:00:02:00:00:00:FF:FF:FF:FF
Oct 10 09:24:38 OpenWrt [6904]: [/dev/cdc-wdm0] Received message (translated)...
>>>>>> Header:
>>>>>>   length      = 64
>>>>>>   type        = indicate-status (0x80000007)
>>>>>>   transaction = 0
>>>>>> Fragment header:
>>>>>>   total   = 1
>>>>>>   current = 0
>>>>>> Contents:
>>>>>>   service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>>   cid     = 'signal-state' (0x0000000b)
>>>>>> Fields:
>>>>>>   Rssi = '6'
>>>>>>   ErrorRate = '99'
>>>>>>   SignalStrengthInterval = '5'
>>>>>>   RssiThreshold = '2'
>>>>>>   ErrorRateThreshold = '4294967295'
Oct 10 09:24:38 OpenWrt [6904]: <debug> [1570699478.847568] Received notification (service 'basic-connect', command 'signal-state')
Oct 10 09:24:38 OpenWrt [6904]: <debug> [1570699478.847609] Signal state indication: 6 --> 19%
Oct 10 09:24:38 OpenWrt [6904]: <debug> [1570699478.847747] Modem /org/freedesktop/ModemManager1/Modem/0: signal quality updated (19)
Oct 10 09:24:43 OpenWrt [6904]: [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<<   length = 48
<<<<<<   data   = 03:00:00:00:30:00:00:00:28:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:14:00:00:00:00:00:00:00:00:00:00:00
Oct 10 09:24:43 OpenWrt [6904]: [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< Header:
<<<<<<   length      = 48
<<<<<<   type        = command (0x00000003)
<<<<<<   transaction = 40
<<<<<< Fragment header:
<<<<<<   total   = 1
<<<<<<   current = 0
<<<<<< Contents:
<<<<<<   service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
<<<<<<   cid     = 'packet-statistics' (0x00000014)
<<<<<<   type    = 'query' (0x00000000)
Oct 10 09:24:43 OpenWrt [6904]: [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>>   length = 96
>>>>>>   data   = 03:00:00:80:60:00:00:00:28:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:14:00:00:00:00:00:00:00:30:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
Oct 10 09:24:43 OpenWrt [6904]: [/dev/cdc-wdm0] Received message (translated)...
>>>>>> Header:
>>>>>>   length      = 96
>>>>>>   type        = command-done (0x80000003)
>>>>>>   transaction = 40
>>>>>> Fragment header:
>>>>>>   total   = 1
>>>>>>   current = 0
>>>>>> Contents:
>>>>>>   status error = 'None' (0x00000000)
>>>>>>   service      = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>>   cid          = 'packet-statistics' (0x00000014)
>>>>>> Fields:
>>>>>>   InDiscards = '0'
>>>>>>   InErrors = '0'
>>>>>>   InOctets = '0'
>>>>>>   InPackets = '0'
>>>>>>   OutOctets = '0'
>>>>>>   OutPackets = '0'
>>>>>>   OutErrors = '0'
>>>>>>   OutDiscards = '0'
Oct 10 09:25:08 OpenWrt [6904]: [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>>   length = 64
>>>>>>   data   = 07:00:00:80:40:00:00:00:00:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:0B:00:00:00:14:00:00:00:08:00:00:00:63:00:00:00:05:00:00:00:02:00:00:00:FF:FF:FF:FF
Oct 10 09:25:08 OpenWrt [6904]: [/dev/cdc-wdm0] Received message (translated)...
>>>>>> Header:
>>>>>>   length      = 64
>>>>>>   type        = indicate-status (0x80000007)
>>>>>>   transaction = 0
>>>>>> Fragment header:
>>>>>>   total   = 1
>>>>>>   current = 0
>>>>>> Contents:
>>>>>>   service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>>   cid     = 'signal-state' (0x0000000b)
>>>>>> Fields:
>>>>>>   Rssi = '8'
>>>>>>   ErrorRate = '99'
>>>>>>   SignalStrengthInterval = '5'
>>>>>>   RssiThreshold = '2'
>>>>>>   ErrorRateThreshold = '4294967295'
Oct 10 09:25:08 OpenWrt [6904]: <debug> [1570699508.004348] Received notification (service 'basic-connect', command 'signal-state')
Oct 10 09:25:08 OpenWrt [6904]: <debug> [1570699508.004393] Signal state indication: 8 --> 25%
Oct 10 09:25:08 OpenWrt [6904]: <debug> [1570699508.004546] Modem /org/freedesktop/ModemManager1/Modem/0: signal quality updated (25)
Oct 10 09:25:13 OpenWrt [6904]: [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<<   length = 48
<<<<<<   data   = 03:00:00:00:30:00:00:00:29:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:14:00:00:00:00:00:00:00:00:00:00:00
Oct 10 09:25:13 OpenWrt [6904]: [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< Header:
<<<<<<   length      = 48
<<<<<<   type        = command (0x00000003)
<<<<<<   transaction = 41
<<<<<< Fragment header:
<<<<<<   total   = 1
<<<<<<   current = 0
<<<<<< Contents:
<<<<<<   service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
<<<<<<   cid     = 'packet-statistics' (0x00000014)
<<<<<<   type    = 'query' (0x00000000)
Oct 10 09:25:13 OpenWrt [6904]: [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>>   length = 96
>>>>>>   data   = 03:00:00:80:60:00:00:00:29:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:14:00:00:00:00:00:00:00:30:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
Oct 10 09:25:13 OpenWrt [6904]: [/dev/cdc-wdm0] Received message (translated)...
>>>>>> Header:
>>>>>>   length      = 96
>>>>>>   type        = command-done (0x80000003)
>>>>>>   transaction = 41
>>>>>> Fragment header:
>>>>>>   total   = 1
>>>>>>   current = 0
>>>>>> Contents:
>>>>>>   status error = 'None' (0x00000000)
>>>>>>   service      = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>>   cid          = 'packet-statistics' (0x00000014)
>>>>>> Fields:
>>>>>>   InDiscards = '0'
>>>>>>   InErrors = '0'
>>>>>>   InOctets = '0'
>>>>>>   InPackets = '0'
>>>>>>   OutOctets = '0'
>>>>>>   OutPackets = '0'
>>>>>>   OutErrors = '0'
>>>>>>   OutDiscards = '0'
Oct 10 09:25:16 OpenWrt [6904]: [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>>   length = 64
>>>>>>   data   = 07:00:00:80:40:00:00:00:00:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:0B:00:00:00:14:00:00:00:06:00:00:00:63:00:00:00:05:00:00:00:02:00:00:00:FF:FF:FF:FF
Oct 10 09:25:16 OpenWrt [6904]: [/dev/cdc-wdm0] Received message (translated)...
>>>>>> Header:
>>>>>>   length      = 64
>>>>>>   type        = indicate-status (0x80000007)
>>>>>>   transaction = 0
>>>>>> Fragment header:
>>>>>>   total   = 1
>>>>>>   current = 0
>>>>>> Contents:
>>>>>>   service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>>   cid     = 'signal-state' (0x0000000b)
>>>>>> Fields:
>>>>>>   Rssi = '6'
>>>>>>   ErrorRate = '99'
>>>>>>   SignalStrengthInterval = '5'
>>>>>>   RssiThreshold = '2'
>>>>>>   ErrorRateThreshold = '4294967295'
Oct 10 09:25:16 OpenWrt [6904]: <debug> [1570699516.972928] Received notification (service 'basic-connect', command 'signal-state')
Oct 10 09:25:16 OpenWrt [6904]: <debug> [1570699516.972970] Signal state indication: 6 --> 19%
Oct 10 09:25:16 OpenWrt [6904]: <debug> [1570699516.973114] Modem /org/freedesktop/ModemManager1/Modem/0: signal quality updated (19)
Oct 10 09:25:43 OpenWrt [6904]: [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<<   length = 48
<<<<<<   data   = 03:00:00:00:30:00:00:00:2A:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:14:00:00:00:00:00:00:00:00:00:00:00
Oct 10 09:25:43 OpenWrt [6904]: [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< Header:
<<<<<<   length      = 48
<<<<<<   type        = command (0x00000003)
<<<<<<   transaction = 42
<<<<<< Fragment header:
<<<<<<   total   = 1
<<<<<<   current = 0
<<<<<< Contents:
<<<<<<   service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
<<<<<<   cid     = 'packet-statistics' (0x00000014)
<<<<<<   type    = 'query' (0x00000000)
Oct 10 09:25:43 OpenWrt [6904]: [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>>   length = 96
>>>>>>   data   = 03:00:00:80:60:00:00:00:2A:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:14:00:00:00:00:00:00:00:30:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
Oct 10 09:25:43 OpenWrt [6904]: [/dev/cdc-wdm0] Received message (translated)...
>>>>>> Header:
>>>>>>   length      = 96
>>>>>>   type        = command-done (0x80000003)
>>>>>>   transaction = 42
>>>>>> Fragment header:
>>>>>>   total   = 1
>>>>>>   current = 0
>>>>>> Contents:
>>>>>>   status error = 'None' (0x00000000)
>>>>>>   service      = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>>   cid          = 'packet-statistics' (0x00000014)
>>>>>> Fields:
>>>>>>   InDiscards = '0'
>>>>>>   InErrors = '0'
>>>>>>   InOctets = '0'
>>>>>>   InPackets = '0'
>>>>>>   OutOctets = '0'
>>>>>>   OutPackets = '0'
>>>>>>   OutErrors = '0'
>>>>>>   OutDiscards = '0'
Oct 10 09:26:13 OpenWrt [6904]: [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<<   length = 48
<<<<<<   data   = 03:00:00:00:30:00:00:00:2B:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:14:00:00:00:00:00:00:00:00:00:00:00
Oct 10 09:26:13 OpenWrt [6904]: [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< Header:
<<<<<<   length      = 48
<<<<<<   type        = command (0x00000003)
<<<<<<   transaction = 43
<<<<<< Fragment header:
<<<<<<   total   = 1
<<<<<<   current = 0
<<<<<< Contents:
<<<<<<   service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
<<<<<<   cid     = 'packet-statistics' (0x00000014)
<<<<<<   type    = 'query' (0x00000000)
Oct 10 09:26:13 OpenWrt [6904]: [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>>   length = 96
>>>>>>   data   = 03:00:00:80:60:00:00:00:2B:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:14:00:00:00:00:00:00:00:30:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
Oct 10 09:26:13 OpenWrt [6904]: [/dev/cdc-wdm0] Received message (translated)...
>>>>>> Header:
>>>>>>   length      = 96
>>>>>>   type        = command-done (0x80000003)
>>>>>>   transaction = 43
>>>>>> Fragment header:
>>>>>>   total   = 1
>>>>>>   current = 0
>>>>>> Contents:
>>>>>>   status error = 'None' (0x00000000)
>>>>>>   service      = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>>   cid          = 'packet-statistics' (0x00000014)
>>>>>> Fields:
>>>>>>   InDiscards = '0'
>>>>>>   InErrors = '0'
>>>>>>   InOctets = '0'
>>>>>>   InPackets = '0'
>>>>>>   OutOctets = '0'
>>>>>>   OutPackets = '0'
>>>>>>   OutErrors = '0'
>>>>>>   OutDiscards = '0'
Oct 10 09:26:17 OpenWrt [6904]: <debug> [1570699577.383770] Signal quality value not updated in 60s, marking as not being recent
Oct 10 09:26:43 OpenWrt [6904]: [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<<   length = 48
<<<<<<   data   = 03:00:00:00:30:00:00:00:2C:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:14:00:00:00:00:00:00:00:00:00:00:00
Oct 10 09:26:43 OpenWrt [6904]: [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< Header:
<<<<<<   length      = 48
<<<<<<   type        = command (0x00000003)
<<<<<<   transaction = 44
<<<<<< Fragment header:
<<<<<<   total   = 1
<<<<<<   current = 0
<<<<<< Contents:
<<<<<<   service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
<<<<<<   cid     = 'packet-statistics' (0x00000014)
<<<<<<   type    = 'query' (0x00000000)
Oct 10 09:26:43 OpenWrt [6904]: [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>>   length = 96
>>>>>>   data   = 03:00:00:80:60:00:00:00:2C:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:14:00:00:00:00:00:00:00:30:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
Oct 10 09:26:43 OpenWrt [6904]: [/dev/cdc-wdm0] Received message (translated)...
>>>>>> Header:
>>>>>>   length      = 96
>>>>>>   type        = command-done (0x80000003)
>>>>>>   transaction = 44
>>>>>> Fragment header:
>>>>>>   total   = 1
>>>>>>   current = 0
>>>>>> Contents:
>>>>>>   status error = 'None' (0x00000000)
>>>>>>   service      = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>>   cid          = 'packet-statistics' (0x00000014)
>>>>>> Fields:
>>>>>>   InDiscards = '0'
>>>>>>   InErrors = '0'
>>>>>>   InOctets = '0'
>>>>>>   InPackets = '0'
>>>>>>   OutOctets = '0'
>>>>>>   OutPackets = '0'
>>>>>>   OutErrors = '0'
>>>>>>   OutDiscards = '0'
Oct 10 09:27:13 OpenWrt [6904]: [/dev/cdc-wdm0] Sent message...
<<<<<< RAW:
<<<<<<   length = 48
<<<<<<   data   = 03:00:00:00:30:00:00:00:2D:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:14:00:00:00:00:00:00:00:00:00:00:00
Oct 10 09:27:13 OpenWrt [6904]: [/dev/cdc-wdm0] Sent message (translated)...
<<<<<< Header:
<<<<<<   length      = 48
<<<<<<   type        = command (0x00000003)
<<<<<<   transaction = 45
<<<<<< Fragment header:
<<<<<<   total   = 1
<<<<<<   current = 0
<<<<<< Contents:
<<<<<<   service = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
<<<<<<   cid     = 'packet-statistics' (0x00000014)
<<<<<<   type    = 'query' (0x00000000)
Oct 10 09:27:13 OpenWrt [6904]: [/dev/cdc-wdm0] Received message...
>>>>>> RAW:
>>>>>>   length = 96
>>>>>>   data   = 03:00:00:80:60:00:00:00:2D:00:00:00:01:00:00:00:00:00:00:00:A2:89:CC:33:BC:BB:8B:4F:B6:B0:13:3E:C2:AA:E6:DF:14:00:00:00:00:00:00:00:30:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
Oct 10 09:27:13 OpenWrt [6904]: [/dev/cdc-wdm0] Received message (translated)...
>>>>>> Header:
>>>>>>   length      = 96
>>>>>>   type        = command-done (0x80000003)
>>>>>>   transaction = 45
>>>>>> Fragment header:
>>>>>>   total   = 1
>>>>>>   current = 0
>>>>>> Contents:
>>>>>>   status error = 'None' (0x00000000)
>>>>>>   service      = 'basic-connect' (a289cc33-bcbb-8b4f-b6b0-133ec2aae6df)
>>>>>>   cid          = 'packet-statistics' (0x00000014)
>>>>>> Fields:
>>>>>>   InDiscards = '0'
>>>>>>   InErrors = '0'
>>>>>>   InOctets = '0'
>>>>>>   InPackets = '0'
>>>>>>   OutOctets = '0'
>>>>>>   OutPackets = '0'
>>>>>>   OutErrors = '0'
>>>>>>   OutDiscards = '0'
root at OpenWrt:/#


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).-----Original Message-----
From: Aleksander Morgado <aleksander at aleksander.es>
Sent: Thursday, 10 October 2019 2:03 PM
To: Amol Lad <Amol.Lad at 4rf.com>
Cc: ModemManager (development) <modemmanager-devel at lists.freedesktop.org>
Subject: Re: “bytes-rx” and “bytes-tx” statistics are not getting populated

Hey,

> I’m using almost the latest modemmanager from master (commit hash:
> 0a85254d1765db6e55770d36e24b1e6349e789f4). I started noticing that the
> “bytes-rx” and “bytes-tx” statistics are never getting updated even
> though there is regular traffic (say ping). I’m not sure if anything
> has changed in this area as I remember seeing those stats not long
> back…

Nothing has changed lately as far as I can tell. Please provide a debug log from ModemManager to see if we're really doing the proper "Packet Statistics Query" via MBIM.

--
Aleksander
https://aleksander.es


More information about the ModemManager-devel mailing list