pub struct TxReport {
pub ticks: u16,
pub repeaters: Vec<NodeId>,
pub ack_rssi: Option<i8>,
pub repeater_rssi: Vec<i8>,
pub ack_channel: Option<u8>,
pub tx_channel: u8,
pub route_scheme: u8,
pub speed: u8,
pub attempts: u8,
pub failed_from: Option<NodeId>,
pub failed_to: Option<NodeId>,
}Expand description
The transmit report the controller appends to a SendData callback once TX status reporting is enabled: the route the frame took and its signal.
Fields§
§ticks: u16Time on air until the ACK, in 10 ms ticks.
repeaters: Vec<NodeId>Repeaters used, nearest the controller first.
ack_rssi: Option<i8>RSSI of the ACK at the controller, dBm.
repeater_rssi: Vec<i8>RSSI of the ACK at each repeater, dBm.
ack_channel: Option<u8>Channel the ACK came in on.
tx_channel: u8Channel the frame went out on.
route_scheme: u8Route scheme state (which routing attempt succeeded).
speed: u8Speed: 1 = 9.6k, 2 = 40k, 3 = 100k.
attempts: u8Routing attempts.
failed_from: Option<NodeId>Last working node before a failed link, if any.
failed_to: Option<NodeId>First node after a failed link, if any.
Implementations§
Trait Implementations§
impl Eq for TxReport
impl StructuralPartialEq for TxReport
Auto Trait Implementations§
impl Freeze for TxReport
impl RefUnwindSafe for TxReport
impl Send for TxReport
impl Sync for TxReport
impl Unpin for TxReport
impl UnsafeUnpin for TxReport
impl UnwindSafe for TxReport
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
Mutably borrows from an owned value. Read more