component/bt: modification to a2dp API to support reconnection
1. add API esp_a2d_sink_connect() to initiate connection to other devices; 2. modify lower layers to transfer the disconnection reason upwards
This commit is contained in:
@@ -203,6 +203,9 @@ typedef UINT8 AVDT_REPORT_TYPE;
|
||||
#define AVDT_NSC_RECONFIG 0x02 /* Reconfigure command not supported */
|
||||
#define AVDT_NSC_SECURITY 0x04 /* Security command not supported */
|
||||
|
||||
/* AVDT disconnection reason */
|
||||
#define AVDT_DISC_RSN_NORMAL 0
|
||||
#define AVDT_DISC_RSN_ABNORMAL (0xce) /* unintentional disconnection */
|
||||
/*****************************************************************************
|
||||
** Type Definitions
|
||||
*****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user