received message child id [SOLVED]
-
I was searching and couldn't find the answer to this. On a received message from a gateway, how do I tell what child ID it is for. I need to know the members of the incoming message. I already use message.type, message.data and message.isAck. Are there others? Where is this documented? Or is it?
-
I was searching and couldn't find the answer to this. On a received message from a gateway, how do I tell what child ID it is for. I need to know the members of the incoming message. I already use message.type, message.data and message.isAck. Are there others? Where is this documented? Or is it?
@dbemowsk message.sensor is what you are looking for. for an example see the sketch on my thread here
-
Perfect. Exactly what I needed. I like the way you set up the receive() function with the switch/case to handle what child it is for.
Thanks