mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-02 03:42:06 +00:00
move flow control to btc layer
defer free slot in btc layer when receive BTA_JV_RFCOMM_CLOSE_EVT
This commit is contained in:
@@ -409,7 +409,18 @@ extern int PORT_Control (UINT16 handle, UINT8 signal);
|
||||
*******************************************************************************/
|
||||
extern int PORT_FlowControl (UINT16 handle, BOOLEAN enable);
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
**
|
||||
** Function PORT_FlowControl_GiveCredit
|
||||
**
|
||||
** Description This function gives specified credits to the peer
|
||||
**
|
||||
** Parameters: handle - Handle returned in the RFCOMM_CreateConnection
|
||||
** enable - enables data flow
|
||||
** credits_given - credits to give
|
||||
**
|
||||
*******************************************************************************/
|
||||
extern int PORT_FlowControl_GiveCredit (UINT16 handle, BOOLEAN enable, UINT16 credits_given);
|
||||
/*******************************************************************************
|
||||
**
|
||||
** Function PORT_GetModemStatus
|
||||
|
Reference in New Issue
Block a user