add "LE Device Address" 0x1B to advertising data types
Fork of BLE_API by
Revision 1050:37101a458dfb, committed 2016-01-11
- Comitter:
- vcoubard
- Date:
- Mon Jan 11 08:51:29 2016 +0000
- Parent:
- 1049:d99774db03b4
- Child:
- 1051:62b44b3be31b
- Commit message:
- Synchronized with git rev 15c69957
Author: Vincent Coubard
Add operator!= for DiscoveredCharacteristic::Properties_t
Changed in this revision
ble/DiscoveredCharacteristic.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/ble/DiscoveredCharacteristic.h Mon Jan 11 08:51:29 2016 +0000 +++ b/ble/DiscoveredCharacteristic.h Mon Jan 11 08:51:29 2016 +0000 @@ -59,6 +59,10 @@ rhs._authSignedWrite == lhs._authSignedWrite; } + friend bool operator!=(Properties_t rhs, Properties_t lhs) { + return !(rhs == lhs); + } + private: operator uint8_t() const; /* Disallow implicit conversion into an integer. */ operator unsigned() const; /* Disallow implicit conversion into an integer. */