a2dp_sink sample
Select one of the symbols to view example projects that use it.
Symbol previews are coming soon...
Outline
#define __BT_APP_AV_H__
#include <stdint.h>
#include "esp_a2dp_api.h"
#include "esp_avrc_api.h"
#define BT_AV_TAG
#define BT_RC_TG_TAG
#define BT_RC_CT_TAG
bt_app_a2d_cb(esp_a2d_cb_event_t, esp_a2d_cb_param_t *);
bt_app_a2d_data_cb(const uint8_t *, uint32_t);
bt_app_rc_ct_cb(esp_avrc_ct_cb_event_t, esp_avrc_ct_cb_param_t *);
bt_app_rc_tg_cb(esp_avrc_tg_cb_event_t, esp_avrc_tg_cb_param_t *);
Files
loading (2/4)...
SourceVu
ESP-IDF Framework and Examples
a2dp_sink sample
main/bt_app_av.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
/*
* SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Unlicense OR CC0-1.0
*/
/* ... */
#ifndef
__BT_APP_AV_H__
#define
__BT_APP_AV_H__
#include
<
stdint.h>
#include
"
esp_a2dp_api.h"
#include
"
esp_avrc_api.h"
/* log tags */
#define
BT_AV_TAG
"BT_AV"
#define
BT_RC_TG_TAG
"RC_TG"
#define
BT_RC_CT_TAG
"RC_CT"
/**
* @brief callback function for A2DP sink
*
* @param [in] event event id
* @param [in] param callback parameter
*/
/* ... */
void
bt_app_a2d_cb
(
esp_a2d_cb_event_t
event
,
esp_a2d_cb_param_t
*
param
)
;
/**
* @brief callback function for A2DP sink audio data stream
*
* @param [out] data data stream writteen by application task
* @param [in] len length of data stream in byte
*/
/* ... */
void
bt_app_a2d_data_cb
(
const
uint8_t
*
data
,
uint32_t
len
)
;
/**
* @brief callback function for AVRCP controller
*
* @param [in] event event id
* @param [in] param callback parameter
*/
/* ... */
void
bt_app_rc_ct_cb
(
esp_avrc_ct_cb_event_t
event
,
esp_avrc_ct_cb_param_t
*
param
)
;
/**
* @brief callback function for AVRCP target
*
* @param [in] event event id
* @param [in] param callback parameter
*/
/* ... */
void
bt_app_rc_tg_cb
(
esp_avrc_tg_cb_event_t
event
,
esp_avrc_tg_cb_param_t
*
param
)
;
/* ... */
#endif
/* __BT_APP_AV_H__*/
Details
Show:
from
Types:
Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.
bt_app_a2d_cb()
bt_app_a2d_data_cb()
bt_app_rc_ct_cb()
bt_app_rc_tg_cb()
BT_AV_TAG
BT_RC_CT_TAG
BT_RC_TG_TAG
bt_app_rc_ct_cb()::event
bt_app_a2d_cb()::event
bt_app_rc_ct_cb()::param
bt_app_rc_tg_cb()::event
bt_app_a2d_cb()::param
bt_app_a2d_data_cb()::data
bt_app_a2d_data_cb()::len
bt_app_rc_tg_cb()::param
__BT_APP_AV_H__
esp_a2d_cb_event_t
esp_a2d_cb_param_t
esp_avrc_ct_cb_event_t
esp_avrc_ct_cb_param_t
esp_avrc_tg_cb_event_t
esp_avrc_tg_cb_param_t