openthread::ot

Trait Radio

Source
pub trait Radio {
    // Required methods
    fn get_coex_metrics(&self) -> Result<RadioCoexMetrics>;
    fn get_rssi(&self) -> Decibels;
    fn get_region(&self) -> Result<RadioRegion>;
    fn set_region(&self, region: RadioRegion) -> Result;
    fn get_transmit_power(&self) -> Result<Decibels>;
    fn radio_get_version_string(&self) -> &str;
}
Expand description

Required Methods§

Source

fn get_coex_metrics(&self) -> Result<RadioCoexMetrics>

Functional equivalent of otsys::otPlatRadioGetCoexMetrics.

Source

fn get_rssi(&self) -> Decibels

Functional equivalent of otsys::otPlatRadioGetRssi.

Source

fn get_region(&self) -> Result<RadioRegion>

Functional equivalent of otsys::otPlatRadioGetRegion.

Source

fn set_region(&self, region: RadioRegion) -> Result

Functional equivalent of otsys::otPlatRadioSetRegion.

Source

fn get_transmit_power(&self) -> Result<Decibels>

Functional equivalent of otsys::otPlatRadioGetTransmitPower.

Source

fn radio_get_version_string(&self) -> &str

Functional equivalent of otsys::otPlatRadioGetVersionString.

Implementors§