[][src]Trait truebner_smt100::Capabilities

pub trait Capabilities {
    fn read_temperature(
        &self,
        timeout: Duration
    ) -> Box<dyn Future<Item = Temperature, Error = Error>>;
fn read_water_content(
        &self,
        timeout: Duration
    ) -> Box<dyn Future<Item = VolumetricWaterContent, Error = Error>>;
fn read_permittivity(
        &self,
        timeout: Duration
    ) -> Box<dyn Future<Item = RelativePermittivity, Error = Error>>;
fn read_raw_counts(
        &self,
        timeout: Duration
    ) -> Box<dyn Future<Item = usize, Error = Error>>; }

Asynchronous interface that exposes the generic capabilities of the TRUEBNER SMT100 Soil Moisture Sensor.

Required methods

fn read_temperature(
    &self,
    timeout: Duration
) -> Box<dyn Future<Item = Temperature, Error = Error>>

Measure the current temperature in the range from -40°C to +80°C (analog version from -40°C to +60°C).

fn read_water_content(
    &self,
    timeout: Duration
) -> Box<dyn Future<Item = VolumetricWaterContent, Error = Error>>

Measure the current water content of the medium (soil) around the sensor in the range from 0% to 60% (up to 100% with limited accuracy).

fn read_permittivity(
    &self,
    timeout: Duration
) -> Box<dyn Future<Item = RelativePermittivity, Error = Error>>

Measure the current (relative) permittivity of the medium around the sensor.

fn read_raw_counts(
    &self,
    timeout: Duration
) -> Box<dyn Future<Item = usize, Error = Error>>

Retrieve the current raw and uncalibrated signal of the sensor.

Loading content...

Implementors

impl Capabilities for Proxy[src]

impl Capabilities for SlaveProxy[src]

Loading content...