Functions

GATT Flow Control API Functions

Functions

void GATT_SetHostToAppFlowCtrl (uint8 flowCtrlMode)
 This API is used by the Application to turn flow control on or off for GATT messages sent from the Host to the Application.
void GATT_AppCompletedMsg (gattMsgEvent_t *pMsg)
 This API is used by the Application to notify GATT that the processing of a message has been completed.

Function Documentation

void GATT_AppCompletedMsg ( gattMsgEvent_t pMsg  ) 

This API is used by the Application to notify GATT that the processing of a message has been completed.

Parameters:
pMsg – pointer to the processed GATT message
Returns:
void
void GATT_SetHostToAppFlowCtrl ( uint8  flowCtrlMode  ) 

This API is used by the Application to turn flow control on or off for GATT messages sent from the Host to the Application.

Note: If the flow control is enabled then the Application must call the GATT_AppCompletedMsg() API when it completes processing an incoming GATT message.

Parameters:
flowCtrlMode – flow control mode: TRUE or FALSE
Returns:
void