ESPHome
2025.2.0
Main Page
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
y
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
d
e
f
i
j
l
m
n
p
q
r
s
t
u
v
+
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
c
d
o
p
s
t
v
w
+
Enumerations
b
c
e
f
i
m
n
p
r
s
t
v
+
Enumerator
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Related Functions
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
+
Functions
_
a
l
m
o
s
t
u
+
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
Typedefs
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
esphome
esphome
components
esp32_ble_client
ble_service.h
Go to the documentation of this file.
1
#pragma once
2
3
#ifdef USE_ESP32
4
5
#include "
esphome/components/esp32_ble_tracker/esp32_ble_tracker.h
"
6
7
#include "ble_characteristic.h"
8
9
#include <vector>
10
11
namespace
esphome
{
12
namespace
esp32_ble_client {
13
14
namespace
espbt
=
esphome::esp32_ble_tracker
;
15
16
class
BLEClientBase;
17
18
class
BLEService
{
19
public
:
20
~BLEService
();
21
bool
parsed
=
false
;
22
espbt::ESPBTUUID
uuid
;
23
uint16_t
start_handle
;
24
uint16_t
end_handle
;
25
std::vector<BLECharacteristic *>
characteristics
;
26
BLEClientBase
*
client
;
27
void
parse_characteristics
();
28
void
release_characteristics
();
29
BLECharacteristic
*
get_characteristic
(
espbt::ESPBTUUID
uuid);
30
BLECharacteristic
*
get_characteristic
(uint16_t uuid);
31
};
32
33
}
// namespace esp32_ble_client
34
}
// namespace esphome
35
36
#endif // USE_ESP32
esphome::esp32_ble_client::BLEService::parsed
bool parsed
Definition:
ble_service.h:21
esphome::esp32_ble_client::BLEService::get_characteristic
BLECharacteristic * get_characteristic(espbt::ESPBTUUID uuid)
Definition:
ble_service.cpp:13
esp32_ble_tracker.h
esphome::esp32_ble::ESPBTUUID
Definition:
ble_uuid.h:14
esphome::esp32_ble_client::BLEService::characteristics
std::vector< BLECharacteristic * > characteristics
Definition:
ble_service.h:25
esphome::esp32_ble_client::BLEClientBase
Definition:
ble_client_base.h:24
esphome::esp32_ble_client::BLECharacteristic
Definition:
ble_characteristic.h:18
esphome::esp32_ble_client::BLEService::start_handle
uint16_t start_handle
Definition:
ble_service.h:23
esphome::esp32_ble_client::BLEService::end_handle
uint16_t end_handle
Definition:
ble_service.h:24
esphome::esp32_ble_tracker
Definition:
automation.h:9
esphome::esp32_ble_client::BLEService::parse_characteristics
void parse_characteristics()
Definition:
ble_service.cpp:39
esphome::esp32_ble_client::BLEService::~BLEService
~BLEService()
Definition:
ble_service.cpp:27
esphome::esp32_ble_client::BLEService::release_characteristics
void release_characteristics()
Definition:
ble_service.cpp:32
esphome::esp32_ble_client::BLEService
Definition:
ble_service.h:18
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
esphome::esp32_ble_client::BLEService::uuid
espbt::ESPBTUUID uuid
Definition:
ble_service.h:22
esphome::esp32_ble_client::BLEService::client
BLEClientBase * client
Definition:
ble_service.h:26
Generated by
1.8.13