Struct ublox::CfgNavX5Builder
source · [−]pub struct CfgNavX5Builder {Show 23 fields
pub version: u16,
pub mask1: CfgNavX5Params1,
pub mask2: CfgNavX5Params2,
pub reserved1: [u8; 2],
pub min_svs: u8,
pub max_svs: u8,
pub min_cno_dbhz: u8,
pub reserved2: u8,
pub ini_fix_3d: u8,
pub reserved3: [u8; 2],
pub ack_aiding: u8,
pub wkn_rollover: u16,
pub sig_atten_comp_mode: u8,
pub reserved4: u8,
pub reserved5: [u8; 2],
pub reserved6: [u8; 2],
pub use_ppp: u8,
pub aop_cfg: u8,
pub reserved7: [u8; 2],
pub aop_orb_max_err: u16,
pub reserved8: [u8; 4],
pub reserved9: [u8; 3],
pub use_adr: u8,
}
Expand description
Navigation Engine Expert Settings Struct that is used to construct packets, see the crate-level documentation for more information
Fields
version: u16
Only version 2 supported
mask1: CfgNavX5Params1
Only the masked parameters will be applied
mask2: CfgNavX5Params2
reserved1: [u8; 2]
Reserved
min_svs: u8
Minimum number of satellites for navigation
max_svs: u8
Maximum number of satellites for navigation
min_cno_dbhz: u8
Minimum satellite signal level for navigation
reserved2: u8
Reserved
ini_fix_3d: u8
initial fix must be 3D
reserved3: [u8; 2]
Reserved
ack_aiding: u8
issue acknowledgements for assistance message input
wkn_rollover: u16
GPS week rollover number
sig_atten_comp_mode: u8
Permanently attenuated signal compensation
reserved4: u8
Reserved
reserved5: [u8; 2]
reserved6: [u8; 2]
use_ppp: u8
Use Precise Point Positioning (only available with the PPP product variant)
aop_cfg: u8
AssistNow Autonomous configuration
reserved7: [u8; 2]
Reserved
aop_orb_max_err: u16
Maximum acceptable (modeled) AssistNow Autonomous orbit error
reserved8: [u8; 4]
Reserved
reserved9: [u8; 3]
use_adr: u8
Enable/disable ADR/UDR sensor fusion
Implementations
sourceimpl CfgNavX5Builder
impl CfgNavX5Builder
pub const PACKET_LEN: usize = 48usize
pub fn into_packet_bytes(self) -> [u8; 48]
Trait Implementations
sourceimpl Default for CfgNavX5Builder
impl Default for CfgNavX5Builder
sourcefn default() -> CfgNavX5Builder
fn default() -> CfgNavX5Builder
Returns the “default value” for a type. Read more
sourcefn from(x: CfgNavX5Builder) -> Self
fn from(x: CfgNavX5Builder) -> Self
Converts to this type from the input type.
sourceimpl UbxPacketCreator for CfgNavX5Builder
impl UbxPacketCreator for CfgNavX5Builder
sourcefn create_packet<T: MemWriter>(
self,
out: &mut T
) -> Result<(), MemWriterError<T::Error>>
fn create_packet<T: MemWriter>(
self,
out: &mut T
) -> Result<(), MemWriterError<T::Error>>
Create packet and store bytes sequence to somewhere using out
Auto Trait Implementations
impl RefUnwindSafe for CfgNavX5Builder
impl Send for CfgNavX5Builder
impl Sync for CfgNavX5Builder
impl Unpin for CfgNavX5Builder
impl UnwindSafe for CfgNavX5Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more