esphome-api-client 0.5.0
Modern C++17 client for the ESPHome native API (plaintext + Noise)
Loading...
Searching...
No Matches
Static Public Member Functions | Public Attributes | List of all members
esphome::api::BleGattCharProperties Struct Reference

Typed view of the standard BLE GATT characteristic property bits. More...

#include <bluetooth_proxy.hpp>

Static Public Member Functions

static BleGattCharProperties from_bits (const std::uint32_t b)
 

Public Attributes

bool broadcast = false
 0x01
 
bool read = false
 0x02
 
bool write_without_response = false
 0x04
 
bool write = false
 0x08
 
bool notify = false
 0x10
 
bool indicate = false
 0x20
 
bool authenticated_signed_writes = false
 0x40
 
bool extended_properties = false
 0x80
 

Detailed Description

Typed view of the standard BLE GATT characteristic property bits.

Member Function Documentation

◆ from_bits()

static BleGattCharProperties esphome::api::BleGattCharProperties::from_bits ( const std::uint32_t  b)
inlinestatic

Member Data Documentation

◆ authenticated_signed_writes

bool esphome::api::BleGattCharProperties::authenticated_signed_writes = false

0x40

◆ broadcast

bool esphome::api::BleGattCharProperties::broadcast = false

0x01

◆ extended_properties

bool esphome::api::BleGattCharProperties::extended_properties = false

0x80

◆ indicate

bool esphome::api::BleGattCharProperties::indicate = false

0x20

◆ notify

bool esphome::api::BleGattCharProperties::notify = false

0x10

◆ read

bool esphome::api::BleGattCharProperties::read = false

0x02

◆ write

bool esphome::api::BleGattCharProperties::write = false

0x08

◆ write_without_response

bool esphome::api::BleGattCharProperties::write_without_response = false

0x04


The documentation for this struct was generated from the following file: