Z-Wave NCP jamming detection (RSSI window and default report interval)#

Z-Wave NCP jamming detection (RSSI window and default report interval)

Compile-time defaults for the Z-Wave Serial API jamming detection component. The RSSI sample window length is SL_JAMMING_DETECTION_BUFFER_SIZE samples at 100 ms per sample. SL_JAMMING_DEFAULT_DETECTION_EVALUATION_DELAY_SEC sets the default periodic report interval in seconds.

Macros#

#define

Number of RSSI samples kept per channel in the jamming detection window <150..255:1>

#define

Default interval in seconds between periodic jamming reports when initialized via defaults <0..20:1>

Macro Definition Documentation#

SL_JAMMING_DETECTION_BUFFER_SIZE#

#define SL_JAMMING_DETECTION_BUFFER_SIZE
Value:
150

Number of RSSI samples kept per channel in the jamming detection window <150..255:1>

Each sample is taken every 100 ms; e.g. 150 samples span 15 seconds of history. Per-channel critical sample counts must not exceed this value.


SL_JAMMING_DEFAULT_DETECTION_EVALUATION_DELAY_SEC#

#define SL_JAMMING_DEFAULT_DETECTION_EVALUATION_DELAY_SEC
Value:
5

Default interval in seconds between periodic jamming reports when initialized via defaults <0..20:1>

Used as the default report_interval_sec in sl_jamming_detection_default_config(). Valid runtime values are 1–20 seconds; 0 disables periodic reporting.