Other Parts Discussed in Thread: CC2650
Hi,
I'm reading cc2650 Software Developers Guide and I have a question about stack event dispatch.
During the task initialization ICall_registerApp function is called to register the thread and making possible to receive messages from ble stack.
In this way, when the stack has something to say to the thread the stack it can send a message using ICALL module.
My question is: suppose we are talking about gapRole_task and the event is GAP_BOND_COMPLETE_EVENT, how can the stack "know" which one is the gapRole_task and send the event only to that thread? Or every stack event is passed to every registered thread and if a thread doesn't care about that particular event it simply discard it?
Davide.