pub trait LinkMetrics {
// Required methods
fn link_metrics_manager_is_enabled(&self) -> bool;
fn link_metrics_manager_set_enabled(&self, enabled: bool);
fn link_metrics_manager_get_metrics_value_by_ext_addr(
&self,
ext_addr: &ExtAddress,
) -> Result<LinkMetricsValues>;
}
Expand description
Methods from the “Link Metrics “ group [1]
[1] https://openthread.io/reference/group/api-link-metrics
Required Methods§
Sourcefn link_metrics_manager_is_enabled(&self) -> bool
fn link_metrics_manager_is_enabled(&self) -> bool
Get Link Metrics Manager enabled/disabled state.
Sourcefn link_metrics_manager_set_enabled(&self, enabled: bool)
fn link_metrics_manager_set_enabled(&self, enabled: bool)
Enable or disable Link Metrics Manager.
Sourcefn link_metrics_manager_get_metrics_value_by_ext_addr(
&self,
ext_addr: &ExtAddress,
) -> Result<LinkMetricsValues>
fn link_metrics_manager_get_metrics_value_by_ext_addr( &self, ext_addr: &ExtAddress, ) -> Result<LinkMetricsValues>
Get Link Metrics data of a neighbor by its extended address.