pub struct S2XSatelliteDeliverySystem<'a> {Show 16 fields
pub receiver_profiles: u8,
pub s2x_mode: S2XMode,
pub scrambling_sequence_selector: bool,
pub ts_gs_s2x_mode: TsGsS2XMode,
pub scrambling_sequence_index: Option<u32>,
pub frequency: u32,
pub orbital_position: u16,
pub west_east_flag: bool,
pub polarization: Polarization,
pub multiple_input_stream_flag: bool,
pub roll_off: RollOff,
pub symbol_rate: u32,
pub input_stream_identifier: Option<u8>,
pub timeslice_number: Option<u8>,
pub channel_bonds: Vec<S2XChannelBond>,
pub reserved_tail: &'a [u8],
}Expand description
S2X_satellite_delivery_system body (Table 140).
Fields§
§receiver_profiles: u8receiver_profiles(5) — Table 141 (raw bitmask, see flag accessors below).
s2x_mode: S2XModeS2X_mode(2) — Table 142.
scrambling_sequence_selector: boolscrambling_sequence_selector(1).
ts_gs_s2x_mode: TsGsS2XModeTS_GS_S2X_mode(2) — Table 143.
scrambling_sequence_index: Option<u32>scrambling_sequence_index(18), present iff scrambling_sequence_selector.
frequency: u32frequency(32) — primary channel, 32-bit BCD (10 kHz resolution, §6.2.13.2).
orbital_position: u16orbital_position(16).
west_east_flag: boolwest_east_flag(1).
polarization: Polarizationpolarization(2).
multiple_input_stream_flag: boolmultiple_input_stream_flag(1).
roll_off: RollOffroll_off(3) — Table 144.
symbol_rate: u32symbol_rate(28) — 28-bit BCD (100 sym/s resolution).
input_stream_identifier: Option<u8>input_stream_identifier(8), present iff multiple_input_stream_flag.
timeslice_number: Option<u8>timeslice_number(8), present iff s2x_mode == 2.
channel_bonds: Vec<S2XChannelBond>S2X_mode==3 channel-bond entries (empty unless s2x_mode==3).
reserved_tail: &'a [u8]Trailing reserved_future_use bytes (opaque), preserved verbatim.
Implementations§
Source§impl S2XSatelliteDeliverySystem<'_>
impl S2XSatelliteDeliverySystem<'_>
Sourcepub fn frequency_hz(&self) -> Option<u64>
pub fn frequency_hz(&self) -> Option<u64>
Decode the 32-bit BCD frequency to Hz (10 kHz field resolution,
EN 300 468 §6.2.13.2).
Sourcepub fn orbital_position_deg(&self) -> Option<f64>
pub fn orbital_position_deg(&self) -> Option<f64>
Decode the 16-bit BCD orbital_position to degrees (tenths resolution).
Sourcepub fn symbol_rate_sps(&self) -> Option<u64>
pub fn symbol_rate_sps(&self) -> Option<u64>
Decode the 28-bit BCD symbol_rate to symbols/second (100 sym/s resolution).
Sourcepub fn receiver_broadcast(&self) -> bool
pub fn receiver_broadcast(&self) -> bool
Broadcast services (receiver_profiles bit 0).
Sourcepub fn receiver_interactive(&self) -> bool
pub fn receiver_interactive(&self) -> bool
Interactive services (receiver_profiles bit 1).
Sourcepub fn receiver_dsng(&self) -> bool
pub fn receiver_dsng(&self) -> bool
DSNG services (receiver_profiles bit 2).
Sourcepub fn receiver_professional(&self) -> bool
pub fn receiver_professional(&self) -> bool
Professional services (receiver_profiles bit 3).
Sourcepub fn receiver_vl_snr(&self) -> bool
pub fn receiver_vl_snr(&self) -> bool
VL-SNR services (receiver_profiles bit 4).
Trait Implementations§
Source§impl<'a> Clone for S2XSatelliteDeliverySystem<'a>
impl<'a> Clone for S2XSatelliteDeliverySystem<'a>
Source§fn clone(&self) -> S2XSatelliteDeliverySystem<'a>
fn clone(&self) -> S2XSatelliteDeliverySystem<'a>
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'a> Debug for S2XSatelliteDeliverySystem<'a>
impl<'a> Debug for S2XSatelliteDeliverySystem<'a>
impl<'a> Eq for S2XSatelliteDeliverySystem<'a>
Source§impl<'a> ExtensionBodyDef<'a> for S2XSatelliteDeliverySystem<'a>
impl<'a> ExtensionBodyDef<'a> for S2XSatelliteDeliverySystem<'a>
Source§impl<'a> Parse<'a> for S2XSatelliteDeliverySystem<'a>
impl<'a> Parse<'a> for S2XSatelliteDeliverySystem<'a>
Source§impl<'a> PartialEq for S2XSatelliteDeliverySystem<'a>
impl<'a> PartialEq for S2XSatelliteDeliverySystem<'a>
Source§fn eq(&self, other: &S2XSatelliteDeliverySystem<'a>) -> bool
fn eq(&self, other: &S2XSatelliteDeliverySystem<'a>) -> bool
self and other values to be equal, and is used by ==.Source§impl<'a> Serialize for S2XSatelliteDeliverySystem<'a>
impl<'a> Serialize for S2XSatelliteDeliverySystem<'a>
Source§impl Serialize for S2XSatelliteDeliverySystem<'_>
impl Serialize for S2XSatelliteDeliverySystem<'_>
Source§type Error = Error
type Error = Error
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
serialize_into will write.impl<'a> StructuralPartialEq for S2XSatelliteDeliverySystem<'a>
Source§impl<'a> Yokeable<'a> for S2XSatelliteDeliverySystem<'static>
impl<'a> Yokeable<'a> for S2XSatelliteDeliverySystem<'static>
Source§type Output = S2XSatelliteDeliverySystem<'a>
type Output = S2XSatelliteDeliverySystem<'a>
Self with the 'static replaced with 'a, i.e. Self<'a>