Updated
Fork of BLE_API by
Diff: common/BLEInstanceBase.h
- Revision:
- 546:9fdf3d960d12
- Parent:
- 538:fff02872b62f
diff -r 45bbdb1d5eca -r 9fdf3d960d12 common/BLEInstanceBase.h --- a/common/BLEInstanceBase.h Fri Jun 19 15:52:09 2015 +0100 +++ b/common/BLEInstanceBase.h Fri Jun 19 15:52:09 2015 +0100 @@ -38,10 +38,8 @@ virtual GattServer& getGattServer() = 0; virtual const GattServer& getGattServer() const = 0; virtual GattClient& getGattClient() = 0; - virtual ble_error_t initializeSecurity(bool enableBonding = true, - bool requireMITM = true, - Gap::SecurityIOCapabilities_t iocaps = Gap::IO_CAPS_NONE, - const Gap::Passkey_t passkey = NULL) = 0; + virtual SecurityManager& getSecurityManager() = 0; + virtual const SecurityManager& getSecurityManager() const = 0; virtual void waitForEvent(void) = 0; };