nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches

◆ ble_conn_params_phy_radio_mode_set()

uint32_t ble_conn_params_phy_radio_mode_set ( uint16_t conn_handle,
ble_gap_phys_t phy_pref )

#include <ble_conn_params.h>

Initiate a GAP radio PHY mode update procedure for a given connection.

The radio PHY mode update procedure is executed asynchronously, and its completion is signalled by the BLE_CONN_PARAMS_EVT_RADIO_PHY_MODE_UPDATED event.

Parameters
conn_handleHandle to the connection.
phy_prefDesired GAP radio PHY mode.
Return values
NRF_SUCCESSOn success.
NRF_ERROR_INVALID_PARAMInvalid connection handle or unsupported PHY mode in phy_pref.