Question how to print MySensor message
-
Hey,
maybe someone can help me out easy on this.
I got a gateway, and just want to print the message that comes in into a serial monitor. (or maybe strip it down the road)
Is there an easy way to just serial print a message like: 219;2;1;0;16;1. Instead of having the debug doing it.
-
@Omemanti a serial gateway without debug will print in the format described at https://www.mysensors.org/download/serial_api_20#examples
-
@mfalkvidd for the thing I'm working on, I'd like to pass this string into another function. Do know how I can get this information into a variable? Preferably char[].
-
@Omemanti Sorry, that's on a level beyond my knowledge
-
Maybe you can fill a global char array from within receive()? You’d have to handle quick successive calls in a good manner though.