BLE: change nRF5xSecurityManager::get_resolving_list return

It now returns a resolving list entry.
pull/6932/head
Vincent Coubard 2018-04-16 18:15:32 +01:00
parent fb680db621
commit a18283d897
2 changed files with 7 additions and 10 deletions

View File

@ -200,12 +200,12 @@ ble_error_t nRF5xSecurityManager::clear_resolving_list()
return BLE_ERROR_NONE;
}
void nRF5xSecurityManager::get_resolving_list(
size_t& count,
const resolving_list_entry_t*& entries
) {
count = resolving_list_entry_count;
entries = resolving_list;
ArrayView<nRF5xSecurityManager::resolving_list_entry_t>
nRF5xSecurityManager::get_resolving_list() {
return ArrayView<nRF5xSecurityManager::resolving_list_entry_t>(
resolving_list,
resolving_list_entry_count
);
}
bool nRF5xSecurityManager::resolve_address(

View File

@ -103,10 +103,7 @@ public:
* @param count The number of entries present in the resolving list.
* @param pointer to the first entry of the resolving list.
*/
void get_resolving_list(
size_t& count,
const resolving_list_entry_t*& entries
);
ArrayView<resolving_list_entry_t> get_resolving_list();
/**
* Try to resolve a private resolvable address.