Gemalto is now part of the Thales Group, find out more.

You are here

How to have an equivalent AT+COPS=<mode>,<format>,<opName>,<rat> using qapi API functions? | Thales IoT Developer Community

November 3, 2021 - 1:36pm, 202 views

When using AT commands, we can use the AT+COPS and pass the parameter <rat> to be one of these:

0 - GSM

3 - GSM w/EGPRS

7 - E-UTRAN Cat.M1

9 - E-UTRAN Cat.NB1

 

Thus, over AT commands we have a explicit way to control the connection that will be used, for example, if I want to connect to a NB network, I would do something like this in AT commands:

AT+COPS=1,2,"72406",9 

My question is: how can I do the same, but using the qapi? In other words, how can I tell the qapi to connect only to a Cat.NB1 network, for instance?