pub struct CalibrateArgs {
pub udp_port: u16,
pub bind: String,
pub duration_s: u32,
pub output: String,
pub tier: String,
pub banner_every: u32,
pub abort_z_threshold: f32,
pub min_frames: u32,
}Expand description
Arguments for the calibrate subcommand.
Fields§
§udp_port: u16UDP port to listen on for CSI frames from the ESP32. Must match the target-port written into NVS by provision.py (default 5005).
bind: StringBind address for the UDP socket. Default 0.0.0.0 receives from any device on the LAN.
duration_s: u32Calibration duration in seconds. ADR-135 default is 30 s at 20 Hz = 600 frames. Minimum 10; values above 300 emit a warning.
output: StringOutput path for the binary baseline file (ADR-135 §2.4 format).
tier: StringPHY tier matching the ESP32 configuration. Valid: ht20 / ht40 / he20 / he40.
Print a deviation banner to stderr every N frames during capture. 0 disables banners. Default 20 = once per second at 20 Hz.
abort_z_threshold: f32Abort if the per-frame amplitude z-score median exceeds this value for 20 consecutive banner intervals. 0.0 disables the abort guard.
min_frames: u32Override the ADR-135 minimum frame count for the tier. 0 = use the tier default (600 for HT20 at 20 Hz = 30 s). Useful for debugging or low-traffic environments where the firmware emits CSI far below 20 Hz. Production deployments should leave this at 0.
Trait Implementations§
Source§impl Args for CalibrateArgs
impl Args for CalibrateArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for CalibrateArgs
impl Clone for CalibrateArgs
Source§fn clone(&self) -> CalibrateArgs
fn clone(&self) -> CalibrateArgs
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CalibrateArgs
impl Debug for CalibrateArgs
Source§impl FromArgMatches for CalibrateArgs
impl FromArgMatches for CalibrateArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Auto Trait Implementations§
impl Freeze for CalibrateArgs
impl RefUnwindSafe for CalibrateArgs
impl Send for CalibrateArgs
impl Sync for CalibrateArgs
impl Unpin for CalibrateArgs
impl UnsafeUnpin for CalibrateArgs
impl UnwindSafe for CalibrateArgs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more