Bike service

Fork of BLE_API by Bluetooth Low Energy

Revision:
1075:0d0dafb54bc9
Parent:
1074:1fedc77d9add
Child:
1082:127667021827
--- a/ble/SecurityManager.h	Mon Jan 11 08:51:42 2016 +0000
+++ b/ble/SecurityManager.h	Mon Jan 11 08:51:43 2016 +0000
@@ -231,28 +231,6 @@
         /* empty */
     }
 
-public:
-    /**
-     * Clear all SecurityManager state of the associated object.
-     *
-     * This function is meant to be overridden in the platform-specific
-     * sub-class. Nevertheless, the sub-class is only expected to reset its
-     * state and not the data held in SecurityManager members. This shall be
-     * achieved by a call to SecurityManager::reset() from the sub-class'
-     * reset() implementation.
-     *
-     * @return BLE_ERROR_NONE on success.
-     */
-    virtual ble_error_t reset(void) {
-        securitySetupInitiatedCallback = NULL;
-        securitySetupCompletedCallback = NULL;
-        linkSecuredCallback = NULL;
-        securityContextStoredCallback = NULL;
-        passkeyDisplayCallback = NULL;
-
-        return BLE_ERROR_NONE;
-    }
-
 protected:
     SecuritySetupInitiatedCallback_t securitySetupInitiatedCallback;
     SecuritySetupCompletedCallback_t securitySetupCompletedCallback;