Placing MSOM LTE Module in Rx Mode for FCC15B

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.

Don't put the Cellular calls in a lock, it will cause unexpected things to happen.

This is sufficient:

Cellular.on();
waitFor(Cellular.isOn, 60000);
1 Like