Hi NCD,
We are very excited about the new OTF Config options.
I know the ncd-red-wireless-2 package has some options for configuration, but a lot of those either need to be setup for a specific MAC chosen from a list, or for an entire type of sensors.
I am working out the ability to programatically set a sensor to a specific node_id based upon its Xbee MAC Address.
For example:
4th minute of the hour, 00:13:A2:00:41:90:DF:F9 sends its OTF Config FLY packet.
My Node-Red Instance looks up DF:F9 and finds (via API, or onboard storage, etc) that I have determined this needs to be node_id 7.
I see that DF:F9s is ready to config, I send it the new command to ‘Stay Awake for a few seconds longer’.
I then send it:
7E 00 17 10 00 13 A2 00 41 90 DF F9 FF FF FE 00 00 F7 02 00 00 00 01 07
That would set just that sensor (by including its MAC in the command) to node_id 7 (last byte) I think.
Then I think I need to send it one more radio command saying ‘Done with Config, exit config’.
My question is, what are those two missing command strings?
- Stay in config, wait for more config
- Config done, exit config
I would eventually like to do the same with the Probe ODR Settings, but I think if I know the start and end commands I can program the same.