nrf-softdevice-s132

Crates

git

Versions

default

Flavors

pub unsafe fn sd_ble_gap_rssi_stop(conn_handle: u16) -> u32
Expand description

@brief Stop reporting the received signal strength.

@note An RSSI change detected before the call but not yet received by the application may be reported after @ref sd_ble_gap_rssi_stop has been called.

@mscs @mmsc{@ref BLE_GAP_CENTRAL_RSSI_READ_MSC} @mmsc{@ref BLE_GAP_RSSI_FILT_MSC} @endmscs

@param[in] conn_handle Connection handle.

@retval ::NRF_SUCCESS Successfully deactivated RSSI reporting. @retval ::NRF_ERROR_INVALID_STATE RSSI reporting is not ongoing. @retval ::BLE_ERROR_INVALID_CONN_HANDLE Invalid connection handle supplied.