Properties of a discovered characteristic. More...
#include <DiscoveredCharacteristic.h>
Public Member Functions | |
bool | broadcast (void) const |
Return the value of the broadcast propertie. More... | |
bool | read (void) const |
Return the value of the read property. More... | |
bool | writeWoResp (void) const |
Return the value of the write without response property. More... | |
bool | write (void) const |
Return the value of the write property. More... | |
bool | notify (void) const |
Return the value of the notification property. More... | |
bool | indicate (void) const |
Return the value of the indicate property. More... | |
bool | authSignedWrite (void) const |
Return the value of the authenticated signed writes property. More... | |
Data Fields | |
uint8_t | _broadcast:1 |
Permits broadcasts of the characteristic value using the character the Server Characteristic Configuration Descriptor. More... | |
uint8_t | _read:1 |
If set, the value of the characteristic can be read. More... | |
uint8_t | _writeWoResp:1 |
If set, a write command can write the characteristic value (write without response). More... | |
uint8_t | _write:1 |
If set, clients can issue requests to write the characteristic. More... | |
uint8_t | _notify:1 |
If set, the server can emit notifications of the Characteristic Value (without client acknowledgment). More... | |
uint8_t | _indicate:1 |
If set, the server can emit indication of the Characteristic Value (with client acknowledgement). More... | |
uint8_t | _authSignedWrite:1 |
If set, signed write of the Characteristic Value is supported. More... | |
Friends | |
bool | operator== (Properties_t lhs, Properties_t rhs) |
Equal to operator for DiscoveredCharacteristic::Properties_t. More... | |
bool | operator!= (Properties_t lhs, Properties_t rhs) |
Not equal to operator for DiscoveredCharacteristic::Properties_t. More... | |
Properties of a discovered characteristic.
Definition at line 94 of file DiscoveredCharacteristic.h.
bool authSignedWrite | ( | void | ) | const |
Return the value of the authenticated signed writes property.
Definition at line 237 of file DiscoveredCharacteristic.h.
bool broadcast | ( | void | ) | const |
Return the value of the broadcast propertie.
Definition at line 153 of file DiscoveredCharacteristic.h.
bool indicate | ( | void | ) | const |
Return the value of the indicate property.
Definition at line 226 of file DiscoveredCharacteristic.h.
bool notify | ( | void | ) | const |
Return the value of the notification property.
Definition at line 209 of file DiscoveredCharacteristic.h.
bool read | ( | void | ) | const |
Return the value of the read property.
Definition at line 166 of file DiscoveredCharacteristic.h.
bool write | ( | void | ) | const |
Return the value of the write property.
Definition at line 192 of file DiscoveredCharacteristic.h.
bool writeWoResp | ( | void | ) | const |
Return the value of the write without response property.
Definition at line 179 of file DiscoveredCharacteristic.h.
|
friend |
Not equal to operator for DiscoveredCharacteristic::Properties_t.
lhs | The left hand side of the expression. |
rhs | The right hand side of the expression. |
Definition at line 269 of file DiscoveredCharacteristic.h.
|
friend |
Equal to operator for DiscoveredCharacteristic::Properties_t.
[in] | lhs | The left hand side of the equality expression. |
[in] | rhs | The right hand side of the equality expression. |
Definition at line 250 of file DiscoveredCharacteristic.h.
uint8_t _authSignedWrite |
If set, signed write of the Characteristic Value is supported.
Definition at line 141 of file DiscoveredCharacteristic.h.
uint8_t _broadcast |
Permits broadcasts of the characteristic value using the character the Server Characteristic Configuration Descriptor.
Definition at line 102 of file DiscoveredCharacteristic.h.
uint8_t _indicate |
If set, the server can emit indication of the Characteristic Value (with client acknowledgement).
Definition at line 136 of file DiscoveredCharacteristic.h.
uint8_t _notify |
If set, the server can emit notifications of the Characteristic Value (without client acknowledgment).
Definition at line 127 of file DiscoveredCharacteristic.h.
uint8_t _read |
If set, the value of the characteristic can be read.
Definition at line 107 of file DiscoveredCharacteristic.h.
uint8_t _write |
If set, clients can issue requests to write the characteristic.
Definition at line 118 of file DiscoveredCharacteristic.h.
uint8_t _writeWoResp |
If set, a write command can write the characteristic value (write without response).
Definition at line 113 of file DiscoveredCharacteristic.h.