Function nrf_softdevice_s112::sd_ble_gap_ppcp_get
source · pub unsafe fn sd_ble_gap_ppcp_get(
p_conn_params: *mut ble_gap_conn_params_t
) -> u32
Expand description
@brief Get GAP Peripheral Preferred Connection Parameters.
@param[out] p_conn_params Pointer to a @ref ble_gap_conn_params_t structure where the parameters will be stored.
@retval ::NRF_SUCCESS Peripheral Preferred Connection Parameters retrieved successfully. @retval ::NRF_ERROR_INVALID_ADDR Invalid pointer supplied. @retval ::NRF_ERROR_NOT_SUPPORTED The characteristic is not included in the Attribute Table, see @ref ble_gap_cfg_ppcp_incl_cfg_t.