Quick question about how gateways and nodes report
-
I'm trying to write a controller and am trying to account for fringe cases. Say the power turns off and then comes back on and both the gateway and sensor start simultaneously -- will the gateway always report its full startup before it receives node messages? I would assume the gateway won't respond to the find parent until after it's fully initialized, but I just want to make sure. This will help me determine when I need to create certain objects in the controller.
-
It'll send "gateway ready" when a controller connects (ethernet) or at startup (serial gw). It'll answer find parent requests regardless if a controller is connected or not.
From a controller perspective you should't have to care about the internal find-parent communication between nodes. It isn't propagated to the controller.
-
It'll send "gateway ready" when a controller connects (ethernet) or at startup (serial gw). It'll answer find parent requests regardless if a controller is connected or not.
From a controller perspective you should't have to care about the internal find-parent communication between nodes. It isn't propagated to the controller.
Thanks -- one other quick question: am I right in assuming a child sensors will only ever send "set" message types and will only be routed "req" types?
For example, I'll never see a message like this:
3; 3; 3; 0; 9; etcright? Nodes would send that sort of message, but never a child:
3; 255; 3; 0; 9; etcyes? I'm assuming this because most nodes just report a setting or get set to something, they don't have any intelligence beyond that, that all exists on the child's node.
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