For FCC15B testing, I need to have the msom lte module powered on, but not transmitting. The way I am doing this is with MANUAL_MODE
and using the following procedure. I wanted to see if there was anything else that I need to do.
WITH_LOCK(Cellular) {
Cellular.on();
}
while(true) {
delay(50);
Particle.process();
if(Cellular.isOn()) {
break;
}
}
Also, do I need to wrap the if statement checking if Cellular.isOn()
in WITH_LOCK(Cellular)
? I was originally doing this, but found that it wouldn't exit the loop.