<div dir="ltr">Hi, I was wondering had any knowledge of an issue we are seeing. We are connecting to private networks we are running on two different brands of EPC. Then, we are using libqmi to query the modem for the network info via <span style="background-color:rgb(245,245,245);color:rgb(23,43,77);font-size:12px">--nas-get-serving-system</span><div><font color="#172b4d"><span style="font-size:12px"><br></span></font></div><div><font color="#172b4d"><span style="font-size:12px"><br></span></font></div><div><div style="margin:9px 0px;padding:0px;border:1px solid rgb(204,204,204);background:rgb(245,245,245);font-size:12px;line-height:1.33333;font-family:monospace;border-radius:3px;color:rgb(23,43,77)"><div style="margin:0px;padding:9px 12px"><pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px;max-height:30em;overflow:auto;word-break:normal">[/dev/cdc-wdm0] Successfully got serving system:                                
        Registration state: 'registered'                                        
        CS: 'attached'                                                          
        PS: 'attached'                                                          
        Selected network: '3gpp'                                                
        Radio interfaces: '1'                                                   
                [0]: 'lte'                                                      
        Roaming status: 'off'                                                   
        Data service capabilities: '1'                                          
                [0]: 'lte'                                                      
<b>[Invalid UTF-8]</b>         Current PLMN:                                           
                MCC: '1'                                                        
                MNC: '4'                                                        
                <b>Description: '\xd3\xb7\x99~\x0f\xcb\xcb\xd1 ' </b>                  
        Roaming indicators: '1'                                                 
                [0]: 'off' (lte)                                                
        3GPP time zone offset: '0' minutes                                      
        3GPP location area code: '65534'                                        
        3GPP cell ID: '16'                                                      
        Detailed status:                                                        
                Status: 'available'                                             
                Capability: 'cs-ps'                                             
                HDR Status: 'none'                                              
                HDR Hybrid: 'no'                                                
                Forbidden: 'no'                                                 
        LTE tracking area code: '8'                                             
        Full operator code info:                                                
                MCC: '1'                                                        
                MNC: '4'                                                        
                MNC with PCS digit: 'no'</pre></div></div></div><div>Instead of a network name in the description field we are getting garbled text and before this we also see "[Invalid UTF-8]" returned. This only happens for the Telit LM960A18, no other modem we have (EM7565, EM7511, EM/MC7455 etc.), I was wondering was this a known issue, or perhaps some setting on the network end that needs to be adjusted? </div><div><div><br></div><div><b>Firmware:</b> 32.00.142-B020<br><br><b>Network name from at+cops?, which is shown correctly:</b></div><div><br>input> at+cops?                                                                <br>at+cops?                                                                        <br>+COPS: 0,0,"TestNetwork",7                                                      <br>                                                                               <br>OK                                                                              <br>input> <br></div><div><br></div><div><b>libqmi version:</b> 1.24.0</div><div><br></div><div><b>Verbose libqmi:</b></div><div><b><br></b></div><div>[26 Nov 2019, 12:46:18] [Debug] [/dev/cdc-wdm0] Opening device with flags 'proxy, auto'...<br>[26 Nov 2019, 12:46:18] [Debug] [/dev/cdc-wdm0] loaded driver of cdc-wdm port: qmi_wwan<br>[26 Nov 2019, 12:46:18] -Warning ** [/dev/cdc-wdm0] requested auto mode but no MBIM QMUX support available<br>[26 Nov 2019, 12:46:18] [Debug] [/dev/cdc-wdm0] sent message...<br><<<<<< RAW:<br><<<<<<   length = 28<br><<<<<<   data   = 01:1B:00:00:00:00:00:01:00:FF:10:00:01:0D:00:2F:64:65:76:2F:63:64:63:2D:77:64:6D:30<br><br>[26 Nov 2019, 12:46:18] [Debug] [/dev/cdc-wdm0] sent generic request (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 27<br><<<<<<   flags   = 0x00<br><<<<<<   service = "ctl"<br><<<<<<   client  = 0<br><<<<<< QMI:<br><<<<<<   flags       = "none"<br><<<<<<   transaction = 1<br><<<<<<   tlv_length  = 16<br><<<<<<   message     = "Internal Proxy Open" (0xFF00)<br><<<<<< TLV:<br><<<<<<   type       = "Device Path" (0x01)<br><<<<<<   length     = 13<br><<<<<<   value      = 2F:64:65:76:2F:63:64:63:2D:77:64:6D:30<br><<<<<<   translated = /dev/cdc-wdm0<br><br>[26 Nov 2019, 12:46:18] [Debug] [/dev/cdc-wdm0] received message...<br><<<<<< RAW:<br><<<<<<   length = 19<br><<<<<<   data   = 01:12:00:00:00:00:01:01:00:FF:07:00:02:04:00:00:00:00:00<br><br>[26 Nov 2019, 12:46:18] [Debug] [/dev/cdc-wdm0] received generic response (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 18<br><<<<<<   flags   = 0x00<br><<<<<<   service = "ctl"<br><<<<<<   client  = 0<br><<<<<< QMI:<br><<<<<<   flags       = "response"<br><<<<<<   transaction = 1<br><<<<<<   tlv_length  = 7<br><<<<<<   message     = "Internal Proxy Open" (0xFF00)<br><<<<<< TLV:<br><<<<<<   type       = "Result" (0x02)<br><<<<<<   length     = 4<br><<<<<<   value      = 00:00:00:00<br><<<<<<   translated = SUCCESS<br><br>[26 Nov 2019, 12:46:18] [Debug] QMI Device at '/dev/cdc-wdm0' ready<br>[26 Nov 2019, 12:46:18] [Debug] [/dev/cdc-wdm0] Assuming service 'nas' is supported...<br>[26 Nov 2019, 12:46:18] [Debug] [/dev/cdc-wdm0] Allocating new client ID...<br>[26 Nov 2019, 12:46:18] [Debug] [/dev/cdc-wdm0] sent message...<br><<<<<< RAW:<br><<<<<<   length = 16<br><<<<<<   data   = 01:0F:00:00:00:00:00:02:22:00:04:00:01:01:00:03<br><br>[26 Nov 2019, 12:46:18] [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 = 2<br><<<<<<   tlv_length  = 4<br><<<<<<   message     = "Allocate CID" (0x0022)<br><<<<<< TLV:<br><<<<<<   type       = "Service" (0x01)<br><<<<<<   length     = 1<br><<<<<<   value      = 03<br><<<<<<   translated = nas<br><br>[26 Nov 2019, 12:46:18] [Debug] [/dev/cdc-wdm0] received message...<br><<<<<< RAW:<br><<<<<<   length = 24<br><<<<<<   data   = 01:17:00:80:00:00:01:02:22:00:0C:00:02:04:00:00:00:00:00:01:02:00:03:05<br><br>[26 Nov 2019, 12:46:18] [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     = "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      = 03:05<br><<<<<<   translated = [ service = 'nas' cid = '5' ]<br><br>[26 Nov 2019, 12:46:18] [Debug] [/dev/cdc-wdm0] Registered 'nas' (version unknown) client with ID '5'<br>[26 Nov 2019, 12:46:18] [Debug] Asynchronously getting serving system...<br>[26 Nov 2019, 12:46:18] [Debug] [/dev/cdc-wdm0] sent message...<br><<<<<< RAW:<br><<<<<<   length = 13<br><<<<<<   data   = 01:0C:00:00:03:05:00:01:00:24:00:00:00<br><br>[26 Nov 2019, 12:46:18] [Debug] [/dev/cdc-wdm0] sent generic request (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 12<br><<<<<<   flags   = 0x00<br><<<<<<   service = "nas"<br><<<<<<   client  = 5<br><<<<<< QMI:<br><<<<<<   flags       = "none"<br><<<<<<   transaction = 1<br><<<<<<   tlv_length  = 0<br><<<<<<   message     = "Get Serving System" (0x0024)<br><br>[26 Nov 2019, 12:46:18] [Debug] [/dev/cdc-wdm0] received message...<br><<<<<< RAW:<br><<<<<<   length = 99<br><<<<<<   data   = 01:62:00:80:03:05:02:01:00:24:00:56:00:02:04:00:00:00:00:00:01:06:00:01:01:01:02:01:08:10:01:00:01:11:02:00:01:0B:12:0F:00:01:00:04:00:0A:D4:F2:9C:EE:2C:D3:EF:6F:F9:1A:15:03:00:01:08:01:1A:01:00:00:1C:02:00:FE:FF:1D:04:00:20:00:00:00:21:05:00:02:03:00:00:00:0<br><br>[26 Nov 2019, 12:46:22] [Debug] [/dev/cdc-wdm0] received generic response (translated)...<br><<<<<< QMUX:<br><<<<<<   length  = 98<br><<<<<<   flags   = 0x80<br><<<<<<   service = "nas"<br><<<<<<   client  = 5<br><<<<<< QMI:<br><<<<<<   flags       = "response"<br><<<<<<   transaction = 1<br><<<<<<   tlv_length  = 86<br><<<<<<   message     = "Get Serving System" (0x0024)<br><<<<<< TLV:<br><<<<<<   type       = "Result" (0x02)<br><<<<<<   length     = 4<br><<<<<<   value      = 00:00:00:00<br><<<<<<   translated = SUCCESS<br><<<<<< TLV:<br><<<<<<   type       = "Serving System" (0x01)<br><<<<<<   length     = 6<br><<<<<<   value      = 01:01:01:02:01:08<br><<<<<<   translated = [ registration_state = 'registered' cs_attach_state = 'attached' ps_attach_state = 'attached' selected_network = '3gpp' radio_interfaces = '{ [0] = 'lte '}' ]<br><<<<<< TLV:<br><<<<<<   type       = "Roaming Indicator" (0x10)<br><<<<<<   length     = 1<br><<<<<<   value      = 01<br><<<<<<   translated = off<br><<<<<< TLV:<br><<<<<<   type       = "Data Service Capability" (0x11)<br><<<<<<   length     = 2<br><<<<<<   value      = 01:0B<br><<<<<<   translated = { [0] = 'lte '}<br><<<<<< TLV:<br><<<<<<   type       = "Current PLMN" (0x12)<br><<<<<<   length     = 15<br><<<<<<   value      = 01:00:04:00:0A:D4:F2:9C:EE:2C:D3:EF:6F:F9:1A<br><<<<<<   translated = [ mcc = '1' mnc = '4' description = 'ÔòԜî,Óïoù' ]<br><<<<<< TLV:<br><<<<<<   type       = "Roaming Indicator List" (0x15)<br><<<<<<   length     = 3<br><<<<<<   value      = 01:08:01<br><<<<<<   translated = { [0] = '[ radio_interface = 'lte' roaming_indicator = 'off' ] '}<br><<<<<< TLV:<br><<<<<<   type       = "Time Zone 3GPP" (0x1a)<br><<<<<<   length     = 1<br><<<<<<   value      = 00<br><<<<<<   translated = 0<br><<<<<< TLV:<br><<<<<<   type       = "LAC 3GPP" (0x1c)<br><<<<<<   length     = 2<br><<<<<<   value      = FE:FF<br><<<<<<   translated = 65534<br><<<<<< TLV:<br><<<<<<   type       = "CID 3GPP" (0x1d)<br><<<<<<   length     = 4<br><<<<<<   value      = 20:00:00:00<br><<<<<<   translated = 32<br><<<<<< TLV:<br><<<<<<   type       = "Detailed Service Status" (0x21)<br><<<<<<   length     = 5<br><<<<<<   value      = 02:03:00:00:00<br><<<<<<   translated = [ status = 'available' capability = 'cs-ps' hdr_status = 'none' hdr_hybrid = 'no' forbidden = 'no' ]<br><<<<<< TLV:<br><<<<<<   type       = "LTE TAC" (0x24)<br><<<<<<   length     = 2<br><<<<<<   value      = 00:0A<br><<<<<<   translated = 2560<br><<<<<< TLV:<br><<<<<<   type       = "MNC PCS Digit Include Status" (0x27)<br><<<<<<   length     = 5<br><<<<<<   value      = 01:00:04:00:00<br><<<<<<   translated = [ mcc = '1' mnc = '4' includes_pcs_digit = 'no' ]<span class="gmail-im" style="color:rgb(80,0,80)"><br><br>[/dev/cdc-wdm0] Successfully got serving system:<br>        Registration state: 'registered'<br>        CS: 'attached'<br>        PS: 'attached'<br>        Selected network: '3gpp'<br>        Radio interfaces: '1'<br>                [0]: 'lte'<br>        Roaming status: 'off'<br>        Data service capabilities: '1'<br>                [0]: 'lte'<br>[Invalid UTF-8]         Current PLMN:<br>                MCC: '1'<br>                MNC: '4'<br></span>                Description: '\xd4\xf2\x9c\xee,\xd3\xefo\xf9\x1a'<span class="gmail-im" style="color:rgb(80,0,80)"><br>        Roaming indicators: '1'<br>                [0]: 'off' (lte)<br>        3GPP time zone offset: '0' minutes<br>        3GPP location area code: '65534'<br></span>        3GPP cell ID: '32'<span class="gmail-im" style="color:rgb(80,0,80)"><br>        Detailed status:<br>                Status: 'available'<br>                Capability: 'cs-ps'<br>                HDR Status: 'none'<br>                HDR Hybrid: 'no'<br>                Forbidden: 'no'<br></span>        LTE tracking area code: '2560'<span class="gmail-im" style="color:rgb(80,0,80)"><br>        Full operator code info:<br>                MCC: '1'<br>                MNC: '4'<br>                MNC with PCS digit: 'no'<br></span>[26 Nov 2019, 12:46:22] [Debug] [/dev/cdc-wdm0] Releasing 'nas' client with flags 'release-cid'...<br>[26 Nov 2019, 12:46:22] [Debug] [/dev/cdc-wdm0] Unregistered 'nas' client with ID '5'<br>[26 Nov 2019, 12:46:22] [Debug] [/dev/cdc-wdm0] sent message...<br><<<<<< RAW:<br><<<<<<   length = 17<br><<<<<<   data   = 01:10:00:00:00:00:00:03:23:00:05:00:01:02:00:03:05<br><br>[26 Nov 2019, 12:46: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 = 3<br><<<<<<   tlv_length  = 5<br><<<<<<   message     = "Release CID" (0x0023)<br><<<<<< TLV:<br><<<<<<   type       = "Release Info" (0x01)<br><<<<<<   length     = 2<br><<<<<<   value      = 03:05<br><<<<<<   translated = [ service = 'nas' cid = '5' ]<br><br>[26 Nov 2019, 12:46:26] [Debug] [/dev/cdc-wdm0] received message...<br><<<<<< RAW:<br><<<<<<   length = 24<br><<<<<<   data   = 01:17:00:80:00:00:01:03:23:00:0C:00:02:04:00:00:00:00:00:01:02:00:03:05<br><br>[26 Nov 2019, 12:46: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 = 3<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      = 03:05<br><<<<<<   translated = [ service = 'nas' cid = '5' ]<b><br></b></div><div><br></div><div>Thanks,</div></div><div><br></div><div>--</div><div>Paul</div><div><br></div></div>