Other Parts Discussed in Thread: CC1310, CC2650, CC2538, CC1350
Hi All. The advertised functionality of both the 'very sleep demo' and the 'cc26xx web demo' is very impressive. So I am wanting to know if there is any experience out there yet, modifying their functionality for practical application. In particularly the sleepy 'leaf' capability and MQTT client? Anybody combined them? Is it feasible?
These would both be useful (possibly essential) to support an end-to-end WSN capability for outdoor solutions that we are working on using a CC2650 board that we've developed (which is shortly to be modified to provide a CC1310 sub-GHz equivalent). For example I am currently developing an animal traps sensor solution for use by a government conservation agency. In this case the 'sleepy leaf node' is exactly what's needed to provide long battery life for nodes attached to traps, which are likely to be in forested areas with no sunlight for solar power. Whereas 'backbone' nodes can be positioned to make use of small solar panels.
In addition, having implemented a CoAP based 'observe' solution (where a trap node pushes its change of state to observers rather than being polled, again to save battery, and avoid network congestion), I am thinking that MQTT might provide a more reliable link. However, its unclear whether the overhead of MQTT TCP vs CoAP UDP could be a network killer, particularly with a fairly large number of nodes. Any informed views, experiences would be useful.
Actually rather than a 'standard' observe approach, we have currently implemented a simple WAMP (Web Application Messaging Protocol) to CoAP proxy. So CoAP server, observe, update messages are sent to the proxy, which itself handles the list of subscribers to which updates are to be published via WAMP websockets. So when a trap is sprung all observing browsers and/or applications are immediately updated. I think something like this is necessary to avoid limited resource WSN CoAP servers having to directly manage a potentially large numbers of subscribers. So although this is working pretty well, there is a question whether to replace CoAP entirely with MQTT, and whether the current Contiki, CC26xx MQTT client is robust enough to achieve something like this without a lot of testing and tweaking. Views would be appreciated. Cheers Ron.