Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BLE_API by
Diff: ble/DiscoveredCharacteristic.h
- Revision:
- 1050:37101a458dfb
- Parent:
- 1048:efb29faf12fc
- Child:
- 1052:b55e1ad3e1b3
diff -r d99774db03b4 -r 37101a458dfb ble/DiscoveredCharacteristic.h --- 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. */