<div dir="ltr"><div>Hi,</div><div><br></div><div>Noted an "GLib-CRITICAL" when printing "nas-get-system-info" with verbose as below, that might be of interest. I am using libqmi 1.22.4 (maybe this is something that is already fixed?)</div><div><br></div><div>Just let me know if I should upgrade libqmi and try again.</div><div><br></div><div>Regards,</div><div>Sebastian<br></div><div><br></div><div>root@FM150NA:~/scripts# qmicli -d /dev/cdc-wdm0 --nas-get-system-info<br>[/dev/cdc-wdm0] Successfully got system info:<br>     WCDMA service:<br>                Status: 'none'<br>                True Status: 'none'<br>           Preferred data path: 'no'<br>     LTE service:<br>          Status: 'none'<br>                True Status: 'none'<br>           Preferred data path: 'no'<br>     SIM reject info: 'available'<br>root@FM150NA:~/scripts# qmicli -d /dev/cdc-wdm0 --dms-get-capabilities<br><br>(qmicli:14861): GLib-CRITICAL **: 04:41:02.424: g_string_insert_len: assertion 'len == 0 || val != NULL' failed<br>[/dev/cdc-wdm0] Device capabilities retrieved:<br>       Max TX channel rate: '50000000'<br>       Max RX channel rate: '100000000'<br>             Data Service: 'non-simultaneous-cs-ps'<br>                      SIM: 'supported'<br>                 Networks: 'umts, lte, '<br>root@FM150NA:~/scripts# qmicli -d /dev/cdc-wdm0 --dms-get-capabilities --verbose<br>[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] Opening device with flags 'auto'...<br>[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] loaded driver of cdc-wdm port: qmi_wwan<br>[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] automatically selecting QMI mode<br>[21 Jan 2020, 04:41:26] [Debug] QMI Device at '/dev/cdc-wdm0' ready<br>[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] Assuming service 'dms' is supported...<br>[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] Allocating new client ID...<br>[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] sent message...<br><<<<<< RAW:<br><<<<<<   length = 16<br><<<<<<   data   = 01:0F:00:00:00:00:00:01:22:00:04:00:01:01:00:02<br><br>[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] sent generic request (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 15<br><<<<<<   flags   = 0x00<br><<<<<<   service = "ctl"<br><<<<<<   client  = 0<br><<<<<< QMI:<br><<<<<<   flags       = "none"<br><<<<<<   transaction = 1<br><<<<<<   tlv_length  = 4<br><<<<<<   message     = "Allocate CID" (0x0022)<br><<<<<< TLV:<br><<<<<<   type       = "Service" (0x01)<br><<<<<<   length     = 1<br><<<<<<   value      = 02<br><<<<<<   translated = dms<br><br>[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] received message...<br><<<<<< RAW:<br><<<<<<   length = 24<br><<<<<<   data   = 01:17:00:80:00:00:01:01:22:00:0C:00:02:04:00:00:00:00:00:01:02:00:02:03<br><br>[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] received generic response (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 23<br><<<<<<   flags   = 0x80<br><<<<<<   service = "ctl"<br><<<<<<   client  = 0<br><<<<<< QMI:<br><<<<<<   flags       = "response"<br><<<<<<   transaction = 1<br><<<<<<   tlv_length  = 12<br><<<<<<   message     = "Allocate CID" (0x0022)<br><<<<<< TLV:<br><<<<<<   type       = "Result" (0x02)<br><<<<<<   length     = 4<br><<<<<<   value      = 00:00:00:00<br><<<<<<   translated = SUCCESS<br><<<<<< TLV:<br><<<<<<   type       = "Allocation Info" (0x01)<br><<<<<<   length     = 2<br><<<<<<   value      = 02:03<br><<<<<<   translated = [ service = 'dms' cid = '3' ]<br><br>[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] Registered 'dms' (version unknown) client with ID '3'<br>[21 Jan 2020, 04:41:26] [Debug] Asynchronously getting capabilities...<br>[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] sent message...<br><<<<<< RAW:<br><<<<<<   length = 13<br><<<<<<   data   = 01:0C:00:00:02:03:00:01:00:20:00:00:00<br><br>[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] sent generic request (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 12<br><<<<<<   flags   = 0x00<br><<<<<<   service = "dms"<br><<<<<<   client  = 3<br><<<<<< QMI:<br><<<<<<   flags       = "none"<br><<<<<<   transaction = 1<br><<<<<<   tlv_length  = 0<br><<<<<<   message     = "Get Capabilities" (0x0020)<br><br>[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] received message...<br><<<<<< RAW:<br><<<<<<   length = 306<br><<<<<<   data   = 01:31:01:80:02:03:02:01:00:20:00:25:01:02:04:00:00:00:00:00:01:0E:00:80:F0:FA:02:00:E1:F5:05:04:02:03:05:08:0A:10:04:00:04:00:00:00:11:08:00:03:00:00:00:00:00:00:00:12:08:00:00:00:00:00:00:00:00:00:13:26:00:02:02:01:02:B0:00:00:00:00:00:00:00:B0:00:00:00:00:00:00:00:01:02:B0:00:00:00:00:00:00:00:B0:00:00:00:00:00:00:00:14:02:00:02:01:15:11:00:02:B0:00:00:00:00:00:00:00:30:00:00:00:00:00:00:00:16:0B:00:02:01:00:00:00:00:01:00:00:00:00:17:09:00:02:00:00:00:00:00:00:00:00:18:01:00:02:19:11:00:02:B0:00:00:00:00:00:00:00:B0:00:00:00:00:00:00:00:1A:26:00:02:02:02:02:B0:00:00:00:00:00:00:00:B0:00:00:00:00:00:00:00:02:B0:00:00:00:00:00:00:00:B0:00:00:00:00:00:00:00:00:1B:02:00:FF:FF:1C:0B:00:02:01:00:00:00:01:02:00:00:00:00:1D:01:00:02:1E:39:00:02:01:00:00:00:00:00:00:00:06:00:00:00:FF:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:02:00:00:00:00:00:00:00:06:00:00:00:FF:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00<br><br>[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] received generic response (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 305<br><<<<<<   flags   = 0x80<br><<<<<<   service = "dms"<br><<<<<<   client  = 3<br><<<<<< QMI:<br><<<<<<   flags       = "response"<br><<<<<<   transaction = 1<br><<<<<<   tlv_length  = 293<br><<<<<<   message     = "Get Capabilities" (0x0020)<br><<<<<< TLV:<br><<<<<<   type       = "Result" (0x02)<br><<<<<<   length     = 4<br><<<<<<   value      = 00:00:00:00<br><<<<<<   translated = SUCCESS<br><<<<<< TLV:<br><<<<<<   type       = "Info" (0x01)<br><<<<<<   length     = 14<br><<<<<<   value      = 80:F0:FA:02:00:E1:F5:05:04:02:03:05:08:0A<br><<<<<<   translated = [ max_tx_channel_rate = '50000000' max_rx_channel_rate = '100000000' data_service_capability = 'non-simultaneous-cs-ps' sim_capability = 'supported' radio_interface_list = '{ [0] = 'umts ' [1] = 'lte ' [2] = '(null) '}' ]<br><<<<<< TLV:<br><<<<<<   type   = 0x10<br><<<<<<   length = 4<br><<<<<<   value  = 04:00:00:00<br><<<<<< TLV:<br><<<<<<   type   = 0x11<br><<<<<<   length = 8<br><<<<<<   value  = 03:00:00:00:00:00:00:00<br><<<<<< TLV:<br><<<<<<   type   = 0x12<br><<<<<<   length = 8<br><<<<<<   value  = 00:00:00:00:00:00:00:00<br><<<<<< TLV:<br><<<<<<   type   = 0x13<br><<<<<<   length = 38<br><<<<<<   value  = 02:02:01:02:B0:00:00:00:00:00:00:00:B0:00:00:00:00:00:00:00:01:02:B0:00:00:00:00:00:00:00:B0:00:00:00:00:00:00:00<br><<<<<< TLV:<br><<<<<<   type   = 0x14<br><<<<<<   length = 2<br><<<<<<   value  = 02:01<br><<<<<< TLV:<br><<<<<<   type   = 0x15<br><<<<<<   length = 17<br><<<<<<   value  = 02:B0:00:00:00:00:00:00:00:30:00:00:00:00:00:00:00<br><<<<<< TLV:<br><<<<<<   type   = 0x16<br><<<<<<   length = 11<br><<<<<<   value  = 02:01:00:00:00:00:01:00:00:00:00<br><<<<<< TLV:<br><<<<<<   type   = 0x17<br><<<<<<   length = 9<br><<<<<<   value  = 02:00:00:00:00:00:00:00:00<br><<<<<< TLV:<br><<<<<<   type   = 0x18<br><<<<<<   length = 1<br><<<<<<   value  = 02<br><<<<<< TLV:<br><<<<<<   type   = 0x19<br><<<<<<   length = 17<br><<<<<<   value  = 02:B0:00:00:00:00:00:00:00:B0:00:00:00:00:00:00:00<br><<<<<< TLV:<br><<<<<<   type   = 0x1a<br><<<<<<   length = 38<br><<<<<<   value  = 02:02:02:02:B0:00:00:00:00:00:00:00:B0:00:00:00:00:00:00:00:02:B0:00:00:00:00:00:00:00:B0:00:00:00:00:00:00:00:00<br><<<<<< TLV:<br><<<<<<   type   = 0x1b<br><<<<<<   length = 2<br><<<<<<   value  = FF:FF<br><<<<<< TLV:<br><<<<<<   type   = 0x1c<br><<<<<<   length = 11<br><<<<<<   value  = 02:01:00:00:00:01:02:00:00:00:00<br><<<<<< TLV:<br><<<<<<   type   = 0x1d<br><<<<<<   length = 1<br><<<<<<   value  = 02<br><<<<<< TLV:<br><<<<<<   type   = 0x1e<br><<<<<<   length = 57<br><<<<<<   value  = 02:01:00:00:00:00:00:00:00:06:00:00:00:FF:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:02:00:00:00:00:00:00:00:06:00:00:00:FF:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00<br><br><br>(qmicli:14864): GLib-CRITICAL **: 04:41:26.236: g_string_insert_len: assertion 'len == 0 || val != NULL' failed<br>[/dev/cdc-wdm0] Device capabilities retrieved:<br> Max TX channel rate: '50000000'<br>       Max RX channel rate: '100000000'<br>             Data Service: 'non-simultaneous-cs-ps'<br>                      SIM: 'supported'<br>                 Networks: 'umts, lte, '<br>[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] Releasing 'dms' client with flags 'release-cid'...<br>[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] Unregistered 'dms' client with ID '3'<br>[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] sent message...<br><<<<<< RAW:<br><<<<<<   length = 17<br><<<<<<   data   = 01:10:00:00:00:00:00:02:23:00:05:00:01:02:00:02:03<br><br>[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] sent generic request (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 16<br><<<<<<   flags   = 0x00<br><<<<<<   service = "ctl"<br><<<<<<   client  = 0<br><<<<<< QMI:<br><<<<<<   flags       = "none"<br><<<<<<   transaction = 2<br><<<<<<   tlv_length  = 5<br><<<<<<   message     = "Release CID" (0x0023)<br><<<<<< TLV:<br><<<<<<   type       = "Release Info" (0x01)<br><<<<<<   length     = 2<br><<<<<<   value      = 02:03<br><<<<<<   translated = [ service = 'dms' cid = '3' ]<br><br>[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] received message...<br><<<<<< RAW:<br><<<<<<   length = 24<br><<<<<<   data   = 01:17:00:80:00:00:01:02:23:00:0C:00:02:04:00:00:00:00:00:01:02:00:02:03<br><br>[21 Jan 2020, 04:41:26] [Debug] [/dev/cdc-wdm0] received generic response (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 23<br><<<<<<   flags   = 0x80<br><<<<<<   service = "ctl"<br><<<<<<   client  = 0<br><<<<<< QMI:<br><<<<<<   flags       = "response"<br><<<<<<   transaction = 2<br><<<<<<   tlv_length  = 12<br><<<<<<   message     = "Release CID" (0x0023)<br><<<<<< TLV:<br><<<<<<   type       = "Result" (0x02)<br><<<<<<   length     = 4<br><<<<<<   value      = 00:00:00:00<br><<<<<<   translated = SUCCESS<br><<<<<< TLV:<br><<<<<<   type       = "Release Info" (0x01)<br><<<<<<   length     = 2<br><<<<<<   value      = 02:03<br><<<<<<   translated = [ service = 'dms' cid = '3' ]<br><br>[21 Jan 2020, 04:41:26] [Debug] Client released<br>[21 Jan 2020, 04:41:26] [Debug] Closed<br>root@FM150NA:~/scripts# <br></div><div><br></div><div>root@FM150NA:~/scripts# qmicli --version<br><br>qmicli 1.22.4<br>Copyright (C) 2012-2019 Aleksander Morgado<br>License GPLv2+: GNU GPL version 2 or later <<a href="http://gnu.org/licenses/gpl-2.0.html">http://gnu.org/licenses/gpl-2.0.html</a>><br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law.<br><br>root@FM150NA:~/scripts# <br></div><div><br></div></div>