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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login