by StuartL » Mon Aug 20, 2007 7:24 pm
by StuartL
Mon Aug 20, 2007 7:24 pm
Has anyone tried programming the Zig-100 on the fly from the CM5? i.e. Has anyone tried anything to change destination IDs, broadcast mode etc after soldering it onto the CM5 motherboard?
It looks relatively straightforward, you'd just need to ensure that you programmed it from software within 60ms of hardware reset.
However I'm thinking of doing automatic peer discovery for CM5-CM5-PC communication and that's a little more complicated with the Zigbee modules working the way they do. It would involve switching from broadcast to point to point mode on the fly and this seems expensive and pointless.
You may as well use the Zigbee modules permanently in broadcast mode, which doesn't require in-circuit programming, and write a communications layer on top to handle peer discovery etc. The protocol would handle very basic messaging with broadcast and unicast functionality with built in checksum. A layer above could track and cache peers and note when a peer has been uncontactable for a preset time.
Thoughts?
Has anyone tried programming the Zig-100 on the fly from the CM5? i.e. Has anyone tried anything to change destination IDs, broadcast mode etc after soldering it onto the CM5 motherboard?
It looks relatively straightforward, you'd just need to ensure that you programmed it from software within 60ms of hardware reset.
However I'm thinking of doing automatic peer discovery for CM5-CM5-PC communication and that's a little more complicated with the Zigbee modules working the way they do. It would involve switching from broadcast to point to point mode on the fly and this seems expensive and pointless.
You may as well use the Zigbee modules permanently in broadcast mode, which doesn't require in-circuit programming, and write a communications layer on top to handle peer discovery etc. The protocol would handle very basic messaging with broadcast and unicast functionality with built in checksum. A layer above could track and cache peers and note when a peer has been uncontactable for a preset time.
Thoughts?