GNSS receiver tools  1
Tools for use with GNSS receivers
SkyTraqBin Namespace Reference

Classes

class  Ack
 ACK - Acknowledgement to a Request Message. More...
 
class  Beidou2_subframe_data
 BEIDOU2 D1/D2 SUBFRAME - BEIDOU2 D1/D2 Subframe buffer data. More...
 
class  Bin_measurement_data_output_status
 BINARY MEASUREMENT DATA OUTPUT STATUS - Status of Binary Measurement Data output. More...
 
class  ChecksumMismatch
 Exception class for when checksums don't match. More...
 
class  Clear_log
 LOG CLEAR CONTROL - Clear Data Logging Buffer. More...
 
class  Config_1PPS_cable_delay
 CONFIGURE 1PPS CABLE DELAY - Configure cable delay of 1PPS timing. More...
 
class  Config_1PPS_freq_output
 CONFIGURE 1PPS FREQUENCY OUTPUT - Configure frequency output of 1PPS. More...
 
class  Config_1PPS_pulse_width
 CONFIGURE 1PPS PULSE WIDTH - Configure 1PPS pulse width of GNSS receiver. More...
 
class  Config_1PPS_timing
 CONFIGURE 1PPS TIMING - Configure 1PPS timing of the GNSS receiver. More...
 
class  Config_bin_measurement_data_output
 CONFIGURE BINARY MEASUREMENT DATA OUTPUT - Configure binary measurement data output. More...
 
class  Config_bin_measurement_output_rates
 Configure Binary Measurement Output Rates. More...
 
class  Config_constellation_type
 CONFIGURE GNSS CONSTELLATION TYPE FOR NAVIGATION SOLUTION - Set the GNSS constellation type for navigation solution. More...
 
class  Config_datum
 CONFIGURE DATUM - Configure datum used for GNSS position transformation. More...
 
class  Config_DOP_mask
 CONFIGURE DOP MASK - Configure values of DOP mask. More...
 
class  Config_elevation_CNR_mask
 CONFIGURE ELEVATION AND CNR MASK - Configure values of elevation and CNR mask. More...
 
class  Config_extended_NMEA_msg_interval
 CONFIGURE EXTENDED NMEA MESSAGE INTERVAL - Configure extended NMEA message Interval of GNSS receiver. More...
 
class  Config_GNSS_datum_index
 CONFIGURE GNSS DATUM INDEX - Configure the datum index of GNSS receiver. More...
 
class  Config_GNSS_nav_mode
 CONFIGURE GNSS NAVIGATION MODE - Configure the navigation mode of GNSS receiver. More...
 
class  Config_GPS_param_search_engine_num
 CONFIGURE GPS PARAMETER SEARCH ENGINE NUMBER - Configure the parameter search engine number of GPS receiver. More...
 
class  Config_interference_detection
 CONFIGURE INTERFERENCE DETECTION - Configure the interference detection of GNSS receiver. More...
 
class  Config_leap_seconds
 CONFIGURE GPS/UTC LEAP SECONDS - Configure GPS/UTC leap seconds of GNSS receiver. More...
 
class  Config_logging
 LOG CONFIGURE CONTROL - Configuration Data Logging Criteria. More...
 
class  Config_msg_type
 CONFIGURE MESSAGE TYPE - Configure and select output message type. More...
 
class  Config_nav_data_msg_interval
 
class  Config_NMEA_msg
 CONFIGURE NMEA MESSAGE - Configure NMEA message interval. More...
 
class  Config_NMEA_talker_ID
 CONFIGURE NMEA TALKER ID - Configure NMEA talker ID of GNSS receive. More...
 
class  Config_pos_pinning
 CONFIGURE POSITION PINNING - Enable or disable position pinning of GNSS receiver. More...
 
class  Config_pos_pinning_params
 CONFIGURE POSITION PINNING PARAMETERS - Set position pinning parameters of GNSS receiver. More...
 
class  Config_QZSS
 CONFIGURE QZSS - Configure QZSS of GNSS receiver. More...
 
class  Config_SAEE
 CONFIGURE SAEE - configure SAEE of GNSS receiver. More...
 
class  Config_SBAS
 CONFIGURE SBAS - Configure SBAS parameters of GNSS receiver. More...
 
