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

  • 3
  • 2
  • 1
  • 10
  • 3
  • 24

0
Online

11.2k
Users

11.1k
Topics

112.5k
Posts