After reading this I wonder what is the best way power off a Boron when just testing different code? Can I just unplug the USB cable or do I need to factor in this code Cellular.off(); waitFor(Cellular.isOff, 30000);
to every thing I want to test.
Also, will the u-blox SARA-R510S-01B LTE modem be susceptible to memory corruption if not properly shutdown?
The risk of corruption is very low but if you want to fully eliminate it then yes, use the code. Anecdotally, I often play it fast and loose and just unplug the cable. I have not had any issues yet though your mileage may vary.