class  Config_serial_port
 CONFIGURE SERIAL PORT - Set up serial port property. More...
 
class  Config_sys_pos_rate
 CONFIGURE SYSTEM POSITION RATE - Configure the position update rate of GNSS system. More...
 
class  Config_sys_power_mode
 CONFIGURE SYSTEM POWER MODE - Set the power mode of GNSS system. More...
 
class  Get_almanac
 Get Almanac - Get almanac used of firmware. More...
 
class  Get_Glonass_ephemeris
 GET GLONASS EPHEMERIS - Get GLONASS ephemeris used in the GNSS receiver. More...
 
class  Get_GPS_ephemeris
 GET GPS EPHEMERIS - Get GPS ephemeris used of GNSS receiver. More...
 
class  Glonass_ephemeris_data
 GLONASS EPHEMERIS DATA - GLONASS ephemeris data of the GNSS receiver. More...
 
class  Glonass_string_data
 GLONASS STRING - Glonass String buffer data. More...
 
class  GNSS_1PPS_cable_delay
 GNSS 1PPS CABLE DELAY - 1PPS cable delay of the GNSS receiver. More...
 
class  GNSS_1PPS_freq_output
 1PPS FREQUENCY OUTPUT - 1PPS frequency of the GNSS receiver More...
 
class  GNSS_1PPS_pulse_width
 1PPS PULSE WIDTH - 1PPS pulse width of GNSS receiver More...
 
class  GNSS_1PPS_timing
 GNSS 1PPS TIMING - 1PPS timing information of the GNSS receiver. More...
 
class  GNSS_boot_status
 GNSS BOOT STATUS - Boot status of GNSS receiver. More...
 
class  GNSS_constellation_type
 GNSS CONSTELLATION TYPE FOR NAVIGATION SOLUTION - GNSS constellation type for navigation solution. More...
 
class  GNSS_datum
 GNSS DATUM - datum used by the GNSS receiver. More...
 
class  GNSS_datum_index
 GNSS DATUM INDEX - Datum index of GNSS receiver. More...
 
class  GNSS_DOP_mask
 GNSS DOP MASK - DOP Mask used by the GNSS receiver. More...
 
class  GNSS_elevation_CNR_mask
 GNSS ELEVATION AND CNR MASK - Elevation and CNR mask used by the GNSS receiver. More...
 
class  GNSS_extended_NMEA_msg_interval
 EXTENDED NMEA MESSAGE INTERVAL - Extended NMEA message interval of the GNSS receiver. More...
 
class  GNSS_interference_detection_status
 INTERFERENCE DETECTION STATUS - Interference detection status of GNSS receiver. More...
 
class  GNSS_nav_mode
 GNSS NAVIGATION MODE - Navigation mode of the GNSS receiver. More...
 
class  GNSS_pos_pinning_status
 GNSS POSITON PINNING STATUS - Position pinning status of the GNSS receiver. More...
 
class  GNSS_power_mode_status
 GNSS POWER MODE STATUS - Power mode status of the GNSS receiver. More...
 
class  GNSS_QZSS_status
 QZSS STATUS - QZSS status of GNSS receiver. More...
 
class  GNSS_SAEE_status
 SAEE STATUS - SAEE status of GNSS receiver. More...
 
class  GNSS_SBAS_status
 SBAS STATUS - SBAS status of GNSS receiver. More...
 
class  GNSS_time
 GPS TIME - GPS time of GNSS receiver. More...
 
class  GPS_almanac_data
 GPS ALMANAC Data - almanac data of GPS receiver. More...
 
class  GPS_ephemeris_data
 GPS EPHEMERIS DATA - GPS ephemeris data of the GPS receiver. More...
 
class  GPS_param_search_engine_num
 GPS PARAMETER SEARCH ENGINE NUMBER - Number of parameter search engine of GPS receiver. More...
 
class  GPS_subframe_data
 SUBFRAME - Sub frame buffer data. More...
 
class  Input_message
 Base class for messages that go to the GPS receiver. More...
 
class  Input_message_with_subid
 Base class for messages that go to the GPS receiver with a sub-ID. More...
 
class  Log_status_output
 LOG STATUS OUTPUT - Output Status of the Log Buffer. More...
 
class  Measurement_time
 MEAS_TIME - Measurement time information. More...
 
