#include "config.h"
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdbool.h>
#include <string.h>
#include <math.h>
#include "freertos/FreeRTOS.h"
#include "freertos/timers.h"
#include "freertos/xtensa_api.h"
#include "freertos/FreeRTOSConfig.h"
#include "freertos/queue.h"
#include "freertos/task.h"
#include "esp_bt.h"
#include "esp_bt_main.h"
#include "esp_bt_device.h"
#include "esp_gap_bt_api.h"
#include "esp_a2dp_api.h"
#include "driver/i2s.h"
#include "esp_avrc_api.h"
#include "esp_spp_api.h"
#include "nvs.h"
#include "nvs_flash.h"
#include "SoundData.h"
#include "A2DPVolumeControl.h"
#include "esp_task_wdt.h"
#include "esp_log.h"
Go to the source code of this file.
|
|
#define | I2S_COMM_FORMAT_STAND_I2S (I2S_COMM_FORMAT_I2S | I2S_COMM_FORMAT_I2S_MSB) |
| |
|
#define | I2S_COMM_FORMAT_STAND_MSB (I2S_COMM_FORMAT_I2S | I2S_COMM_FORMAT_I2S_LSB) |
| |
|
#define | I2S_COMM_FORMAT_STAND_PCM_LONG (I2S_COMM_FORMAT_PCM | I2S_COMM_FORMAT_PCM_LONG) |
| |
|
#define | I2S_COMM_FORMAT_STAND_PCM_SHORT (I2S_COMM_FORMAT_PCM | I2S_COMM_FORMAT_PCM_SHORT) |
| |
|
#define | BT_AV_TAG "BT_AV" |
| |
|
#define | BT_RC_CT_TAG "RCCT" |
| |
|
#define | BT_APP_TAG "BT_API" |
| |
|
#define | APP_RC_CT_TL_GET_CAPS (0) |
| |
|
|
typedef void(* | app_callback_t) (uint16_t event, void *param) |
| | handler for the dispatched work
|
| |
|
| enum | ReconnectStatus { NoReconnect
, AutoReconnect
, IsReconnecting
} |
| |
|
| bool | btStart () |
| | Startup logic as implemented by Arduino - This is not available if we use this library outside of Arduino.
|
| |
| void | delay (long millis) |
| | call vTaskDelay to deley for the indicated number of milliseconds
|
| |
|
unsigned long | millis () |
| |
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ btStart()
Startup logic as implemented by Arduino - This is not available if we use this library outside of Arduino.
- Returns
- true
-
false
◆ delay()
| void delay |
( |
long |
millis | ) |
|
call vTaskDelay to deley for the indicated number of milliseconds