Part Number: LAUNCHXL-CC1352P
Other Parts Discussed in Thread: Z-STACK
Hello,
My project is based on the zed_switch sample project. I imported zed_switch and I'm using it as my starting point.
I want two TI-RTOS tasks. One task will be a Zigbee sender task. It will read values from the ADC and send these values over the Zigbee network. The other task is the main task. It will receive Zigbee messages, just as the main task in the sample project does now. There will be other tasks too, but they won't be doing any Zigbee communication.
My question is, can two tasks communicate with Z-Stack? Or must all Zigbee communications be funneled through a single task?
If it's possible to use two tasks, I think I will have to "register" each task with Z-Stack using OsalPort_registerTask().I will also need a semaphore and a Zigbee message processing loop in the second task, just like what the main task does currently in the zed_switch sample project.
Will each task need it's own Zigbee endpoint?
Are there any code samples available that have two or more tasks communicating with Z-Stack?
I just thought I'd ask before I starting implementing all of this.
Thanks,
Tim