Lancaster University's fork of the mbed BLE API. Lives on github, https://github.com/lancaster-university/BLE_API
Dependents: microbit-dal microbit-dal microbit-ble-open microbit-dal ... more
Fork of BLE_API by
Diff: ble/DiscoveredCharacteristic.h
- Revision:
- 1050:37101a458dfb
- Parent:
- 1048:efb29faf12fc
- Child:
- 1052:b55e1ad3e1b3
--- 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. */