mirror of https://github.com/ARMmbed/mbed-os.git
BLE: rename ConnectionParameters::getFilterPolicy into getFilter for consistency.
parent
5abf2f08fa
commit
ed426c5b45
|
@ -282,7 +282,7 @@ public:
|
|||
*
|
||||
* @return The initiator policy.
|
||||
*/
|
||||
initiator_filter_policy_t getFilterPolicy() const
|
||||
initiator_filter_policy_t getFilter() const
|
||||
{
|
||||
return _filterPolicy;
|
||||
}
|
||||
|
|
|
@ -681,7 +681,7 @@ ble_error_t GenericGap::connect(
|
|||
return _pal_gap.create_connection(
|
||||
connectionParams.getScanIntervalArray()[0],
|
||||
connectionParams.getScanWindowArray()[0],
|
||||
connectionParams.getFilterPolicy(),
|
||||
connectionParams.getFilter(),
|
||||
(pal::connection_peer_address_type_t::type) peerAddressType.value(),
|
||||
peerAddress,
|
||||
connectionParams.getOwnAddressType(),
|
||||
|
@ -707,7 +707,7 @@ ble_error_t GenericGap::connect(
|
|||
}
|
||||
|
||||
return _pal_gap.extended_create_connection(
|
||||
connectionParams.getFilterPolicy(),
|
||||
connectionParams.getFilter(),
|
||||
connectionParams.getOwnAddressType(),
|
||||
adjusted_address_type,
|
||||
peerAddress,
|
||||
|
|
Loading…
Reference in New Issue