class  Message
 Base class for a binary message. More...
 
class  Nack
 NACK - Response to an unsuccessful request message. More...
 
class  Nav_data_msg
 NAVIGATION DATA MESSAGE - Message of user navigation data in binary format. More...
 
class  NMEA_talker_ID
 GNSS NMEA TALKER ID - NMEA talker ID of GNSS receiver. More...
 
class  Output_message
 Base class for messages that come from the GPS receiver. More...
 
class  Output_message_with_subid
 Base class for messages that come from the GPS receiver with a sub-ID. More...
 
struct  PackedVersion
 
class  Pos_update_rate
 POSITON UPDATE RATE - Position Update rate of the GNSS system. More...
 
class  Q_1PPS_cable_delay
 QUERY 1PPS CABLE DELAY - Query 1PPS cable delay of the GNSS receiver. More...
 
class  Q_1PPS_freq_output
 QUERY 1PPS FREQUENCY OUTPUT - Query 1PPS frequency output of the GNSS receive. More...
 
class  Q_1PPS_pulse_width
 QUERY 1PPS PULSE WIDTH - Query 1PPS pulse width of GNSS receiver. More...
 
class  Q_1PPS_timing
 QUERY 1PPS TIMING - Query 1PPS timing of the GNSS receiver. More...
 
class  Q_bin_messurement_data_output_status
 QUERY BINARY MEASUREMENT DATA OUTPUT STATUS - Query the status of binary measurement data output. More...
 
class  Q_constellation_type
 QUERY GNSS CONSTELLATION TYPE FOR NAVIGATION SOLUTION - Query the GNSS constellation type for navigation solution. More...
 
class  Q_datum
 QUERY DATUM - Query datum used by the GNSS receiver. More...
 
class  Q_DOP_mask
 QUERY DOP MASK - Query information of DOP mask used by the GNSS receiver. More...
 
class  Q_elevation_CNR_mask
 QUERY ELEVATION AND CNR MASK - Query elevation and CNR mask used by the GNSS receiver. More...
 
class  Q_extended_NMEA_msg_interval
 QUERY EXTENDED NMEA MESSAGE INTERVAL. More...
 
class  Q_GNSS_boot_status
 QUERY GNSS BOOT STATUS - Query boot status of GNSS receiver. More...
 
class  Q_GNSS_datum_index
 QUERY GNSS DATUM INDEX - Query the datum index of the GNSS receiver. More...
 
class  Q_GNSS_nav_mode
 QUERY GNSS NAVIGATION MODE - Query the navigation mode of GNSS receiver. More...
 
class  Q_GPS_param_search_engine_num
 QUERY GPS PARAMETER SEARCH ENGINE NUMBER - Query the parameter search engine number of the GPS receiver. More...
 
class  Q_GPS_time
 QUERY GPS TIME - Query GPS time of GNSS receiver. More...
 
class  Q_interference_detection_status
 QUERY INTERFERENCE DETECTION STATUS - Query the status of interference detection of the GNSS receiver. More...
 
class  Q_log_status
 LOG STATUS CONTROL - Request Information of the Log Buffer Status. More...
 
class  Q_NMEA_talker_ID
 QUERY NMEA TALKER ID - Query NMEA talker ID of GNSS receiver. More...
 
class  Q_pos_pinning
 QUERY POSITION PINNING - Query position pinning status of GNSS receiver. More...
 
class  Q_pos_update_rate
 QUERY POSITION UPDATE RATE - Query the position update rate of GNSS system. More...
 
class  Q_power_mode
 QUERY POWER MODE - Query status of power mode of GNSS receiver. More...
 
class  Q_QZSS_status
 QUERY QZSS STATUS - Query QZSS status of GNSS receiver. More...
 
class  Q_SAEE_status
 QUERY SAEE STATUS. More...
 
class  Q_SBAS_status
 QUERY SBAS STATUS - Query SBAS status of GNSS receiver. More...
 
class  Q_sw_CRC
 QUERY SOFTWARE CRC - Query CRC information of loaded software. More...
 
class  Q_sw_ver
 QUERY SOFTWARE VERSION - Query revision information of loaded software. More...
 
class  Raw_measurements
 RAW_MEAS - Raw measurements from each channel. More...
 
