1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00:00
This commit is contained in:
J. Nick Koston
2025-07-21 12:55:05 -10:00
parent 91e1a4ff76
commit 37cbcd5110
2 changed files with 15 additions and 29 deletions

View File

@@ -1797,7 +1797,6 @@ class BluetoothGATTGetServicesRequest : public ProtoDecodableMessage {
class BluetoothGATTDescriptor : public ProtoMessage {
public:
std::array<uint64_t, 2> uuid{};
size_t uuid_index_{0};
uint32_t handle{0};
void encode(ProtoWriteBuffer buffer) const override;
void calculate_size(uint32_t &total_size) const override;
@@ -1810,7 +1809,6 @@ class BluetoothGATTDescriptor : public ProtoMessage {
class BluetoothGATTCharacteristic : public ProtoMessage {
public:
std::array<uint64_t, 2> uuid{};
size_t uuid_index_{0};
uint32_t handle{0};
uint32_t properties{0};
std::vector<BluetoothGATTDescriptor> descriptors{};
@@ -1825,7 +1823,6 @@ class BluetoothGATTCharacteristic : public ProtoMessage {
class BluetoothGATTService : public ProtoMessage {
public:
std::array<uint64_t, 2> uuid{};
size_t uuid_index_{0};
uint32_t handle{0};
std::vector<BluetoothGATTCharacteristic> characteristics{};
void encode(ProtoWriteBuffer buffer) const override;
@@ -1845,7 +1842,6 @@ class BluetoothGATTGetServicesResponse : public ProtoMessage {
#endif
uint64_t address{0};
std::array<BluetoothGATTService, 1> services{};
size_t services_index_{0};
void encode(ProtoWriteBuffer buffer) const override;
void calculate_size(uint32_t &total_size) const override;
#ifdef HAS_PROTO_MESSAGE_DUMP