Hi, please forgive me for being a beginner at ZigBee and TI LPRF in general.
I'm working on an application where we would like to synchronously initiate audio output wirelessly to several speaker endpoints - say 3 to 20 max.
We have started our venture into the realms of ZigBee and TI LPRF with the CC2530ZNP Mini Kit and the default programmed Z-Stack.
My initial trials have been to take the "Basic Communications" example and modifying it.
Having one coordinator node and 2-3 endpoints that uses the AFZDO Interface (Application Framework/Zigbee Device Objects), the endpoints will send a broadcast message with an
afSendData(DEFAULT_ENDPOINT,DEFAULT_ENDPOINT, ALL_DEVICES, TEST_CLUSTER, currentTune, 1);
There is always a big difference in delay/lag from endpoint to endpoint.
I expected a broadcast to be sent by one endpoint to the coordinator and then the coordinator would send the message to the rest of the endpoints at one go.
It doesn't appear to be the case and no matter how much I simplify the code it does not seem possible to get the endpoints to receive the message somewhat at the same time.
I must admit though, that a CC-Debugger is not in possession atm. but it should arrive one of the following days.
Hopefully this will allow me to setup one of the dongles to act as a packet sniffer and I can debug further.
This brings me to questions...
1st question - is it possible to broadcast a message to many endpoints and having them receiving it at the same time?
2nd question - if not possible, do you have any suggestions as to a solution to the problem? Be it involving a different stack (SimpliciTI, RF4CE, TIMAC) or "simply" a more clever design that handles the synchronization differently?
3rd question - would it be better to focus on building the application to run directly along side the stack inside the CC2530 or should this scenario be obtainable even with the default setup: MSP430 (application host) + CC2530 (ZigBee Network Processor)?
I hope it is not to much to ask in one post....
If you don't have exact answers or would just want to leave hints and pointers, please do so.
Thanks,
Thomas Bowley