TI BLE-Stack for Bluetooth 4.2 API Documentation
3.01.00.07
|
Data Structures | |
struct | gapRolesCBs_t |
Multi GAPRole Callback structure. More... | |
Typedefs | |
typedef void(* | paramUpdateAppDecision_t) (gapUpdateLinkParamReq_t *pReq, gapUpdateLinkParamReqReply_t *pRsp) |
Callback for the app to decide on a parameter update request. More... | |
typedef uint8_t(* | passThroughToApp_t) (gapMultiRoleEvent_t *pEvent) |
Multi Event Callback Function. More... | |
These are functions whose pointers are passed from the application to the GAPRole so that the GAPRole can send events to the application
typedef void(* paramUpdateAppDecision_t) (gapUpdateLinkParamReq_t *pReq, gapUpdateLinkParamReqReply_t *pRsp) |
Callback for the app to decide on a parameter update request.
This callback will be used if the GAP_UPDATE_LINK_PARAM_REQ_EVENT parameter is set to GAPROLE_LINK_PARAM_UPDATE_APP_DECIDES
pReq | Pointer to param update request |
pRsp | Pointer to param update response. |
typedef uint8_t(* passThroughToApp_t) (gapMultiRoleEvent_t *pEvent) |
Multi Event Callback Function.
This callback is used by the Multi GAPRole to forward GAP_Events to the application.
If the message is successfully queued to the application for later processing, FALSE is returned because the application deallocates it later. Consider the following state change event from multi_role as an example of this:
If the message is not successfully queued to the application, TRUE is returned so that the GAPRole can deallocate the message. If the heap has enough room, the message must always be successfully enqueued.
pEvent | Pointer to event structure |