pub struct MsgSsrFlagHighLevel {
Show 15 fields pub sender_id: Option<u16>, pub obs_time: GpsTimeSec, pub corr_time: GpsTimeSec, pub ssr_sol_id: u8, pub tile_set_id: u16, pub tile_id: u16, pub chain_id: u8, pub use_gps_sat: u8, pub use_gal_sat: u8, pub use_bds_sat: u8, pub reserved: [u8; 6], pub use_tropo_grid_points: u8, pub use_iono_grid_points: u8, pub use_iono_tile_sat_los: u8, pub use_iono_grid_point_sat_los: u8,
}
Expand description

High level integrity flags

Integrity monitoring flags for multiple aggregated elements. An element could be a satellite, SSR grid point, or SSR tile. A group of aggregated elements being monitored for integrity could refer to:

  • Satellites in a particular {GPS, GAL, BDS} constellation.

  • Satellites in the line-of-sight of a particular SSR tile.

  • Satellites in the line-of-sight of a particular SSR grid point.

The integrity usage for a group of aggregated elements varies according to the integrity flag of the satellites comprising that group.

SSR_INTEGRITY_USAGE_NOMINAL: All satellites received passed the integrity check and have flag INTEGRITY_FLAG_OK.

SSR_INTEGRITY_USAGE_WARNING: A limited number of elements in the group failed the integrity check. Refer to more granular integrity messages for details on the specific failing elements.

SSR_INTEGRITY_USAGE_ALERT: Most elements in the group failed the integrity check, do not use for positioning.

SSR_INTEGRITY_USAGE_NOT_MONITORED: Unable to verify the integrity flag of elements in the group.

Fields§

§sender_id: Option<u16>

The message sender_id

§obs_time: GpsTimeSec

GNSS reference time of the observation used to generate the flag.

§corr_time: GpsTimeSec

GNSS reference time of the correction associated to the flag.

§ssr_sol_id: u8

SSR Solution ID.

§tile_set_id: u16

Unique identifier of the set this tile belongs to.

§tile_id: u16

Unique identifier of this tile in the tile set.

§chain_id: u8

Chain and type of flag.

§use_gps_sat: u8

Use GPS satellites.

§use_gal_sat: u8

Use GAL satellites.

§use_bds_sat: u8

Use BDS satellites.

§reserved: [u8; 6]

Reserved

§use_tropo_grid_points: u8

Use tropo grid points.

§use_iono_grid_points: u8

Use iono grid points.

§use_iono_tile_sat_los: u8

Use iono tile satellite LoS.

§use_iono_grid_point_sat_los: u8

Use iono grid point satellite LoS.

Implementations§

source§

impl MsgSsrFlagHighLevel

source

pub fn use_gps_satellites(&self) -> Result<UseGpsSatellites, u8>

Gets the UseGpsSatellites stored in the use_gps_sat bitfield.

Returns Ok if the bitrange contains a known UseGpsSatellites variant. Otherwise the value of the bitrange is returned as an Err(u8). This may be because of a malformed message, or because new variants of UseGpsSatellites were added.

source

pub fn set_use_gps_satellites(&mut self, use_gps_satellites: UseGpsSatellites)

Set the bitrange corresponding to the UseGpsSatellites of the use_gps_sat bitfield.

source

pub fn use_gal_satellites(&self) -> Result<UseGalSatellites, u8>

Gets the UseGalSatellites stored in the use_gal_sat bitfield.

Returns Ok if the bitrange contains a known UseGalSatellites variant. Otherwise the value of the bitrange is returned as an Err(u8). This may be because of a malformed message, or because new variants of UseGalSatellites were added.

source

pub fn set_use_gal_satellites(&mut self, use_gal_satellites: UseGalSatellites)

Set the bitrange corresponding to the UseGalSatellites of the use_gal_sat bitfield.

source

pub fn use_bds_satellites(&self) -> Result<UseBdsSatellites, u8>

Gets the UseBdsSatellites stored in the use_bds_sat bitfield.

Returns Ok if the bitrange contains a known UseBdsSatellites variant. Otherwise the value of the bitrange is returned as an Err(u8). This may be because of a malformed message, or because new variants of UseBdsSatellites were added.

source

pub fn set_use_bds_satellites(&mut self, use_bds_satellites: UseBdsSatellites)

Set the bitrange corresponding to the UseBdsSatellites of the use_bds_sat bitfield.

source

pub fn use_tropo_grid_points(&self) -> Result<UseTropoGridPoints, u8>

Gets the UseTropoGridPoints stored in the use_tropo_grid_points bitfield.

Returns Ok if the bitrange contains a known UseTropoGridPoints variant. Otherwise the value of the bitrange is returned as an Err(u8). This may be because of a malformed message, or because new variants of UseTropoGridPoints were added.

source

pub fn set_use_tropo_grid_points( &mut self, use_tropo_grid_points: UseTropoGridPoints )

