Professional Documents
Culture Documents
When a BLE-Stack API is called by the application internally, the ICall module
routes (that is, dispatches) the command to the BLE-Stack and routes messages from
the BLE-Stack to the application when appropriate.
Because the ICall module is part of the application project, the application task
can access ICall with direct function calls. Because the BLE-Stack executes at the
highest priority, the application task blocks until the response is received.
Certain protocol stack APIs may respond immediately, but the application thread
blocks as the API is dispatched to the BLE-Stack through ICall. Other BLE-Stack
APIs may also respond asynchronously to the application through ICall (for example,
event updates) with the response sent to the event handler of the application task.