Struct ether_dream::protocol::DacBroadcast [] [src]

#[repr(C)]
pub struct DacBroadcast { pub mac_address: [u8; 6], pub hw_revision: u16, pub sw_revision: u16, pub buffer_capacity: u16, pub max_point_rate: u32, pub dac_status: DacStatus, }

Regardless of the data source being used, each DAC broadcasts a status/ID datagram over UDP to its local network's broadcast address once per second.

Fields

The unique hardware identifier for the DAC.

This field is undocumented in the official protocol but seems to represent a version number for the hardware in use by the DAC.

This field is undocumented in the official protocol but seems to represent the version of the protocol implementation. As of writing this, this is hardcoded as 2 in the original source.

The DAC's maximum buffer capacity for storing points that are yet to be converted to output.

As of writing this, this is hardcoded to 1800 in the original DAC source code.

The DAC's maximum point rate.

As of writing this, this is hardcoded to 100_000 in the original DAC source code.

The current status of the DAC.

Trait Implementations

impl Copy for DacBroadcast
[src]

impl Clone for DacBroadcast
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for DacBroadcast
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for DacBroadcast
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for DacBroadcast
[src]

impl Hash for DacBroadcast
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl WriteToBytes for DacBroadcast
[src]

[src]

Write the command to bytes.

impl ReadFromBytes for DacBroadcast
[src]

[src]

Read the command from bytes.

impl SizeBytes for DacBroadcast
[src]

SIZE_BYTES: usize = <DacStatus>::SIZE_BYTES + 16

Auto Trait Implementations

impl Send for DacBroadcast

impl Sync for DacBroadcast