mirror of https://github.com/ARMmbed/mbed-os.git
whitelist generations needs to be async
parent
dcce428c40
commit
11874aac3b
|
|
@ -158,6 +158,11 @@ public:
|
|||
virtual void acceptPairingRequest(connection_handle_t handle) {
|
||||
(void)handle;
|
||||
};
|
||||
virtual void whitelistFromBondTable(Gap::Whitelist_t* whitelist) {
|
||||
if (whitelist) {
|
||||
delete whitelist;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
private:
|
||||
|
|
@ -282,6 +287,8 @@ public:
|
|||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*
|
||||
* Get a list of addresses from all peers in the bond table.
|
||||
*
|
||||
* @param[in,out] addresses
|
||||
|
|
@ -301,6 +308,16 @@ public:
|
|||
return BLE_ERROR_NOT_IMPLEMENTED; /* Requesting action from porters: override this API if security is supported. */
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a list of addresses from all peers in the bond table and generate
|
||||
* an event which returns it as a whitelist
|
||||
*
|
||||
* @retval BLE_ERROR_NONE On success, else an error code indicating reason for failure
|
||||
*/
|
||||
virtual ble_error_t generatewhitelistFromBondTable() const {
|
||||
return BLE_ERROR_NOT_IMPLEMENTED; /* Requesting action from porters: override this API if security is supported. */
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
// Feature support
|
||||
//
|
||||
|
|
|
|||
|
|
@ -216,15 +216,10 @@ public:
|
|||
// List management
|
||||
//
|
||||
|
||||
|
||||
ble_error_t purgeAllBondingState(void) {
|
||||
return BLE_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
ble_error_t getAddressesFromBondTable(Gap::Whitelist_t &addresses) const {
|
||||
return BLE_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
// Feature support
|
||||
//
|
||||
|
|
|
|||
Loading…
Reference in New Issue