FreeRTOS: BLE
BLE
Return to main page ↑
IotBle_RegisterEventCb

Used to route event to whatever service requests it.

For example, one service could require knowledge of connection status, the it would subscribe to connectionCallback event. That API is giving the flexibility of having more than one service listening to the same event. Note: API should not be invoked from within the event callback.

Parameters
[in]eventThe event.
[in]bleEventsCallbacksCallback returning status of the operation.
Returns
Returns eBTStatusSuccess on successful call.