<div dir="ltr">Good morning, I'm a user of libqmi and qmicli tool and I need some help.<div>I'm using a SIM of an Italian provider (TIM), configured on a standard private APN (the SIM and APN are of a customer of my company, he pays for a custom APN to the TIM company).<br></div><div><br></div><div>When using the standard public APN (<a href="http://ibox.tim.it">ibox.tim.it</a>), with a modem that supports LTE connectivity (Quectel EC25), I can go online and get a connection to the network.</div><div>If I configure the custom private APN (that uses the same network infrastructure), I'm able to connect to the (private) network and to go online, pinging the private customer server, only if a set the modem as 3G using the command line:</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><b>qmicli -d /dev/cdc-wdm0 --nas-set-system-selection-preference="umts|gsm"</b></div></blockquote><div><br></div><div>If I configure the SIM as:</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><b>qmicli -d /dev/cdc-wdm0 --nas-set-system-selection-preference="lte|umts|gsm"</b></div></blockquote><div><br></div><div>I receive the error:</div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><b><<<<<<   type       = "Call End Reason" (0x10)</b></div><div><b><<<<<<   length     = 2</b></div><div><b><<<<<<   value      = F5:03</b></div><div><b><<<<<<   translated = <font color="#ff0000">gsm-wcdma-unknown-apn</font></b></div><div><b><<<<<< TLV:</b></div><div><b><<<<<<   type       = "Verbose Call End Reason" (0x11)</b></div><div><b><<<<<<   length     = 4</b></div><div><b><<<<<<   value      = 06:00:1B:00</b></div><div><b><<<<<<   translated = [ <font color="#ff0000">type = '3gpp' reason = '27'</font> ]</b></div></blockquote><div><br></div><div>Here is my problem: if I use the SIM in a smartphone, the smartphone fails connection in lte mode but after a few seconds (about 30) goes to UMTS mode and gets its address.</div><div>My problem is that, even if I select to support umts,LTE,GSM, when the modem tries connecting, it tells me unknown-apn, and does not switch to UMTS connectivity option. </div><div>If I use 3G mode, everything works fine.</div><div>So here is my question: how should I manage this kind of problem?</div><div>How can I force qmicli to manage switching at connection time different mode search of APN?</div><div>I know this may be a simple issue for expert people, but I'm really confused.</div><div>Best regards</div><div>Giovanni</div><div><br></div><div></div></div>