Arduino A2DP

Loading...
Searching...
No Matches
external_lists.h
1
5 enum esp_a2d_audio_state_t {
6 ESP_A2D_AUDIO_STATE_SUSPEND = 0,
7 ESP_A2D_AUDIO_STATE_STARTED,
8 ESP_A2D_AUDIO_STATE_STOPPED = ESP_A2D_AUDIO_STATE_SUSPEND,
9 ESP_A2D_AUDIO_STATE_REMOTE_SUSPEND = ESP_A2D_AUDIO_STATE_SUSPEND,
10};
11
16 enum esp_a2d_connection_state_t {
17 ESP_A2D_CONNECTION_STATE_DISCONNECTED = 0,
18 ESP_A2D_CONNECTION_STATE_CONNECTING,
19 ESP_A2D_CONNECTION_STATE_CONNECTED,
20 ESP_A2D_CONNECTION_STATE_DISCONNECTING
21} ;
22
27 enum esp_avrc_rn_event_ids_t
28 ESP_AVRC_RN_PLAY_STATUS_CHANGE = 0x01,
29 ESP_AVRC_RN_TRACK_CHANGE = 0x02,
30 ESP_AVRC_RN_TRACK_REACHED_END = 0x03,
31 ESP_AVRC_RN_TRACK_REACHED_START = 0x04,
32 ESP_AVRC_RN_PLAY_POS_CHANGED = 0x05,
33 ESP_AVRC_RN_BATTERY_STATUS_CHANGE = 0x06,
34 ESP_AVRC_RN_SYSTEM_STATUS_CHANGE = 0x07,
35 ESP_AVRC_RN_APP_SETTING_CHANGE = 0x08,
36 ESP_AVRC_RN_NOW_PLAYING_CHANGE = 0x09,
37 ESP_AVRC_RN_AVAILABLE_PLAYERS_CHANGE = 0x0a,
38 ESP_AVRC_RN_ADDRESSED_PLAYER_CHANGE = 0x0b,
39 ESP_AVRC_RN_UIDS_CHANGE = 0x0c,
40 ESP_AVRC_RN_VOLUME_CHANGE = 0x0d,
41 ESP_AVRC_RN_MAX_EVT
42};
43
44
45
50 enum esp_avrc_rn_event_ids_t{
51 ESP_AVRC_RN_PLAY_STATUS_CHANGE = 0x01,
52 ESP_AVRC_RN_TRACK_CHANGE = 0x02,
53 ESP_AVRC_RN_TRACK_REACHED_END = 0x03,
54 ESP_AVRC_RN_TRACK_REACHED_START = 0x04,
55 ESP_AVRC_RN_PLAY_POS_CHANGED = 0x05,
56 ESP_AVRC_RN_BATTERY_STATUS_CHANGE = 0x06,
57 ESP_AVRC_RN_SYSTEM_STATUS_CHANGE = 0x07,
58 ESP_AVRC_RN_APP_SETTING_CHANGE = 0x08,
59 ESP_AVRC_RN_NOW_PLAYING_CHANGE = 0x09,
60 ESP_AVRC_RN_AVAILABLE_PLAYERS_CHANGE = 0x0a,
61 ESP_AVRC_RN_ADDRESSED_PLAYER_CHANGE = 0x0b,
62 ESP_AVRC_RN_UIDS_CHANGE = 0x0c,
63 ESP_AVRC_RN_VOLUME_CHANGE = 0x0d,
64 ESP_AVRC_RN_MAX_EVT
65};
66
67
72 enum esp_avrc_playback_stat_t{
73 ESP_AVRC_PLAYBACK_STOPPED = 0,
74 ESP_AVRC_PLAYBACK_PLAYING = 1,
75 ESP_AVRC_PLAYBACK_PAUSED = 2,
76 ESP_AVRC_PLAYBACK_FWD_SEEK = 3,
77 ESP_AVRC_PLAYBACK_REV_SEEK = 4,
78 ESP_AVRC_PLAYBACK_ERROR = 0xFF,
79} ;
80
85 enum esp_bt_discovery_mode_t{
86 ESP_BT_NON_DISCOVERABLE,
87 ESP_BT_LIMITED_DISCOVERABLE,
88 ESP_BT_GENERAL_DISCOVERABLE,
89} ;
90
91
96 enum esp_bt_mode_t {
97 ESP_BT_MODE_IDLE = 0x00,
98 ESP_BT_MODE_BLE = 0x01,
99 ESP_BT_MODE_CLASSIC_BT = 0x02,
100 ESP_BT_MODE_BTDM = 0x03,
101} ;
102
107 typedef uint8_t esp_bd_addr_t[ESP_BD_ADDR_LEN];
esp_avrc_rn_event_ids_t
esp_avrc_rn_event_ids_t
AVRC event notification ids.
Definition external_lists.h:50
esp_a2d_audio_state_t
esp_a2d_audio_state_t
Buetooth A2DP datapath states.
Definition external_lists.h:5
esp_a2d_connection_state_t
esp_a2d_connection_state_t
Buetooth A2DP connection states.
Definition external_lists.h:16
esp_bt_discovery_mode_t
esp_bt_discovery_mode_t
AVRCP discovery mode.
Definition external_lists.h:85
esp_avrc_playback_stat_t
esp_avrc_playback_stat_t
AVRCP current status of playback.
Definition external_lists.h:72
esp_bt_mode_t
esp_bt_mode_t
Bluetooth Controller mode.
Definition external_lists.h:96
ESP_AVRC_RN_PLAY_STATUS_CHANGE
enum esp_avrc_rn_event_ids_t ESP_AVRC_RN_PLAY_STATUS_CHANGE
AVRC event notification ids.
Definition external_lists.h:28
esp_bd_addr_t
uint8_t esp_bd_addr_t[ESP_BD_ADDR_LEN]
Bluetooth address.
Definition external_lists.h:107
ESP_A2D_AUDIO_STATE_STARTED
@ ESP_A2D_AUDIO_STATE_STARTED
Definition external_lists.h:7
ESP_A2D_AUDIO_STATE_REMOTE_SUSPEND
@ ESP_A2D_AUDIO_STATE_REMOTE_SUSPEND
Definition external_lists.h:9
ESP_A2D_AUDIO_STATE_STOPPED
@ ESP_A2D_AUDIO_STATE_STOPPED
Definition external_lists.h:8
ESP_A2D_AUDIO_STATE_SUSPEND
@ ESP_A2D_AUDIO_STATE_SUSPEND
Definition external_lists.h:6
ESP_A2D_CONNECTION_STATE_CONNECTED
@ ESP_A2D_CONNECTION_STATE_CONNECTED
Definition external_lists.h:19
ESP_A2D_CONNECTION_STATE_CONNECTING
@ ESP_A2D_CONNECTION_STATE_CONNECTING
Definition external_lists.h:18
ESP_A2D_CONNECTION_STATE_DISCONNECTED
@ ESP_A2D_CONNECTION_STATE_DISCONNECTED
Definition external_lists.h:17
ESP_A2D_CONNECTION_STATE_DISCONNECTING
@ ESP_A2D_CONNECTION_STATE_DISCONNECTING
Definition external_lists.h:20
ESP_BT_LIMITED_DISCOVERABLE
@ ESP_BT_LIMITED_DISCOVERABLE
Definition external_lists.h:87
ESP_BT_NON_DISCOVERABLE
@ ESP_BT_NON_DISCOVERABLE
Definition external_lists.h:86
ESP_BT_GENERAL_DISCOVERABLE
@ ESP_BT_GENERAL_DISCOVERABLE
Definition external_lists.h:88
ESP_AVRC_PLAYBACK_PLAYING
@ ESP_AVRC_PLAYBACK_PLAYING
Definition external_lists.h:74
ESP_AVRC_PLAYBACK_FWD_SEEK
@ ESP_AVRC_PLAYBACK_FWD_SEEK
Definition external_lists.h:76
ESP_AVRC_PLAYBACK_STOPPED
@ ESP_AVRC_PLAYBACK_STOPPED
Definition external_lists.h:73
ESP_AVRC_PLAYBACK_REV_SEEK
@ ESP_AVRC_PLAYBACK_REV_SEEK
Definition external_lists.h:77
ESP_AVRC_PLAYBACK_PAUSED
@ ESP_AVRC_PLAYBACK_PAUSED
Definition external_lists.h:75
ESP_AVRC_PLAYBACK_ERROR
@ ESP_AVRC_PLAYBACK_ERROR
Definition external_lists.h:78
ESP_BT_MODE_BTDM
@ ESP_BT_MODE_BTDM
Definition external_lists.h:100
ESP_BT_MODE_IDLE
@ ESP_BT_MODE_IDLE
Definition external_lists.h:97
ESP_BT_MODE_CLASSIC_BT
@ ESP_BT_MODE_CLASSIC_BT
Definition external_lists.h:99
ESP_BT_MODE_BLE
@ ESP_BT_MODE_BLE
Definition external_lists.h:98