struct  RawMeasurement
 
class  Rcv_state
 RCV_STATE - Receiver navigation status. More...
 
class  Read_log
 LOG READ BATCH CONTROL - Enable data read from the log buffer. More...
 
class  Restart_sys
 SYSTEM RESTART - Force System to restart. More...
 
class  Sensor_data
 Message of accelerometer, magnetometer, pressure and temperature data. More...
 
class  Set_factory_defaults
 SET FACTORY DEFAULTS - Set the system to factory default values. More...
 
class  Set_Glonass_ephemeris
 SET GLONASS EPHEMERIS - Set GLONASS ephemeris to the GNSS receiver. More...
 
class  Set_GPS_ephemeris
 SET GPS EPHEMERIS - Set GPS ephemeris to GNSS receiver. More...
 
class  SV_channel_status
 SV_CH_STATUS - SV and channel status. More...
 
struct  SvStatus
 
class  Sw_CRC
 SOFTWARE CRC -Software CRC of the GNSS receiver. More...
 
class  Sw_img_download
 SOFTWARE IMAGE DOWNLOAD - Download software image to system flash. More...
 
class  Sw_ver
 SOFTWARE VERSION - Software version of the GNSS receiver. More...
 
class  UnknownMessageID
 Exception class for when we can't find the message ID in our list. More...
 
class  with_response
 Role base class for input messages that have a response message. More...
 
class  with_subid
 Role base class for adding a message sub-ID to message classes. More...
 

Typedefs

typedef uint16_t Payload_length
 Type for the binary message payload length, limited to 64 KiB. More...
 
typedef std::function< Output_message::ptr(uint8_t *, Payload_length)> output_message_factory
 

Enumerations

enum  StartMode : uint8_t { StartMode::HotStart = 1, StartMode::WarmStart, StartMode::ColdStart }
 
enum  SwType : uint8_t { SwType::SystemCode = 1 }
 
enum  BaudRate : uint8_t {
  BaudRate::Baud4800 = 0, BaudRate::Baud9600, BaudRate::Baud19200, BaudRate::Baud38400,
  BaudRate::Baud57600, BaudRate::Baud115200, BaudRate::Baud230400, BaudRate::Baud460800,
  BaudRate::Baud921600
}
 
enum  UpdateType : uint8_t { UpdateType::SRAM = 0, UpdateType::SRAM_and_flash, UpdateType::Temporary }
 
enum  MessageType : uint8_t { MessageType::None = 0, MessageType::NMEA0183, MessageType::Binary }
 
enum  FlashType : uint8_t {
  FlashType::Auto = 0, FlashType::QSPI_Winbond, FlashType::QSPI_EON, FlashType::Parallel_Numonyx,
  FlashType::Parallel_EON
}
 
enum  BufferUsed : uint8_t { BufferUsed::Size8K = 0, BufferUsed::Size16K, BufferUsed::Size24K, BufferUsed::Size32K }
 
enum  PowerMode : uint8_t { PowerMode::Normal = 0, PowerMode::PowerSave }
 
enum  OutputRate : uint8_t {
  OutputRate::Rate1Hz = 0, OutputRate::Rate2Hz, OutputRate::Rate4Hz, OutputRate::Rate5Hz,
  OutputRate::Rate10Hz, OutputRate::Rate20Hz
}
 
enum  DOPmode : uint8_t {
  DOPmode::Disable = 0, DOPmode::Auto, DOPmode::PDOP_only, DOPmode::HDOP_only,
  DOPmode::GDOP_only
}
 
enum  ElevationCNRmode : uint8_t { ElevationCNRmode::Disable = 0, ElevationCNRmode::ElevationCNR, ElevationCNRmode::Elevation_only, ElevationCNRmode::CNR_only }
 
enum  DefaultOrEnable : uint8_t { DefaultOrEnable::Default = 0, DefaultOrEnable::Enable, DefaultOrEnable::Disable }
 
enum  TalkerID : uint8_t { TalkerID::GP = 0, TalkerID::GN }
 
enum  EnableOrAuto : uint8_t { EnableOrAuto::Disable = 0, EnableOrAuto::Enable, EnableOrAuto::Auto }
 