Set the bitrange corresponding to the UseTropoGridPoints of the use_tropo_grid_points bitfield.

source

pub fn use_iono_grid_points(&self) -> Result<UseIonoGridPoints, u8>

Gets the UseIonoGridPoints stored in the use_iono_grid_points bitfield.

Returns Ok if the bitrange contains a known UseIonoGridPoints variant. Otherwise the value of the bitrange is returned as an Err(u8). This may be because of a malformed message, or because new variants of UseIonoGridPoints were added.

source

pub fn set_use_iono_grid_points( &mut self, use_iono_grid_points: UseIonoGridPoints )

Set the bitrange corresponding to the UseIonoGridPoints of the use_iono_grid_points bitfield.

source

pub fn use_iono_tile_satellite_lo_s( &self ) -> Result<UseIonoTileSatelliteLoS, u8>

Gets the UseIonoTileSatelliteLoS stored in the use_iono_tile_sat_los bitfield.

Returns Ok if the bitrange contains a known UseIonoTileSatelliteLoS variant. Otherwise the value of the bitrange is returned as an Err(u8). This may be because of a malformed message, or because new variants of UseIonoTileSatelliteLoS were added.

source

pub fn set_use_iono_tile_satellite_lo_s( &mut self, use_iono_tile_satellite_lo_s: UseIonoTileSatelliteLoS )

Set the bitrange corresponding to the UseIonoTileSatelliteLoS of the use_iono_tile_sat_los bitfield.

source

pub fn use_iono_grid_point_satellite_lo_s( &self ) -> Result<UseIonoGridPointSatelliteLoS, u8>

Gets the UseIonoGridPointSatelliteLoS stored in the use_iono_grid_point_sat_los bitfield.

Returns Ok if the bitrange contains a known UseIonoGridPointSatelliteLoS variant. Otherwise the value of the bitrange is returned as an Err(u8). This may be because of a malformed message, or because new variants of UseIonoGridPointSatelliteLoS were added.

source

pub fn set_use_iono_grid_point_satellite_lo_s( &mut self, use_iono_grid_point_satellite_lo_s: UseIonoGridPointSatelliteLoS )

Set the bitrange corresponding to the UseIonoGridPointSatelliteLoS of the use_iono_grid_point_sat_los bitfield.

Trait Implementations§

source§

impl Clone for MsgSsrFlagHighLevel

source§

fn clone(&self) -> MsgSsrFlagHighLevel

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl ConcreteMessage for MsgSsrFlagHighLevel

source§

const MESSAGE_TYPE: u16 = 3_001u16

The message type.
source§

const MESSAGE_NAME: &'static str = "MSG_SSR_FLAG_HIGH_LEVEL"

The message name.
source§

impl Debug for MsgSsrFlagHighLevel

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for MsgSsrFlagHighLevel

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl FriendlyName for MsgSsrFlagHighLevel

source§

fn friendly_name() -> &'static str

source§

impl From<MsgSsrFlagHighLevel> for Sbp

source§

fn from(msg: MsgSsrFlagHighLevel) -> Self

Converts to this type from the input type.
source§

impl PartialEq for MsgSsrFlagHighLevel

source§

fn eq(&self, other: &MsgSsrFlagHighLevel) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl SbpMessage for MsgSsrFlagHighLevel

source§

fn message_name(&self) -> &'static str

Get the message name.
source§

fn message_type(&self) -> Option<u16>

Get the message type.
source§

fn sender_id(&self) -> Option<u16>

Get the sender_id if it is set.
source§

fn set_sender_id(&mut self, new_id: u16)

Set the sender id.
source§

fn encoded_len(&self) -> usize

Number of bytes this message will take on the wire.
source§

fn is_valid(&self) -> bool

Tells you if the message is valid or if it is not a valid message and may need to be special cased at certain points.
source§

fn into_valid_msg(self) -> Result<Self, Invalid>

source§

fn gps_time(&self) -> Option<Result<MessageTime, GpsTimeError>>

Get the GPS time associated with the message.
source§

fn friendly_name(&self) -> &'static str

Get friendly name associated with the message.
source§

impl Serialize for MsgSsrFlagHighLevel

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<Sbp> for MsgSsrFlagHighLevel

§

type Error = TryFromSbpError

The type returned in the event of a conversion error.
source§

fn try_from(msg: Sbp) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl StructuralPartialEq for MsgSsrFlagHighLevel

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> Event for T
where T: ConcreteMessage,

source§

const MESSAGE_TYPES: &'static [u16] = const MESSAGE_TYPES: &'static [u16] = &[T::MESSAGE_TYPE];

The message types that correspond to this event. An empty slice means all messages.
source§

fn from_sbp(msg: Sbp) -> T

Create an instance of this event from an SBP message. This message will only be called if the message type is in Event::MESSAGE_TYPES.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,