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.
Suggested Topics
-
Arduino Celebrates 10 years (Malmö/Sweden)
Announcements • 29 Mar 2014, 17:08 • hek 29 Mar 2014, 17:08 -
Saving last known good state, but not in EEPROM
Development • 30 Jan 2024, 18:46 • OldSurferDude 15 Jan 2025, 08:51 -
Adding Listen only device to my system.
Development • 26 Feb 2025, 00:39 • dpcons 26 Feb 2025, 06:26 -
Home Assistant/MySensors quirks
Development • 19 days ago • OldSurferDude 19 days ago -
Radio waking up for no reason.
Development • 4 Jul 2020, 21:09 • Sasquatch 15 Jan 2025, 08:33 -
Gateway without a radio
Development • 12 Jan 2025, 23:19 • OldSurferDude 14 Jan 2025, 22:07