Configuration for the jamming detection algorithm.
Samples are taken every 100 ms over a fixed window (e.g. 150 samples = 15 s). A channel is reported jammed when at least samples_per_channel samples in the window are above the RSSI threshold.
Public Attributes#
struct sl_jamming_detection_config_t::@4
uint16_t
Seconds between periodic jamming reports; 0 disables periodic reporting ([0,20]).
Callback invoked when jamming is detected on one or more channels.
Callback invoked when RSSI collection is ready.
Public Attribute Documentation#
settings#
struct sl_jamming_detection_config_t::@4 sl_jamming_detection_config_t::settings[SL_JAMMING_DETECTION_NUM_STATS_CHANNELS]
report_interval_sec#
uint16_t sl_jamming_detection_config_t::report_interval_sec
Seconds between periodic jamming reports; 0 disables periodic reporting ([0,20]).
report_callback#
sl_jamming_detection_report_callback_t sl_jamming_detection_config_t::report_callback
Callback invoked when jamming is detected on one or more channels.
collection_callback#
sl_jamming_detection_collection_callback_t sl_jamming_detection_config_t::collection_callback
Callback invoked when RSSI collection is ready.