BLE: rename address resolution handler.

pull/13759/head
Vincent Coubard 2020-09-09 16:25:31 +01:00
parent 4b853956d9
commit b8549ec91d
4 changed files with 6 additions and 6 deletions

View File

@ -2921,7 +2921,7 @@ void Gap::on_private_address_generated(bool connectable)
} }
void Gap::on_address_resolution_completion( void Gap::on_address_resolution_completed(
const address_t &peer_resolvable_address, const address_t &peer_resolvable_address,
bool resolved, bool resolved,
target_peer_address_type_t identity_address_type, target_peer_address_type_t identity_address_type,

View File

@ -537,7 +537,7 @@ private:
void on_private_address_generated(bool connectable); void on_private_address_generated(bool connectable);
void on_address_resolution_completion( void on_address_resolution_completed(
const address_t &peer_resolvable_address, const address_t &peer_resolvable_address,
bool resolved, bool resolved,
target_peer_address_type_t identity_address_type, target_peer_address_type_t identity_address_type,

View File

@ -507,7 +507,7 @@ private:
if (!self._event_handler) { if (!self._event_handler) {
return; return;
} }
self._event_handler->on_address_resolution_completion( self._event_handler->on_address_resolution_completed(
peer_resolvable_address, peer_resolvable_address,
resolved, resolved,
identity ? identity->peer_address_type : target_peer_address_type_t::PUBLIC, identity ? identity->peer_address_type : target_peer_address_type_t::PUBLIC,

View File

@ -67,7 +67,7 @@ public:
* @param identity_address_type The type of the identity address resolved. * @param identity_address_type The type of the identity address resolved.
* @param identity_address The identity address resolved. * @param identity_address The identity address resolved.
*/ */
virtual void on_address_resolution_completion( virtual void on_address_resolution_completed(
const address_t &peer_resolvable_address, const address_t &peer_resolvable_address,
bool resolved, bool resolved,
target_peer_address_type_t identity_address_type, target_peer_address_type_t identity_address_type,
@ -184,12 +184,12 @@ public:
* To speedup operations, this module uses a cache to avoid too many * To speedup operations, this module uses a cache to avoid too many
* resolutions. If the entry is available in the cache, it is returned * resolutions. If the entry is available in the cache, it is returned
* immediately otherwise, the request will be completed by a report through * immediately otherwise, the request will be completed by a report through
* EventHandler::on_address_resolution_completion * EventHandler::on_address_resolution_completed
* *
* @param peer_address the address to resolve. * @param peer_address the address to resolve.
* @param resolution_complete Set to true if the resolution process has been * @param resolution_complete Set to true if the resolution process has been
* completed. If false, result will be made available by * completed. If false, result will be made available by
* EventHandler::on_address_resolution_completion. * EventHandler::on_address_resolution_completed.
* @param retrieved_address_type The type of the address resolved. Valid if * @param retrieved_address_type The type of the address resolved. Valid if
* resolution_complete is equals to true AND retrieved_address is not null. * resolution_complete is equals to true AND retrieved_address is not null.
* @param retrieved_address If an entry has been found for the address in * @param retrieved_address If an entry has been found for the address in