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, 167 views

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

0 - GSM


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:


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?