![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| 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.
| conn_handle | Handle to the connection. |
| phy_pref | Desired GAP radio PHY mode. |
| NRF_SUCCESS | On success. |
| NRF_ERROR_INVALID_PARAM | Invalid connection handle or unsupported PHY mode in phy_pref. |