Embassy
nrf-softdevice-s112

Crates

git

Versions

default

Flavors

pub unsafe fn sd_ble_gap_ppcp_set(
p_conn_params: *const ble_gap_conn_params_t
) -> u32
Expand description

@brief Set GAP Peripheral Preferred Connection Parameters.

@param[in] p_conn_params Pointer to a @ref ble_gap_conn_params_t structure with the desired parameters.

@retval ::NRF_SUCCESS Peripheral Preferred Connection Parameters set successfully. @retval ::NRF_ERROR_INVALID_ADDR Invalid pointer supplied. @retval ::NRF_ERROR_INVALID_PARAM Invalid parameter(s) supplied. @retval ::NRF_ERROR_NOT_SUPPORTED The characteristic is not included in the Attribute Table, see @ref ble_gap_cfg_ppcp_incl_cfg_t.