Cordio Stack and Cordio Profiles  r2p3-02rel0
Stack Event Handling

ATT Event Handling

Message passing interface to ATT from other tasks through WSF.

void AttHandlerInit (wsfHandlerId_t handlerId)
 ATT handler init function called during system initialization. More...
 
void AttHandler (wsfEventMask_t event, wsfMsgHdr_t *pMsg)
 WSF event handler for ATT. More...
 

DM Event Handling

Message passing interface to DM from other tasks through WSF.

void DmHandlerInit (wsfHandlerId_t handlerId)
 DM handler init function called during system initialization. More...
 
void DmHandler (wsfEventMask_t event, wsfMsgHdr_t *pMsg)
 WSF event handler for DM. More...
 

HCI Event Handling

Message passing interface to HCI from application and other stack layers through WSF.

void HciHandlerInit (wsfHandlerId_t handlerId)
 HCI handler init function called during system initialization. More...
 
void HciHandler (wsfEventMask_t event, wsfMsgHdr_t *pMsg)
 WSF event handler for HCI. More...
 

L2CAP Event Handling

Message passing interface to L2CAP from other tasks through WSF.

void L2cSlaveHandlerInit (wsfHandlerId_t handlerId)
 Event handler initialization function for L2C when operating as a slave. More...
 
void L2cSlaveHandler (wsfEventMask_t event, wsfMsgHdr_t *pMsg)
 The WSF event handler for L2C when operating as a slave. More...
 
void L2cCocHandlerInit (wsfHandlerId_t handlerId)
 Event handler initialization function for L2C with connection oriented channels. More...
 
void L2cCocHandler (wsfEventMask_t event, wsfMsgHdr_t *pMsg)
 The WSF event handler for L2C with connection oriented channels. More...
 

SMP Event Handling

Message passing interface to SMP from other tasks through WSF.

void SmpHandlerInit (wsfHandlerId_t handlerId)
 SMP handler init function called during system initialization. More...
 
void SmpHandler (wsfEventMask_t event, wsfMsgHdr_t *pMsg)
 WSF event handler for SMP. More...
 

App Event Handling

Message passing interface to App Framework from other tasks through WSF.

void AppHandlerInit (wsfHandlerId_t handlerId)
 App framework handler init function called during system initialization. More...
 
void AppHandler (wsfEventMask_t event, wsfMsgHdr_t *pMsg)
 WSF event handler for app framework. More...
 

Description

Initialization functions called from tasks at WSF initialization to receive WSF Task ID and register handlers to support intertask messaging.

Function Documentation

void AttHandlerInit ( wsfHandlerId_t  handlerId)

ATT handler init function called during system initialization.

Parameters
handlerIdWSF handler ID for ATT.
Returns
None.
void AttHandler ( wsfEventMask_t  event,
wsfMsgHdr_t pMsg 
)

WSF event handler for ATT.

Parameters
eventWSF event mask.
pMsgWSF message.
Returns
None.
void DmHandlerInit ( wsfHandlerId_t  handlerId)

DM handler init function called during system initialization.

Parameters
handlerIdWSF handler ID for DM.
Returns
None.
void DmHandler ( wsfEventMask_t  event,
wsfMsgHdr_t pMsg 
)

WSF event handler for DM.

Parameters
eventWSF event mask.
pMsgWSF message.
Returns
None.
void HciHandlerInit ( wsfHandlerId_t  handlerId)

HCI handler init function called during system initialization.

Parameters
handlerIdWSF handler ID for HCI.
Returns
None.
void HciHandler ( wsfEventMask_t  event,
wsfMsgHdr_t pMsg 
)

WSF event handler for HCI.

Parameters
eventWSF event mask.
pMsgWSF message.
Returns
None.
void L2cSlaveHandlerInit ( wsfHandlerId_t  handlerId)

Event handler initialization function for L2C when operating as a slave.

Parameters
handlerIdID for this event handler.
Returns
None.
void L2cSlaveHandler ( wsfEventMask_t  event,
wsfMsgHdr_t pMsg 
)

The WSF event handler for L2C when operating as a slave.

Parameters
eventEvent mask.
pMsgPointer to message.
Returns
None.
void L2cCocHandlerInit ( wsfHandlerId_t  handlerId)

Event handler initialization function for L2C with connection oriented channels.

Parameters
handlerIdID for this event handler.
Returns
None.
void L2cCocHandler ( wsfEventMask_t  event,
wsfMsgHdr_t pMsg 
)

The WSF event handler for L2C with connection oriented channels.

Parameters
eventEvent mask.
pMsgPointer to message.
Returns
None.
void SmpHandlerInit ( wsfHandlerId_t  handlerId)

SMP handler init function called during system initialization.

Parameters
handlerIdWSF handler ID for SMP.
Returns
None.
void SmpHandler ( wsfEventMask_t  event,
wsfMsgHdr_t pMsg 
)

WSF event handler for SMP.

Parameters
eventWSF event mask.
pMsgWSF message.
Returns
None.
void AppHandlerInit ( wsfHandlerId_t  handlerId)

App framework handler init function called during system initialization.

Parameters
handlerIdWSF handler ID for App.
Returns
None.
void AppHandler ( wsfEventMask_t  event,
wsfMsgHdr_t pMsg 
)

WSF event handler for app framework.

Parameters
eventWSF event mask.
pMsgWSF message.
Returns
None.