How can i read the payload information inside from gw.process();
-
Hi everyone.
i am new at mysensors library. iam using with Arduino uno and NRF24L01 modules as sensor nodes. I would like to know that how doest gw.process prints the incomming message into the serial monitor. Is there any way to get or save the incomming message(payload) from sensor.
Thanks
-
Not sure what you're trying to archive here...
But you can specify a callback method in gw.begin() to get data addressed for the actual node.
See RelayActuator for an example of this.
2 out of 2
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting • 26 Feb 2025, 00:32 • dpcons 26 Feb 2025, 06:22 -
Getting system time from the controller
Troubleshooting • 27 Feb 2025, 01:39 • dpcons 3 Mar 2025, 01:00 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
DHT22 wrong sensor type in Home Assistant
Troubleshooting • 2 days ago • Commodoreuno a day ago