#include <ble_service.h>
Definition at line 23 of file ble_service.h.
◆ InitState
Enumerator |
---|
FAILED | |
INIT | |
CREATING | |
CREATING_DEPENDENTS | |
CREATED | |
DELETING | |
DELETED | |
Definition at line 69 of file ble_service.h.
◆ RunningState
Enumerator |
---|
STARTING | |
RUNNING | |
STOPPING | |
STOPPED | |
Definition at line 79 of file ble_service.h.
◆ BLEService()
esphome::esp32_ble_server::BLEService::BLEService |
( |
ESPBTUUID |
uuid, |
|
|
uint16_t |
num_handles, |
|
|
uint8_t |
inst_id, |
|
|
bool |
advertise |
|
) |
| |
◆ ~BLEService()
esphome::esp32_ble_server::BLEService::~BLEService |
( |
| ) |
|
◆ create_characteristic() [1/3]
BLECharacteristic * esphome::esp32_ble_server::BLEService::create_characteristic |
( |
const std::string & |
uuid, |
|
|
esp_gatt_char_prop_t |
properties |
|
) |
| |
◆ create_characteristic() [2/3]
BLECharacteristic * esphome::esp32_ble_server::BLEService::create_characteristic |
( |
uint16_t |
uuid, |
|
|
esp_gatt_char_prop_t |
properties |
|
) |
| |
◆ create_characteristic() [3/3]
BLECharacteristic * esphome::esp32_ble_server::BLEService::create_characteristic |
( |
ESPBTUUID |
uuid, |
|
|
esp_gatt_char_prop_t |
properties |
|
) |
| |
◆ do_create()
void esphome::esp32_ble_server::BLEService::do_create |
( |
BLEServer * |
server | ) |
|
◆ do_create_characteristics_()
bool esphome::esp32_ble_server::BLEService::do_create_characteristics_ |
( |
| ) |
|
|
protected |
◆ do_delete()
void esphome::esp32_ble_server::BLEService::do_delete |
( |
| ) |
|
◆ gatts_event_handler()
void esphome::esp32_ble_server::BLEService::gatts_event_handler |
( |
esp_gatts_cb_event_t |
event, |
|
|
esp_gatt_if_t |
gatts_if, |
|
|
esp_ble_gatts_cb_param_t * |
param |
|
) |
| |
◆ get_characteristic() [1/2]
◆ get_characteristic() [2/2]
BLECharacteristic * esphome::esp32_ble_server::BLEService::get_characteristic |
( |
uint16_t |
uuid | ) |
|
◆ get_handle()
uint16_t esphome::esp32_ble_server::BLEService::get_handle |
( |
| ) |
|
|
inline |
◆ get_last_created_characteristic()
BLECharacteristic* esphome::esp32_ble_server::BLEService::get_last_created_characteristic |
( |
| ) |
|
|
inline |
◆ get_server()
BLEServer* esphome::esp32_ble_server::BLEService::get_server |
( |
| ) |
|
|
inline |
◆ get_uuid()
ESPBTUUID esphome::esp32_ble_server::BLEService::get_uuid |
( |
| ) |
|
|
inline |
◆ is_created()
bool esphome::esp32_ble_server::BLEService::is_created |
( |
| ) |
|
◆ is_deleted()
bool esphome::esp32_ble_server::BLEService::is_deleted |
( |
| ) |
|
|
inline |
◆ is_failed()
bool esphome::esp32_ble_server::BLEService::is_failed |
( |
| ) |
|
◆ is_running()
bool esphome::esp32_ble_server::BLEService::is_running |
( |
| ) |
|
|
inline |
◆ is_starting()
bool esphome::esp32_ble_server::BLEService::is_starting |
( |
| ) |
|
|
inline |
◆ start()
void esphome::esp32_ble_server::BLEService::start |
( |
| ) |
|
◆ stop()
void esphome::esp32_ble_server::BLEService::stop |
( |
| ) |
|
◆ stop_()
void esphome::esp32_ble_server::BLEService::stop_ |
( |
| ) |
|
|
protected |
◆ advertise_
bool esphome::esp32_ble_server::BLEService::advertise_ {false} |
|
protected |
◆ characteristics_
std::vector<BLECharacteristic *> esphome::esp32_ble_server::BLEService::characteristics_ |
|
protected |
◆ created_characteristic_count_
uint32_t esphome::esp32_ble_server::BLEService::created_characteristic_count_ {0} |
|
protected |
◆ handle_
uint16_t esphome::esp32_ble_server::BLEService::handle_ {0xFFFF} |
|
protected |
◆ INIT
◆ inst_id_
uint8_t esphome::esp32_ble_server::BLEService::inst_id_ |
|
protected |
◆ last_created_characteristic_
BLECharacteristic* esphome::esp32_ble_server::BLEService::last_created_characteristic_ {nullptr} |
|
protected |
◆ num_handles_
uint16_t esphome::esp32_ble_server::BLEService::num_handles_ |
|
protected |
◆ server_
BLEServer* esphome::esp32_ble_server::BLEService::server_ |
|
protected |
◆ should_start_
bool esphome::esp32_ble_server::BLEService::should_start_ {false} |
|
protected |
◆ STOPPED
◆ uuid_
ESPBTUUID esphome::esp32_ble_server::BLEService::uuid_ |
|
protected |
The documentation for this class was generated from the following files: