Direct-BT
2.3.1
Direct-BT - Direct Bluetooth Programming.
|
Public Member Functions | |
DelegatedBTGattCharListener (const BTGattChar *characteristicMatch, std::shared_ptr< BTGattChar::Listener > l) noexcept | |
bool | match (const BTGattChar &characteristic) noexcept override |
Custom filter for all event methods, which will not be called if this method returns false. More... | |
void | notificationReceived (BTGattCharRef charDecl, const TROOctets &charValue, const uint64_t timestamp) override |
Called from native BLE stack, initiated by a received notification associated with the given BTGattChar. More... | |
void | indicationReceived (BTGattCharRef charDecl, const TROOctets &charValue, const uint64_t timestamp, const bool confirmationSent) override |
Called from native BLE stack, initiated by a received indication associated with the given BTGattChar. More... | |
bool | operator== (const DelegatedBTGattCharListener &rhs) const noexcept |
bool | operator!= (const DelegatedBTGattCharListener &rhs) const noexcept |
Public Member Functions inherited from direct_bt::BTGattCharListener | |
virtual | ~BTGattCharListener () noexcept |
virtual bool | operator== (const BTGattCharListener &rhs) const noexcept |
Default comparison operator, merely testing for same memory reference. More... | |
bool | operator!= (const BTGattCharListener &rhs) const noexcept |
Definition at line 251 of file BTGattChar.cpp.
|
inlinenoexcept |
Definition at line 257 of file BTGattChar.cpp.
|
inlineoverridevirtual |
Called from native BLE stack, initiated by a received indication associated with the given BTGattChar.
charDecl | BTGattChar related to this indication |
charValue | the indication value |
timestamp | the indication monotonic timestamp, see BluetoothUtils#getCurrentMilliseconds() |
confirmationSent | if true, the native stack has sent the confirmation, otherwise user is required to do so. |
Implements direct_bt::BTGattCharListener.
Definition at line 272 of file BTGattChar.cpp.
|
inlineoverridevirtualnoexcept |
Custom filter for all event methods, which will not be called if this method returns false.
User may override this method to test whether the methods shall be called for the given BTGattChar.
Defaults to true;
Reimplemented from direct_bt::BTGattCharListener.
Definition at line 260 of file BTGattChar.cpp.
|
inlineoverridevirtual |
Called from native BLE stack, initiated by a received notification associated with the given BTGattChar.
charDecl | BTGattChar related to this notification |
charValue | the notification value |
timestamp | the indication monotonic timestamp, see getCurrentMilliseconds() |
Implements direct_bt::BTGattCharListener.
Definition at line 267 of file BTGattChar.cpp.
|
inlinenoexcept |
Definition at line 281 of file BTGattChar.cpp.
|
inlinenoexcept |
Definition at line 278 of file BTGattChar.cpp.