pub struct StatusRecord {Show 42 fields
pub header: CIHeader,
pub bf_version: u16,
pub da_version: u16,
pub flags: u16,
pub device_id: u16,
pub xd_selected: u8,
pub vga_t1: f64,
pub vga_t2: f64,
pub vga_t3: f64,
pub vga_t4: f64,
pub psu_t: f64,
pub die_t: f64,
pub tx_t: f64,
pub afe0_top_temp: f64,
pub afe0_bot_temp: f64,
pub afe1_top_temp: f64,
pub afe1_bot_temp: f64,
pub afe2_top_temp: f64,
pub afe2_bot_temp: f64,
pub afe3_top_temp: f64,
pub afe3_bot_temp: f64,
pub link_type: u16,
pub uplink_speed: f64,
pub downlink_speed: f64,
pub link_quality: u16,
pub packet_count: u32,
pub recv_error: u32,
pub resent_packet_count: u32,
pub dropped_packet_count: u32,
pub unknown_packet_count: u32,
pub lost_line_count: u32,
pub general_count: u32,
pub sonar_alt_ip: u32,
pub surface_ip: u32,
pub subnet_mask: [u8; 4],
pub mac_addr: [u8; 6],
pub boot_sts_register: u32,
pub boot_sts_register_da: u32,
pub fpga_time: u64,
pub dip_switch: u16,
pub shutdown_status: u16,
pub net_adap_found: bool,
}
Expand description
The Status Record. Holds information on the status of the sonar at this particular time.
Fields§
§header: CIHeader
The CIHeader.
bf_version: u16
BF Version.
da_version: u16
DA Version.
flags: u16
Flags.
device_id: u16
The Sonar ID.
xd_selected: u8
XD Selected.
vga_t1: f64
MK2: FPGA PCB temperature.
vga_t2: f64
MK2: HSC PCB temperature.
vga_t3: f64
MK2: DA FPGA.
vga_t4: f64
VGA Transducer temperature.
psu_t: f64
PSU Temperature.
die_t: f64
Die temperature.
tx_t: f64
Transmit temperature.
afe0_top_temp: f64
AFE0 Top temperature.
afe0_bot_temp: f64
AFE0 Bottom temperature.
afe1_top_temp: f64
AFE1 Top temperature.
afe1_bot_temp: f64
AFE1 Bottom temperature.
afe2_top_temp: f64
AFE2 Top temperature.
afe2_bot_temp: f64
AFE2 Bottom temperature.
afe3_top_temp: f64
AFE3 Top temperature.
afe3_bot_temp: f64
AFE3 Bottom temperature.
link_type: u16
Link type (see 0716-SDS-00001-005 (Genesis Log File Format).pdf).
uplink_speed: f64
Uplink speed.
downlink_speed: f64
Downlink spee.
link_quality: u16
Link quality as percentage.
packet_count: u32
The packet count (tx and rx).
recv_error: u32
Received error count.
resent_packet_count: u32
Number of packets resent.
dropped_packet_count: u32
Number of dropped packets.
unknown_packet_count: u32
Number of unknown packets - NOT USED.
lost_line_count: u32
Lost line count.
general_count: u32
Packet count for all devices.
sonar_alt_ip: u32
Alternative IP Address.
surface_ip: u32
Currently connected surface PC IP Address.
subnet_mask: [u8; 4]
The subnet mask.
mac_addr: [u8; 6]
Current MAC Address.
boot_sts_register: u32
INTERNAL USAGE.
boot_sts_register_da: u32
INTERNAL USAGE.
fpga_time: u64
Internal FPGA timestamp.
dip_switch: u16
INTERNAL USAGE.
shutdown_status: u16
Shutdown reason (0 temperature, 1 out of water, 2 out of water indicator).
net_adap_found: bool
Adaptor found?
Trait Implementations§
Source§impl Clone for StatusRecord
impl Clone for StatusRecord
Source§fn clone(&self) -> StatusRecord
fn clone(&self) -> StatusRecord
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreimpl Copy for StatusRecord
Auto Trait Implementations§
impl Freeze for StatusRecord
impl RefUnwindSafe for StatusRecord
impl Send for StatusRecord
impl Sync for StatusRecord
impl Unpin for StatusRecord
impl UnwindSafe for StatusRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more