Select one of the symbols to view example projects that use it.
 
Outline
#define __BTC_A2DP_CONTROL_H__
#include <stdbool.h>
#include "common/bt_target.h"
#include "bta/bta_api.h"
#include "btc_av_api.h"
#include "esp_a2dp_api.h"
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/bt/host/bluedroid/btc/profile/std/include/btc_a2dp_control.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ /******************************************************************************* * * Filename: btc_a2dp_control.h * *******************************************************************************//* ... */ #ifndef __BTC_A2DP_CONTROL_H__ #define __BTC_A2DP_CONTROL_H__ #include <stdbool.h> #include "common/bt_target.h" #include "bta/bta_api.h" #include "btc_av_api.h" #include "esp_a2dp_api.h"5 includes #if BTC_AV_INCLUDED /******************************************************************************* ** Public functions *******************************************************************************//* ... */ /******************************************************************************* ** ** Function btc_a2dp_control_media_ctrl ** ** Description Handle the media_ctrl command ** *******************************************************************************//* ... */ void btc_a2dp_control_media_ctrl(esp_a2d_media_ctrl_t ctrl); /******************************************************************************* ** ** Function btc_a2dp_control_datapath_ctrl ** ** Description Handle the media datapath event, which is adapted from UIPC ** data channel from bluedroid ** *******************************************************************************//* ... */ void btc_a2dp_control_datapath_ctrl(uint32_t dp_evt); /******************************************************************************* ** ** Function btc_a2dp_control_command_ack ** ** Description Acknowledge the pending media_ctrl command ** *******************************************************************************//* ... */ void btc_a2dp_control_command_ack(int status); /******************************************************************************* ** ** Function btc_a2dp_control_get_datachnl_stat ** ** Description Check whether the data channel state is open ** ** Return TRUE if the data channel state is open ** *******************************************************************************//* ... */ BOOLEAN btc_a2dp_control_get_datachnl_stat(void); /******************************************************************************* ** ** Function btc_a2dp_control_set_datachnl_stat ** ** Description Set the data channel state flag ** *******************************************************************************//* ... */ void btc_a2dp_control_set_datachnl_stat(BOOLEAN open); /******************************************************************************* ** ** Function btc_a2dp_control_init ** ** Description Initialize the A2DP control module. It should be called during ** the startup stage of A2DP streaming. ** *******************************************************************************//* ... */ bool btc_a2dp_control_init(void); /******************************************************************************* ** ** Function btc_a2dp_control_cleanup ** ** Description Cleanup the A2DP control module ** *******************************************************************************//* ... */ void btc_a2dp_control_cleanup(void); /* ... */ #endif /* #if BTC_AV_INCLUDED */ /* ... */ #endif /* __BTC_A2DP_CONTROL_H__ */
Details
Show:
from
Types: Columns:
This file uses the notable symbols shown below. Click anywhere in the file to view more details.