ble_gap_adv_set_phys [experimental]

int
ble_gap_adv_set_phys(uint8_t primary_phy, uint8_t secondary_phy)

Description

Set primary and secondary PHYs for extended advertising procedure.

Parameters

None

ParameterDescription
primary_phyPrimary PHY to use for extended advertising procedure. BLE_HCI_LE_1M BLE_HCI_LE_CODED
secondary_phySecondary PHY to use for extended advertising procedure. BLE_HCI_LE_1M BLE_HCI_LE_2M BLE_HCI_LE_CODED

Returned values

ValueCondition
0Success.
Core return codeUnexpected error.