10#include <esp_bt_defs.h>
11#include <esp_gap_ble_api.h>
12#include <esp_gatt_defs.h>
13#include <esp_gattc_api.h>
14#include <esp_gatts_api.h>
17namespace esp32_ble_server {
21using namespace esp32_ble;
43 void gatts_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble_gatts_cb_param_t *param);
BLECharacteristic * create_characteristic(const std::string &uuid, esp_gatt_char_prop_t properties)
BLEService(ESPBTUUID uuid, uint16_t num_handles, uint8_t inst_id, bool advertise)
uint32_t created_characteristic_count_
void do_create(BLEServer *server)
void gatts_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble_gatts_cb_param_t *param)
BLECharacteristic * last_created_characteristic_
bool do_create_characteristics_()
enum esphome::esp32_ble_server::BLEService::State INIT
std::vector< BLECharacteristic * > characteristics_
BLECharacteristic * get_last_created_characteristic()
BLECharacteristic * get_characteristic(ESPBTUUID uuid)
Providing packet encoding functions for exchanging data with a remote host.