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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login