Debugging without radio messages
-
hi,
Is it possible to enable debug messages so that it only displays commands with "Serial.print()", but does not display radio debugging?
Everything is fine with my radio, and I want clear information from "Serial.print()" undisturbed by fast-flying messages from the radio. -
Great tip. For anyone else struggling with this, I found that defining MY_TRANSPORT_WAIT_READY_MS to a very short duration (or using MY_PASSIVE_NODE) also helps keep the sketch running when the gateway is offline. It's so much easier to debug logic when the radio isn't a bottleneck.
-
I actually write a non MS sketch first - well for the more complicated things - and when that works I add MS code. That way you can be sure that everything works fine before you enable MS on your node.