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 */
|
||||
shutdownCallChain.call(this);
|
||||
shutdownCallChain.clear();
|
||||
|
||||
securitySetupInitiatedCallback = NULL;
|
||||
securitySetupCompletedCallback = NULL;
|
||||
linkSecuredCallback = NULL;
|
||||
securityContextStoredCallback = NULL;
|
||||
passkeyDisplayCallback = NULL;
|
||||
_evt = SecurityManagerEventBlock();
|
||||
|
||||
return BLE_ERROR_NONE;
|
||||
}
|
||||
|
|
|
@ -77,7 +77,7 @@ struct boonded_list_t {
|
|||
|
||||
class SecurityManagerPal : private mbed::NonCopyable<SecurityManagerPal> {
|
||||
public:
|
||||
SecurityManagerPal(SecurityManagerEventHandler& sme) : _sme(sme) { };
|
||||
SecurityManagerPal(SecurityManagerEventBlock& evt) : _evt(evt) { };
|
||||
|
||||
virtual ble_error_t initialize() = 0;
|
||||
virtual ble_error_t terminate() = 0;
|
||||
|
|
Loading…
Reference in New Issue