pub struct AprsMicE {Show 13 fields
pub latitude: Latitude,
pub longitude: Longitude,
pub precision: Precision,
pub message: MicEMessage,
pub speed: MicESpeed,
pub course: MicECourse,
pub symbol_code: char,
pub symbol_table: char,
pub comment: Vec<u8>,
pub is_current: bool,
pub altitude_m: Option<f64>,
pub device: Option<MicEDevice>,
pub raw_mfg: Option<Vec<u8>>,
}Expand description
A decoded MIC-E (Mic Encoder) position report.
DTI bytes: ` (current), ' (old/TM-D700), \x1C (old), \x1D (current)
MIC-E encodes latitude and message type in the AX.25 destination callsign, and longitude/speed/course in the first 8 bytes of the information field.
Fields§
§latitude: Latitude§longitude: Longitude§precision: Precision§message: MicEMessage§speed: MicESpeed§course: MicECourse§symbol_code: char§symbol_table: char§comment: Vec<u8>Comment text (after manufacturer prefix and altitude have been stripped).
is_current: boolWhether this is “current” position (true) or “old” (false).
altitude_m: Option<f64>Altitude in meters above sea level, if encoded in the status field.
device: Option<MicEDevice>Decoded manufacturer/device info, if recognized.
raw_mfg: Option<Vec<u8>>Raw manufacturer prefix bytes (before altitude), preserved for round-trip.
Implementations§
Trait Implementations§
impl StructuralPartialEq for AprsMicE
Auto Trait Implementations§
impl Freeze for AprsMicE
impl RefUnwindSafe for AprsMicE
impl Send for AprsMicE
impl Sync for AprsMicE
impl Unpin for AprsMicE
impl UnsafeUnpin for AprsMicE
impl UnwindSafe for AprsMicE
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