Embassy
nrf-softdevice-s122

Crates

git

Versions

default

Flavors

pub unsafe fn sd_ble_gap_qos_stop(
qos_id: u32,
p_qos_params: *const ble_gap_qos_params_t
) -> u32
Expand description

@brief Stop Quality of Service (QoS) reporting.

@param[in] qos_id QoS ID, see @ref BLE_GAP_QOS_IDS. @param[in] p_qos_params Pointer to a @ref ble_gap_qos_params_t structure containing the QoS parameters.

@retval ::NRF_SUCCESS The QoS reporting is successfully stopped. @retval ::NRF_ERROR_INVALID_PARAM Invalid parameter supplied. qos_id is out of the allowed range. @retval ::NRF_ERROR_INVALID_ADDR Invalid pointer supplied. @retval ::NRF_ERROR_INVALID_STATE Trying to stop the reporting when it is not started.

@note For a complete set of return values see @ref ble_gap_qos_params_t.