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


  • Admin

    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.


Log in to reply
 

Suggested Topics

21
Online

11.4k
Users

11.1k
Topics

112.7k
Posts