Reset node from gateway
-
Hi,
As part of my ESP8266 MQTT gateway with web page project I added an overview of all presented nodes with timestamp of presentation and so forth. And a button to reset that specific node. Might come in handy for whatever reason.
My code looks like this:
MyMessage rstMsg(255, C_INTERNAL); mSetCommand(rstMsg, C_INTERNAL); rstMsg.type = I_REBOOT; rstMsg.destination = node;and the resulting info in the serial monitor is:
0;255;3;0;9;TSF:MSG:SEND,0-0-20-20,s=255,c=1,t=13,pt=0,l=0,sg=0,ft=0,st=OK:But still the node does not reset (and send a new presentation packet) What am I doing wrong here?
Note: This is for node 20, and I send the command to sensor 255 (arduino sensor)
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