It is possible to force an imp cellular to connect only to an LTE band?

It is possible to force an imp cellular to connect only to an LTE band?, for testing purposes, we want to avoid to connect to GSM.

For imp006, yes. However, you need to be careful as if you disable GSM and then there are no available Cat-M networks, your device will no longer connect and hence you can’t correct the issue (the setting is within the modem and persistent).

The BG96_Modem library is new and doesn’t have public docs yet, but…

#require "BG96_Modem.device.lib.nut:0.0.2"

// Enable RAT, pass in "gsm", "catm" or "auto" for auto select
// Callback with true if mode was already set, or was set successfully
// ...otherwise false
BG96_Modem.enableRAT("catm", function(res) { server.log("callback result: "+res)});

…the setting takes effect on the next modem power cycle.

1 Like