mirror of https://github.com/ARMmbed/mbed-os.git
moving cbs to evt block
parent
6fd1859881
commit
ed405e1849
|
|
@ -318,12 +318,7 @@ public:
|
||||||
/* Notify that the instance is about to shutdown */
|
/* Notify that the instance is about to shutdown */
|
||||||
shutdownCallChain.call(this);
|
shutdownCallChain.call(this);
|
||||||
shutdownCallChain.clear();
|
shutdownCallChain.clear();
|
||||||
|
_evt = SecurityManagerEventBlock();
|
||||||
securitySetupInitiatedCallback = NULL;
|
|
||||||
securitySetupCompletedCallback = NULL;
|
|
||||||
linkSecuredCallback = NULL;
|
|
||||||
securityContextStoredCallback = NULL;
|
|
||||||
passkeyDisplayCallback = NULL;
|
|
||||||
|
|
||||||
return BLE_ERROR_NONE;
|
return BLE_ERROR_NONE;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@ struct boonded_list_t {
|
||||||
|
|
||||||
class SecurityManagerPal : private mbed::NonCopyable<SecurityManagerPal> {
|
class SecurityManagerPal : private mbed::NonCopyable<SecurityManagerPal> {
|
||||||
public:
|
public:
|
||||||
SecurityManagerPal(SecurityManagerEventHandler& sme) : _sme(sme) { };
|
SecurityManagerPal(SecurityManagerEventBlock& evt) : _evt(evt) { };
|
||||||
|
|
||||||
virtual ble_error_t initialize() = 0;
|
virtual ble_error_t initialize() = 0;
|
||||||
virtual ble_error_t terminate() = 0;
|
virtual ble_error_t terminate() = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue