High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: common/BLEDeviceInstanceBase.h
- Revision:
- 519:4af237e9f913
- Parent:
- 518:54731cc463b3
- Child:
- 524:6e97ab392e2a
--- a/common/BLEDeviceInstanceBase.h Fri Jun 19 15:52:05 2015 +0100 +++ b/common/BLEDeviceInstanceBase.h Fri Jun 19 15:52:05 2015 +0100 @@ -24,12 +24,12 @@ class BLEDeviceInstanceBase { public: + virtual ble_error_t init(void) = 0; + virtual ble_error_t shutdown(void) = 0; + virtual ble_error_t reset(void) = 0; virtual const char *getVersion(void) = 0; virtual Gap& getGap() = 0; virtual GattServer& getGattServer() = 0; - virtual ble_error_t init(void) = 0; - virtual ble_error_t shutdown(void) = 0; - virtual ble_error_t reset(void) = 0; virtual ble_error_t initializeSecurity(bool enableBonding = true, bool requireMITM = true, Gap::SecurityIOCapabilities_t iocaps = Gap::IO_CAPS_NONE,