Arduino A2DP
Classes | Macros | Typedefs | Enumerations | Functions | Variables
BluetoothA2DPCommon.h File Reference
#include "config.h"
#include <math.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <vector>
#include "esp_idf_version.h"
#include "freertos/FreeRTOS.h"
#include "freertos/FreeRTOSConfig.h"
#include "freertos/queue.h"
#include "freertos/task.h"
#include "freertos/timers.h"
#include "xtensa_api.h"
#include "A2DPVolumeControl.h"
#include "esp_a2dp_api.h"
#include "esp_avrc_api.h"
#include "esp_bt.h"
#include "esp_bt_device.h"
#include "esp_bt_main.h"
#include "esp_gap_bt_api.h"
#include "esp_spp_api.h"
#include "esp_task_wdt.h"
#include "esp_timer.h"
#include "nvs.h"
#include "nvs_flash.h"
#include "esp_log.h"

Go to the source code of this file.

Classes

class  BluetoothA2DPCommon
 Common Bluetooth A2DP functions. More...
 
struct  bt_app_msg_t
 Internal message to be sent for BluetoothA2DPSink and BluetoothA2DPSource. More...
 

Macros

#define A2DP_DEPRECATED   __attribute__((deprecated))
 
#define APP_RC_CT_TL_GET_CAPS   (0)
 
#define APP_RC_CT_TL_GET_META_DATA   (1)
 
#define APP_RC_CT_TL_RN_PLAY_POS_CHANGE   (4)
 
#define APP_RC_CT_TL_RN_PLAYBACK_CHANGE   (3)
 
#define APP_RC_CT_TL_RN_TRACK_CHANGE   (2)
 
#define BT_APP_SIG_WORK_DISPATCH   (0x01)
 
#define BT_APP_TAG   "BT_API"
 
#define BT_AV_TAG   "BT_AV"
 
#define BT_RC_CT_TAG   "RCCT"
 

Typedefs

typedef void(* app_callback_t) (uint16_t event, void *param)
 handler for the dispatched work
 

Enumerations

enum  ReconnectStatus { NoReconnect , AutoReconnect , IsReconnecting }
 Buetooth A2DP Reconnect Status.
 

Functions

void ccall_app_a2d_callback (esp_a2d_cb_event_t event, esp_a2d_cb_param_t *param)
 
void ccall_app_gap_callback (esp_bt_gap_cb_event_t event, esp_bt_gap_cb_param_t *param)
 
void ccall_app_rc_ct_callback (esp_avrc_ct_cb_event_t event, esp_avrc_ct_cb_param_t *param)
 
void ccall_app_rc_tg_callback (esp_avrc_tg_cb_event_t event, esp_avrc_tg_cb_param_t *param)
 
void ccall_av_hdl_avrc_tg_evt (uint16_t event, void *p_param)
 
void ccall_av_hdl_stack_evt (uint16_t event, void *p_param)
 
void ccall_bt_app_task_handler (void *arg)
 

Variables

BluetoothA2DPCommonactual_bluetooth_a2dp_common
 

Detailed Description

Author
Phil Schatzmann