This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

eZ430-RF2480 sample code



I am doing a time synchronised meshed sensor network protocol using the eZ430-RF2480 demonstration kit. I have downloaded the sample code from the website and is able to run it in IAR workbench.

In order to do time synchronisation, all nodes must be able to receive data. But in the sample code, sample_app.c file, no such function is available for nodes apart from the sink.

The zaccelEvtFlags seems to hold whether there is data and the program polls it to decide what to do next. The event ZACCEL_RCV_DATA_IND seems to indicate data has been received, but this seems to only work on the sink node.

So what I am asking is that is there a sample code that broadcasts from sink to all other nodes? What is the correct zaccelEvtFlags mask for when other nodes receive data?

 

Either the program is not processing the received message because zaccelEvtFlags is not correctly masked, or the ZB_BROADCAST_ADDR is not the broadcast address (latter seems very unlikely as it is clearly documented in many documents)