int ble_gap_adv_set_phys(uint8_t primary_phy, uint8_t secondary_phy)
Set primary and secondary PHYs for extended advertising procedure.
None
Parameter | Description |
---|---|
primary_phy | Primary PHY to use for extended advertising procedure. BLE_HCI_LE_1M BLE_HCI_LE_CODED |
secondary_phy | Secondary PHY to use for extended advertising procedure. BLE_HCI_LE_1M BLE_HCI_LE_2M BLE_HCI_LE_CODED |
Value | Condition |
---|---|
0 | Success. |
Core return code | Unexpected error. |