S112 SoftDevice v6.1.0
Data Fields
ble_common_opt_extended_rc_cal_t Struct Reference

Enable/disable extended RC calibration. More...

#include <ble.h>

Data Fields

uint8_t enable: 1
 

Detailed Description

Enable/disable extended RC calibration.

If extended RC calibration is enabled and the internal RC oscillator (NRF_CLOCK_LF_SRC_RC) is used as the SoftDevice LFCLK source, the SoftDevice as a peripheral will by default try to increase the receive window if two consecutive packets are not received. If it turns out that the packets were not received due to clock drift, the RC calibration is started. This calibration comes in addition to the periodic calibration that is configured by sd_softdevice_enable(). When using only peripheral connections, the periodic calibration can therefore be configured with a much longer interval as the peripheral will be able to detect and adjust automatically to clock drift, and calibrate on demand.

If extended RC calibration is disabled and the internal RC oscillator is used as the SoftDevice LFCLK source, the RC oscillator is calibrated periodically as configured by sd_softdevice_enable().

Note
sd_ble_opt_get is not supported for this option.

Field Documentation

uint8_t ble_common_opt_extended_rc_cal_t::enable

Enable extended RC calibration, enabled by default.


Documentation feedback | Developer Zone | Subscribe | Updated