Other Parts Discussed in Thread: TIMAC, CC2650, Z-STACK
Hello,
Is there a sample application using 802.15.4 with which I can understand the software design of an application. In my app. I want to read some data from I2C-based sensors and send this data over 802.15.4 MAC (using TIMAC) to a coordinator. I want to understand the best practices while writing code for such applications. I have read and understood how ICall works. I want to understand stuff like:
> Should i have a forever loop and use semaphore for event triggers. Could you explain how this will be implemented if for example I have a I2C_read() fxn which reads sensor data - when the data has been read I would call the MSA_McpsDataReq() to send it over. Or can I just call the I2C_read() function inside the MSA_SEND_EVENT in MSA_Process() before sending the data (i have referred to the MSA example provided with TIMAC) and read the data at the coordinator
Getting an example code, maybe if someone has implemented such application, would be extremely useful.
Thanks in advance.
