mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-11 13:00:19 +00:00
bt: Added esp_spp_enhance_init() API to indicate whether to enable L2CAP ERTM
This commit is contained in:
@@ -1866,4 +1866,18 @@ const char *PORT_GetResultString (const uint8_t result_code)
|
||||
return result_code_strings[result_code];
|
||||
}
|
||||
|
||||
/*******************************************************************************
|
||||
**
|
||||
** Function PORT_SetL2capErtm
|
||||
**
|
||||
** Description This function sets whether RFCOMM uses L2CAP ERTM.
|
||||
**
|
||||
** Returns void
|
||||
**
|
||||
*******************************************************************************/
|
||||
void PORT_SetL2capErtm (BOOLEAN enable_l2cap_ertm)
|
||||
{
|
||||
rfc_cb.port.enable_l2cap_ertm = enable_l2cap_ertm;
|
||||
}
|
||||
|
||||
#endif ///(defined RFCOMM_INCLUDED && RFCOMM_INCLUDED == TRUE)
|
||||
|
Reference in New Issue
Block a user