enum  ParameterSearchEngineMode : uint8_t {
  ParameterSearchEngineMode::Default = 0, ParameterSearchEngineMode::Low, ParameterSearchEngineMode::Mid, ParameterSearchEngineMode::High,
  ParameterSearchEngineMode::Full
}
 
enum  NavigationMode : uint8_t {
  NavigationMode::Auto = 0, NavigationMode::Pedestrian, NavigationMode::Car, NavigationMode::Marine,
  NavigationMode::Balloon, NavigationMode::Airborne
}
 
enum  BootStatus : uint8_t { BootStatus::FromFlash = 0, BootStatus::FromROM }
 
enum  InterferenceStatus : uint8_t { InterferenceStatus::Unknown = 0, InterferenceStatus::None, InterferenceStatus::Little, InterferenceStatus::Critical }
 
enum  FixType : uint8_t { FixType::None = 0, FixType::TwoDimensional, FixType::ThreeDimensional, FixType::Differential }
 
enum  NavigationState : uint8_t {
  NavigationState::NoFix = 0, NavigationState::Predicted, NavigationState::TwoDimensional, NavigationState::ThreeDimensional,
  NavigationState::Differential
}
 

Functions

Output_message::ptr parse_message (unsigned char *buffer, std::size_t len)
 Parser. More...
 
BaudRate rate_to_BaudRate (unsigned int rate)
 Convert from an integer baud rate to a BaudRate enum. More...
 
unsigned int BaudRate_rate (BaudRate br)
 Convert from a BaudRate enum to an integer value. More...
 
OutputRate Hz_to_OutputRate (unsigned int hz)
 Convert from an integer rate to an OutputRate enum. More...
 
unsigned int OutputRate_Hz (OutputRate r)
 Convert from an OutputRate enum to an integer value. More...
 
uint8_t checksum (unsigned char *buffer, Payload_length len)
 

Variables

const Payload_length StartSeq_len = 2
 
const Payload_length PayloadLength_len = 2
 
const Payload_length MsgID_len = 1
 
const Payload_length MsgSubID_len = 1
 
const Payload_length Checksum_len = 1
 
const Payload_length EndSeq_len = 2
 
std::map< uint16_t, output_message_factoryoutput_message_factories
 

Typedef Documentation

Definition at line 89 of file SkyTraqBin.cc.

typedef uint16_t SkyTraqBin::Payload_length

Type for the binary message payload length, limited to 64 KiB.

Definition at line 38 of file SkyTraqBin.hh.

Enumeration Type Documentation

enum SkyTraqBin::BaudRate : uint8_t
strong
Enumerator
Baud4800 
Baud9600 
Baud19200 
Baud38400 
Baud57600 
Baud115200 
Baud230400 
Baud460800 
Baud921600 

Definition at line 231 of file SkyTraqBin.hh.

enum SkyTraqBin::BootStatus : uint8_t
strong
Enumerator
FromFlash 
FromROM 

Definition at line 359 of file SkyTraqBin.hh.

enum SkyTraqBin::BufferUsed : uint8_t
strong
Enumerator
Size8K 
Size16K 
Size24K 
Size32K 

Definition at line 273 of file SkyTraqBin.hh.

enum SkyTraqBin::DefaultOrEnable : uint8_t
strong
Enumerator
Default 
Enable 
Disable 

Definition at line 320 of file SkyTraqBin.hh.

enum SkyTraqBin::DOPmode : uint8_t
strong
Enumerator
Disable 
Auto 
PDOP_only 
HDOP_only 
GDOP_only 

Definition at line 303 of file SkyTraqBin.hh.

enum SkyTraqBin::ElevationCNRmode : uint8_t
strong
Enumerator
Disable 
ElevationCNR 
Elevation_only 
CNR_only 

Definition at line 312 of file SkyTraqBin.hh.

enum SkyTraqBin::EnableOrAuto : uint8_t
strong
Enumerator
Disable 
Enable 
Auto 

Definition at line 333 of file SkyTraqBin.hh.

enum SkyTraqBin::FixType : uint8_t
strong
Enumerator
None 
TwoDimensional 
ThreeDimensional 
Differential 

Definition at line 373 of file SkyTraqBin.hh.

enum SkyTraqBin::FlashType : uint8_t
strong
Enumerator
Auto 
QSPI_Winbond 
QSPI_EON 
Parallel_Numonyx 
Parallel_EON 

