cba69dd088
The existing Bluetooth examples are split as: 1. examples/bluetooth/bluedroid - Bluedroid Host (BT + BLE) examples a. examples/bluetooth/bluedroid/classic_bt - Classic BT examples b. examples/bluetooth/bluedroid/ble - BLE examples c. examples/bluetooth/bluedroid/coex - Classic BT and BLE coex examples d. examples/bluetooth/bluedroid/hci - VHCI and HCI UART examples i. Rename ble_adv to controller_vhci_ble_adv and move it in hci folder 2. examples/bluetooth/nimble - NimBLE BLE Host + NimBLE Mesh examples 3. examples/bluetooth/esp_ble_mesh - ESP BLE Mesh examples 4. Update documentation references
40 lines
1.1 KiB
C
40 lines
1.1 KiB
C
/*
|
|
This example code is in the Public Domain (or CC0 licensed, at your option.)
|
|
|
|
Unless required by applicable law or agreed to in writing, this
|
|
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
CONDITIONS OF ANY KIND, either express or implied.
|
|
*/
|
|
|
|
#ifndef __BT_APP_AV_H__
|
|
#define __BT_APP_AV_H__
|
|
|
|
#include <stdint.h>
|
|
#include "esp_a2dp_api.h"
|
|
#include "esp_avrc_api.h"
|
|
|
|
#define BT_AV_TAG "BT_AV"
|
|
#define BT_RC_TG_TAG "RCTG"
|
|
#define BT_RC_CT_TAG "RCCT"
|
|
|
|
/**
|
|
* @brief callback function for A2DP sink
|
|
*/
|
|
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
|
|
*/
|
|
void bt_app_a2d_data_cb(const uint8_t *data, uint32_t len);
|
|
|
|
/**
|
|
* @brief callback function for AVRCP controller
|
|
*/
|
|
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
|
|
*/
|
|
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__*/
|