BSom Bluetooh Default Off

We do not use bluetooth, so do we need to do anything to ensure that it is off? Do I need to call BLE.off() in setup?

If you are using SYSTEM_MODE(SEMI_AUTOMATIC) it should be off by default. (Also MANUAL, but you shouldn't use MANUAL.)

I would use both threaded and SEMI_AUTOMATIC:

SYSTEM_THREAD(ENABLED);
SYSTEM_MODE(SEMI_AUTOMATIC);

and it won't hurt to add a BLE.off() at the beginning of setup(). The first thing it does is check to see if it's on, so it might be good to add that just in case, even though it should not be necessary.

BLE would get enabled by listening mode or device provisioning mode, but you shouldn't need those modes on a cellular device.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.