mbed-os/features/FEATURE_BLE/ble
Vincent Coubard 05dcde839e BLE: Fix relationnal operator of SafeEnum
The relationnal operators were targeting the base class which defines an implicit constructor to an integral value. This is wrong as it allows SafeEnum instances to be compared against integers.

The fix is simple: define relationnal operators for the derived class. The derived class is known as it is passed as a template parameter of the base class.

For extra safety the SafeEnum constructor is now explicit and protected.
2019-02-08 16:48:59 +00:00
..
common BLE: Fix common/Duration.h doc. 2018-12-27 22:25:56 -06:00
gap BLE: Improve scan response process explanation. 2018-12-27 22:25:56 -06:00
generic suppress scan timeout if we disabled scanning 2019-01-14 13:06:14 +00:00
pal feat(pan-cordio): Add cordio-ll libraries and NORDIC implementation 2018-11-28 10:19:08 +00:00
services Update iBeacon.h 2019-01-25 14:29:59 +00:00
ArrayView.h BLE: Extend ArrayView to encode size in type. 2018-04-04 15:28:17 +01:00
BLE.h Update and cleanup BLE.h doxygen 2019-01-14 13:06:14 +00:00
BLEInstanceBase.h BLE: prefix inclusion of Gap header with "ble/" 2018-11-26 10:24:34 +00:00
BLEProtocol.h BLE: Revert address type changes. 2018-05-17 10:26:04 +01:00
BLETypes.h BLE: Fix address type in ::ble::Gap::connect 2018-11-26 14:13:07 +00:00
CallChainOfFunctionPointersWithContext.h Copy edit CallChainOfFunctionPointersWithContext.h 2017-11-07 15:30:27 -06:00
CharacteristicDescriptorDiscovery.h Copy edit CharacteristicDescriptorDiscovery.h 2017-11-07 15:34:57 -06:00
DiscoveredCharacteristic.h BLE: prefix inclusion of Gap header with "ble/" 2018-11-26 10:24:34 +00:00
DiscoveredCharacteristicDescriptor.h BLE: prefix inclusion of Gap header with "ble/" 2018-11-26 10:24:34 +00:00
DiscoveredService.h BLE: Fix doxygen warnings. 2017-12-13 16:14:16 +00:00
FunctionPointerWithContext.h BLE: Fix doxygen warnings. 2017-12-13 18:30:38 +00:00
Gap.h Edit Gap.h 2018-11-26 17:58:50 -06:00
GapAdvertisingData.h BLE: Revert GapAdvertisingdata and create new type for extened Advertising data. 2018-11-26 10:24:31 +00:00
GapAdvertisingParams.h BLE: Revert space change in ble/GapAdvertisingParams.h 2018-11-26 10:24:33 +00:00
GapEvents.h BLE: Put GapEvent into INVALID doxygen sections. 2017-12-13 16:15:21 +00:00
GapScanningParams.h BLE: revert GapScanningParams 2018-11-26 10:24:31 +00:00
GattAttribute.h BLE: Add security requement support into GattAttribute. 2018-04-26 17:26:15 +01:00
GattCallbackParamTypes.h BLE: Fix doxygen warnings. 2017-12-13 16:14:16 +00:00
GattCharacteristic.h BLE: prefix inclusion of Gap header with "ble/" 2018-11-26 10:24:34 +00:00
GattClient.h BLE: prefix inclusion of Gap header with "ble/" 2018-11-26 10:24:34 +00:00
GattServer.h BLE: prefix inclusion of Gap header with "ble/" 2018-11-26 10:24:34 +00:00
GattServerEvents.h BLE: Fix doxygen warnings. 2017-12-13 16:14:16 +00:00
GattService.h BLE: Fix doxygen warnings. 2017-12-13 16:14:16 +00:00
SafeBool.h BLE: Fix doxygen warnings. 2017-12-13 16:14:16 +00:00
SafeEnum.h BLE: Fix relationnal operator of SafeEnum 2019-02-08 16:48:59 +00:00
SecurityManager.h BLE: prefix inclusion of Gap header with "ble/" 2018-11-26 10:24:34 +00:00
ServiceDiscovery.h BLE: prefix inclusion of Gap header with "ble/" 2018-11-26 10:24:34 +00:00
UUID.h Merge pull request #5739 from pan-/nordic-new-client 2018-01-11 10:26:47 -06:00
blecommon.h UUID handling 2018-11-26 10:24:34 +00:00
deprecate.h BLE: Imrpove deprecated.h documentation. 2017-10-27 14:34:51 -05:00