How can you change the node description OTA
-
I am setting up nodes but having trouble identifying them as they all end up with the same description its because I'm a bit lazy and don't like having to change my sketch for each new node I make.
When I load a sketch if I want a different description I have to put it into the sketch and would really like to be able to set it afterwards using some sort of C_SET message.
Currently I set this in code as below
present(RTCSENSOR, S_INFO, RTCSENSOR_DESCRIPTION, false);Does anybody have any idea where I would start. I guess i would use
void receive(const MyMessage &message)However once my node has received the data how do I use it to update the node description?
Any suggestions or pointers on where to start would be appreciated.
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