ESPectre SDK
2.8.0-280-gac7af68
Wi-Fi CSI motion sensing for ESP32 firmware
Toggle main menu visibility
Loading...
Searching...
No Matches
runtime_config_utils.h File Reference
#include "
runtime_interface.h
"
Go to the source code of this file.
Namespaces
namespace
espectre
Enumerations
enum class
espectre::RuntimeConfigError
: uint8_t {
espectre::NONE
= 0 ,
espectre::RUNTIME_PROFILE
,
espectre::WIFI_BAND_POLICY
,
espectre::DETECTION_ALGORITHM
,
espectre::SEGMENTATION_THRESHOLD
,
espectre::SEGMENTATION_WINDOW_SIZE_MS
,
espectre::CSI_TARGET_PPS
,
espectre::TRAFFIC_GENERATOR_MODE
,
espectre::CSI_TRAFFIC_MODE
,
espectre::CSI_TRAFFIC_UDP_PORT
,
espectre::CSI_TRAFFIC_MULTICAST_GROUP
,
espectre::CSI_TRAFFIC_EXPECTED_PAYLOAD
,
espectre::STREAM_COLLECTOR_PORT
,
espectre::STREAM_LOG_INTERVAL_MS
,
espectre::STREAM_TX_BATCH_RECORDS
,
espectre::PUBLISH_INTERVAL_MS
,
espectre::EVALUATION_INTERVAL_MS
,
espectre::MOTION_HITS
,
espectre::LOWPASS_CUTOFF
,
espectre::HAMPEL_WINDOW
,
espectre::HAMPEL_THRESHOLD
}
Machine-readable reason a
RuntimeConfig
cannot be applied.
More...
Functions
bool
espectre::validate_runtime_threshold
(float threshold)
bool
espectre::validate_runtime_threshold_for_algorithm
(float threshold,
DetectionAlgorithm
algorithm)
bool
espectre::validate_runtime_float
(float value, float min_value, float max_value)
bool
espectre::validate_runtime_uint32
(uint32_t value, uint32_t min_value, uint32_t max_value)
bool
espectre::validate_runtime_uint8
(uint8_t value, uint8_t min_value, uint8_t max_value)
RuntimeConfigError
espectre::validate_runtime_config
(const
RuntimeConfig
&config)
Validate the complete configuration before creating runtime state.
const char *
espectre::runtime_config_error_message
(
RuntimeConfigError
error)
Stable diagnostic label for a configuration error.
const char *
espectre::runtime_profile_name
(
RuntimeProfile
profile)
const char *
espectre::wifi_band_policy_name
(
WifiBandPolicy
policy)
const char *
espectre::traffic_mode_name
(
RuntimeTrafficMode
mode)
const char *
espectre::csi_traffic_mode_name
(
CsiTrafficMode
mode)
bool
espectre::csi_traffic_mode_is_sensing_control
(
CsiTrafficMode
mode)
CsiTrafficMode
espectre::normalize_sensing_csi_traffic_mode
(
CsiTrafficMode
mode)
const char *
espectre::detection_algorithm_name
(
DetectionAlgorithm
algorithm)
const char *
espectre::subcarrier_source_name
(
RuntimeSubcarrierSource
source)
RuntimeTrafficMode
espectre::parse_traffic_mode
(const char *mode)
CsiTrafficMode
espectre::parse_csi_traffic_mode
(const char *mode)
DetectionAlgorithm
espectre::parse_detection_algorithm
(const char *algorithm)
WifiBandPolicy
espectre::parse_wifi_band_policy
(const char *policy)
RuntimeConfig
espectre::make_runtime_sensing_config
()
src
cpp
runtime
runtime_config_utils.h
Generated by
1.17.0