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.
|
* @return The initiator policy.
|
||||||
*/
|
*/
|
||||||
initiator_filter_policy_t getFilterPolicy() const
|
initiator_filter_policy_t getFilter() const
|
||||||
{
|
{
|
||||||
return _filterPolicy;
|
return _filterPolicy;
|
||||||
}
|
}
|
||||||
|
|
|
@ -681,7 +681,7 @@ ble_error_t GenericGap::connect(
|
||||||
return _pal_gap.create_connection(
|
return _pal_gap.create_connection(
|
||||||
connectionParams.getScanIntervalArray()[0],
|
connectionParams.getScanIntervalArray()[0],
|
||||||
connectionParams.getScanWindowArray()[0],
|
connectionParams.getScanWindowArray()[0],
|
||||||
connectionParams.getFilterPolicy(),
|
connectionParams.getFilter(),
|
||||||
(pal::connection_peer_address_type_t::type) peerAddressType.value(),
|
(pal::connection_peer_address_type_t::type) peerAddressType.value(),
|
||||||
peerAddress,
|
peerAddress,
|
||||||
connectionParams.getOwnAddressType(),
|
connectionParams.getOwnAddressType(),
|
||||||
|
@ -707,7 +707,7 @@ ble_error_t GenericGap::connect(
|
||||||
}
|
}
|
||||||
|
|
||||||
return _pal_gap.extended_create_connection(
|
return _pal_gap.extended_create_connection(
|
||||||
connectionParams.getFilterPolicy(),
|
connectionParams.getFilter(),
|
||||||
connectionParams.getOwnAddressType(),
|
connectionParams.getOwnAddressType(),
|
||||||
adjusted_address_type,
|
adjusted_address_type,
|
||||||
peerAddress,
|
peerAddress,
|
||||||
|
|
Loading…
Reference in New Issue