Definition at line 264 of file SkyTraqBin.hh.

enum SkyTraqBin::InterferenceStatus : uint8_t
strong
Enumerator
Unknown 
None 
Little 
Critical 

Definition at line 365 of file SkyTraqBin.hh.

enum SkyTraqBin::MessageType : uint8_t
strong
Enumerator
None 
NMEA0183 
Binary 

Definition at line 257 of file SkyTraqBin.hh.

enum SkyTraqBin::NavigationMode : uint8_t
strong
Enumerator
Auto 
Pedestrian 
Car 
Marine 
Balloon 
Airborne 

Definition at line 349 of file SkyTraqBin.hh.

enum SkyTraqBin::NavigationState : uint8_t
strong
Enumerator
NoFix 
Predicted 
TwoDimensional 
ThreeDimensional 
Differential 

Definition at line 381 of file SkyTraqBin.hh.

enum SkyTraqBin::OutputRate : uint8_t
strong
Enumerator
Rate1Hz 
Rate2Hz 
Rate4Hz 
Rate5Hz 
Rate10Hz 
Rate20Hz 

Definition at line 287 of file SkyTraqBin.hh.

Enumerator
Default 
Low 
Mid 
High 
Full 

Definition at line 340 of file SkyTraqBin.hh.

enum SkyTraqBin::PowerMode : uint8_t
strong
Enumerator
Normal 
PowerSave 

Definition at line 281 of file SkyTraqBin.hh.

enum SkyTraqBin::StartMode : uint8_t
strong
Enumerator
HotStart 
WarmStart 
ColdStart 

Definition at line 219 of file SkyTraqBin.hh.

enum SkyTraqBin::SwType : uint8_t
strong
Enumerator
SystemCode 

Definition at line 226 of file SkyTraqBin.hh.

enum SkyTraqBin::TalkerID : uint8_t
strong
Enumerator
GP 
GN 

Definition at line 327 of file SkyTraqBin.hh.

enum SkyTraqBin::UpdateType : uint8_t
strong
Enumerator
SRAM 
SRAM_and_flash 
Temporary 

Definition at line 250 of file SkyTraqBin.hh.

Function Documentation

unsigned int SkyTraqBin::BaudRate_rate ( BaudRate  br)

Convert from a BaudRate enum to an integer value.

Definition at line 201 of file SkyTraqBin.cc.

uint8_t SkyTraqBin::checksum ( unsigned char *  buffer,
Payload_length  len 
)

Definition at line 40 of file SkyTraqBin.cc.

OutputRate SkyTraqBin::Hz_to_OutputRate ( unsigned int  hz)

Convert from an integer rate to an OutputRate enum.

Definition at line 235 of file SkyTraqBin.cc.

unsigned int SkyTraqBin::OutputRate_Hz ( OutputRate  r)

Convert from an OutputRate enum to an integer value.

Definition at line 257 of file SkyTraqBin.cc.

Output_message::ptr SkyTraqBin::parse_message ( unsigned char *  buffer,
std::size_t  len 
)

Parser.

Definition at line 139 of file SkyTraqBin.cc.

BaudRate SkyTraqBin::rate_to_BaudRate ( unsigned int  rate)

Convert from an integer baud rate to a BaudRate enum.

Definition at line 170 of file SkyTraqBin.cc.

Variable Documentation

const Payload_length SkyTraqBin::Checksum_len = 1

Definition at line 44 of file SkyTraqBin.hh.

const Payload_length SkyTraqBin::EndSeq_len = 2

Definition at line 45 of file SkyTraqBin.hh.

const Payload_length SkyTraqBin::MsgID_len = 1

Definition at line 42 of file SkyTraqBin.hh.

const Payload_length SkyTraqBin::MsgSubID_len = 1

Definition at line 43 of file SkyTraqBin.hh.

std::map<uint16_t, output_message_factory> SkyTraqBin::output_message_factories

Definition at line 93 of file SkyTraqBin.cc.

const Payload_length SkyTraqBin::PayloadLength_len = 2

Definition at line 41 of file SkyTraqBin.hh.

const Payload_length SkyTraqBin::StartSeq_len = 2

Definition at line 40 of file SkyTraqBin.hh.