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 -
LAN8720A - will mysensors work with this module
Development • 13 Nov 2024, 17:06 • Marcin 15 Nov 2024, 10:59 -
PJON and Minicore not working
Development • 7 days ago • Trand 7 days ago -
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 -
Sending offset to node
Development • 31 Jan 2025, 00:59 • bsl88k 4 Feb 2025, 12:14