#[non_exhaustive]
pub enum Sbp {
Show 222 variants
MsgPrintDep(MsgPrintDep),
MsgTrackingStateDetailedDep(MsgTrackingStateDetailedDep),
MsgTrackingStateDepB(MsgTrackingStateDepB),
MsgAcqResultDepB(MsgAcqResultDepB),
MsgAcqResultDepA(MsgAcqResultDepA),
MsgTrackingStateDepA(MsgTrackingStateDepA),
MsgThreadState(MsgThreadState),
MsgUartStateDepa(MsgUartStateDepa),
MsgIarState(MsgIarState),
MsgEphemerisDepA(MsgEphemerisDepA),
MsgMaskSatelliteDep(MsgMaskSatelliteDep),
MsgTrackingIqDepA(MsgTrackingIqDepA),
MsgUartState(MsgUartState),
MsgAcqSvProfileDep(MsgAcqSvProfileDep),
MsgAcqResultDepC(MsgAcqResultDepC),
MsgTrackingStateDetailedDepA(MsgTrackingStateDetailedDepA),
MsgResetFilters(MsgResetFilters),
MsgInitBaseDep(MsgInitBaseDep),
MsgMaskSatellite(MsgMaskSatellite),
MsgTrackingIqDepB(MsgTrackingIqDepB),
MsgTrackingIq(MsgTrackingIq),
MsgAcqSvProfile(MsgAcqSvProfile),
MsgAcqResult(MsgAcqResult),
MsgTrackingState(MsgTrackingState),
MsgObsDepB(MsgObsDepB),
MsgBasePosLlh(MsgBasePosLlh),
MsgObsDepA(MsgObsDepA),
MsgEphemerisDepB(MsgEphemerisDepB),
MsgEphemerisDepC(MsgEphemerisDepC),
MsgBasePosEcef(MsgBasePosEcef),
MsgObsDepC(MsgObsDepC),
MsgObs(MsgObs),
MsgSpecanDep(MsgSpecanDep),
MsgSpecan(MsgSpecan),
MsgMeasurementState(MsgMeasurementState),
MsgSetTime(MsgSetTime),
MsgAlmanac(MsgAlmanac),
MsgAlmanacGpsDep(MsgAlmanacGpsDep),
MsgAlmanacGloDep(MsgAlmanacGloDep),
MsgAlmanacGps(MsgAlmanacGps),
MsgAlmanacGlo(MsgAlmanacGlo),
MsgGloBiases(MsgGloBiases),
MsgEphemerisDepD(MsgEphemerisDepD),
MsgEphemerisGpsDepE(MsgEphemerisGpsDepE),
MsgEphemerisSbasDepA(MsgEphemerisSbasDepA),
MsgEphemerisGloDepA(MsgEphemerisGloDepA),
MsgEphemerisSbasDepB(MsgEphemerisSbasDepB),
MsgEphemerisGloDepB(MsgEphemerisGloDepB),
MsgEphemerisGpsDepF(MsgEphemerisGpsDepF),
MsgEphemerisGloDepC(MsgEphemerisGloDepC),
MsgEphemerisGloDepD(MsgEphemerisGloDepD),
MsgEphemerisBds(MsgEphemerisBds),
MsgEphemerisGps(MsgEphemerisGps),
MsgEphemerisGlo(MsgEphemerisGlo),
MsgEphemerisSbas(MsgEphemerisSbas),
MsgEphemerisGal(MsgEphemerisGal),
MsgEphemerisQzss(MsgEphemerisQzss),
MsgIono(MsgIono),
MsgSvConfigurationGpsDep(MsgSvConfigurationGpsDep),
MsgGroupDelayDepA(MsgGroupDelayDepA),
MsgGroupDelayDepB(MsgGroupDelayDepB),
MsgGroupDelay(MsgGroupDelay),
MsgEphemerisGalDepA(MsgEphemerisGalDepA),
MsgGnssCapb(MsgGnssCapb),
MsgSvAzEl(MsgSvAzEl),
MsgSettingsWrite(MsgSettingsWrite),
MsgSettingsSave(MsgSettingsSave),
MsgSettingsReadByIndexReq(MsgSettingsReadByIndexReq),
MsgFileioReadResp(MsgFileioReadResp),
MsgSettingsReadReq(MsgSettingsReadReq),
MsgSettingsReadResp(MsgSettingsReadResp),
MsgSettingsReadByIndexDone(MsgSettingsReadByIndexDone),
MsgSettingsReadByIndexResp(MsgSettingsReadByIndexResp),
MsgFileioReadReq(MsgFileioReadReq),
MsgFileioReadDirReq(MsgFileioReadDirReq),
MsgFileioReadDirResp(MsgFileioReadDirResp),
MsgFileioWriteResp(MsgFileioWriteResp),
MsgFileioRemove(MsgFileioRemove),
MsgFileioWriteReq(MsgFileioWriteReq),
MsgSettingsRegister(MsgSettingsRegister),
MsgSettingsWriteResp(MsgSettingsWriteResp),
MsgBootloaderHandshakeDepA(MsgBootloaderHandshakeDepA),
MsgBootloaderJumpToApp(MsgBootloaderJumpToApp),
MsgResetDep(MsgResetDep),
MsgBootloaderHandshakeReq(MsgBootloaderHandshakeReq),
MsgBootloaderHandshakeResp(MsgBootloaderHandshakeResp),
MsgDeviceMonitor(MsgDeviceMonitor),
MsgReset(MsgReset),
MsgCommandReq(MsgCommandReq),
MsgCommandResp(MsgCommandResp),
MsgNetworkStateReq(MsgNetworkStateReq),
MsgNetworkStateResp(MsgNetworkStateResp),
MsgCommandOutput(MsgCommandOutput),
MsgNetworkBandwidthUsage(MsgNetworkBandwidthUsage),
MsgCellModemStatus(MsgCellModemStatus),
MsgFrontEndGain(MsgFrontEndGain),
MsgCwResults(MsgCwResults),
MsgCwStart(MsgCwStart),
MsgNapDeviceDnaResp(MsgNapDeviceDnaResp),
MsgNapDeviceDnaReq(MsgNapDeviceDnaReq),
MsgFlashDone(MsgFlashDone),
MsgFlashReadResp(MsgFlashReadResp),
MsgFlashErase(MsgFlashErase),
MsgStmFlashLockSector(MsgStmFlashLockSector),
MsgStmFlashUnlockSector(MsgStmFlashUnlockSector),
MsgStmUniqueIdResp(MsgStmUniqueIdResp),
MsgFlashProgram(MsgFlashProgram),
MsgFlashReadReq(MsgFlashReadReq),
MsgStmUniqueIdReq(MsgStmUniqueIdReq),
MsgM25FlashWriteStatus(MsgM25FlashWriteStatus),
MsgGpsTimeDepA(MsgGpsTimeDepA),
MsgExtEvent(MsgExtEvent),
MsgGpsTime(MsgGpsTime),
MsgUtcTime(MsgUtcTime),
MsgGpsTimeGnss(MsgGpsTimeGnss),
MsgUtcTimeGnss(MsgUtcTimeGnss),
MsgSettingsRegisterResp(MsgSettingsRegisterResp),
MsgPosEcefDepA(MsgPosEcefDepA),
MsgPosLlhDepA(MsgPosLlhDepA),
MsgBaselineEcefDepA(MsgBaselineEcefDepA),
MsgBaselineNedDepA(MsgBaselineNedDepA),
MsgVelEcefDepA(MsgVelEcefDepA),
MsgVelNedDepA(MsgVelNedDepA),
MsgDopsDepA(MsgDopsDepA),
MsgBaselineHeadingDepA(MsgBaselineHeadingDepA),
MsgDops(MsgDops),
MsgPosEcef(MsgPosEcef),
MsgPosLlh(MsgPosLlh),
MsgBaselineEcef(MsgBaselineEcef),
MsgBaselineNed(MsgBaselineNed),
MsgVelEcef(MsgVelEcef),
MsgVelNed(MsgVelNed),
MsgBaselineHeading(MsgBaselineHeading),
MsgAgeCorrections(MsgAgeCorrections),
MsgPosLlhCov(MsgPosLlhCov),
MsgVelNedCov(MsgVelNedCov),
MsgVelBody(MsgVelBody),
MsgPosEcefCov(MsgPosEcefCov),
MsgVelEcefCov(MsgVelEcefCov),
MsgProtectionLevelDepA(MsgProtectionLevelDepA),
MsgProtectionLevel(MsgProtectionLevel),
MsgPosLlhAcc(MsgPosLlhAcc),
MsgVelCog(MsgVelCog),
MsgOrientQuat(MsgOrientQuat),
MsgOrientEuler(MsgOrientEuler),
MsgAngularRate(MsgAngularRate),
MsgPosEcefGnss(MsgPosEcefGnss),
MsgPosLlhGnss(MsgPosLlhGnss),
MsgVelEcefGnss(MsgVelEcefGnss),
MsgVelNedGnss(MsgVelNedGnss),
MsgPosLlhCovGnss(MsgPosLlhCovGnss),
MsgVelNedCovGnss(MsgVelNedCovGnss),
MsgPosEcefCovGnss(MsgPosEcefCovGnss),
MsgVelEcefCovGnss(MsgVelEcefCovGnss),
MsgUtcLeapSecond(MsgUtcLeapSecond),
MsgReferenceFrameParam(MsgReferenceFrameParam),
MsgNdbEvent(MsgNdbEvent),
MsgLog(MsgLog),
MsgFwd(MsgFwd),
MsgSsrOrbitClockDepA(MsgSsrOrbitClockDepA),
MsgSsrOrbitClock(MsgSsrOrbitClock),
MsgSsrOrbitClockBounds(MsgSsrOrbitClockBounds),
MsgSsrOrbitClockBoundsDegradation(MsgSsrOrbitClockBoundsDegradation),
MsgSsrCodeBiases(MsgSsrCodeBiases),
MsgSsrPhaseBiases(MsgSsrPhaseBiases),
MsgSsrStecCorrectionDepA(MsgSsrStecCorrectionDepA),
MsgSsrCodePhaseBiasesBounds(MsgSsrCodePhaseBiasesBounds),
MsgSsrGriddedCorrectionNoStdDepA(MsgSsrGriddedCorrectionNoStdDepA),
MsgSsrGridDefinitionDepA(MsgSsrGridDefinitionDepA),
MsgSsrTileDefinitionDep(MsgSsrTileDefinitionDep),
MsgSsrTileDefinition(MsgSsrTileDefinition),
MsgSsrGriddedCorrectionDepA(MsgSsrGriddedCorrectionDepA),
MsgSsrStecCorrectionDep(MsgSsrStecCorrectionDep),
MsgSsrGriddedCorrection(MsgSsrGriddedCorrection),
MsgSsrStecCorrection(MsgSsrStecCorrection),
MsgSsrGriddedCorrectionBounds(MsgSsrGriddedCorrectionBounds),
MsgSsrSatelliteApc(MsgSsrSatelliteApc),
MsgOsr(MsgOsr),
MsgUserData(MsgUserData),
MsgImuRaw(MsgImuRaw),
MsgImuAux(MsgImuAux),
MsgMagRaw(MsgMagRaw),
MsgOdometry(MsgOdometry),
MsgWheeltick(MsgWheeltick),
MsgSsrFlagHighLevel(MsgSsrFlagHighLevel),
MsgSsrFlagSatellites(MsgSsrFlagSatellites),
MsgSsrFlagTropoGridPoints(MsgSsrFlagTropoGridPoints),
MsgSsrFlagIonoGridPoints(MsgSsrFlagIonoGridPoints),
MsgSsrFlagIonoTileSatLos(MsgSsrFlagIonoTileSatLos),
MsgSsrFlagIonoGridPointSatLos(MsgSsrFlagIonoGridPointSatLos),
MsgEd25519Signature(MsgEd25519Signature),
MsgEd25519Certificate(MsgEd25519Certificate),
MsgFileioConfigReq(MsgFileioConfigReq),
MsgFileioConfigResp(MsgFileioConfigResp),
MsgSbasRaw(MsgSbasRaw),
MsgLinuxCpuStateDepA(MsgLinuxCpuStateDepA),
MsgLinuxMemStateDepA(MsgLinuxMemStateDepA),
MsgLinuxSysStateDepA(MsgLinuxSysStateDepA),
MsgLinuxProcessSocketCounts(MsgLinuxProcessSocketCounts),
MsgLinuxProcessSocketQueues(MsgLinuxProcessSocketQueues),
MsgLinuxSocketUsage(MsgLinuxSocketUsage),
MsgLinuxProcessFdCount(MsgLinuxProcessFdCount),
MsgLinuxProcessFdSummary(MsgLinuxProcessFdSummary),
MsgLinuxCpuState(MsgLinuxCpuState),
MsgLinuxMemState(MsgLinuxMemState),
MsgLinuxSysState(MsgLinuxSysState),
MsgStartup(MsgStartup),
MsgDgnssStatus(MsgDgnssStatus),
MsgInsStatus(MsgInsStatus),
MsgCsacTelemetry(MsgCsacTelemetry),
MsgCsacTelemetryLabels(MsgCsacTelemetryLabels),
MsgInsUpdates(MsgInsUpdates),
MsgGnssTimeOffset(MsgGnssTimeOffset),
MsgPpsTime(MsgPpsTime),
MsgSensorAidEvent(MsgSensorAidEvent),
MsgGroupMeta(MsgGroupMeta),
MsgSolnMeta(MsgSolnMeta),
MsgSolnMetaDepA(MsgSolnMetaDepA),
MsgStatusJournal(MsgStatusJournal),
MsgStatusReport(MsgStatusReport),
MsgHeartbeat(MsgHeartbeat),
Unknown(Unknown),
}
Expand description
Represents any SBP message.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
MsgPrintDep(MsgPrintDep)
Deprecated
MsgTrackingStateDetailedDep(MsgTrackingStateDetailedDep)
Deprecated
MsgTrackingStateDepB(MsgTrackingStateDepB)
Deprecated
MsgAcqResultDepB(MsgAcqResultDepB)
Deprecated
MsgAcqResultDepA(MsgAcqResultDepA)
Deprecated
MsgTrackingStateDepA(MsgTrackingStateDepA)
Deprecated
MsgThreadState(MsgThreadState)
State of an RTOS thread
MsgUartStateDepa(MsgUartStateDepa)
Deprecated
MsgIarState(MsgIarState)
State of the Integer Ambiguity Resolution (IAR) process
MsgEphemerisDepA(MsgEphemerisDepA)
Deprecated
MsgMaskSatelliteDep(MsgMaskSatelliteDep)
Deprecated
MsgTrackingIqDepA(MsgTrackingIqDepA)
Deprecated
MsgUartState(MsgUartState)
State of the UART channels
MsgAcqSvProfileDep(MsgAcqSvProfileDep)
Deprecated
MsgAcqResultDepC(MsgAcqResultDepC)
Deprecated
MsgTrackingStateDetailedDepA(MsgTrackingStateDetailedDepA)
Detailed signal tracking channel states. DEPRECATED
MsgResetFilters(MsgResetFilters)
Reset IAR filters (host => Piksi)
MsgInitBaseDep(MsgInitBaseDep)
Deprecated
MsgMaskSatellite(MsgMaskSatellite)
Mask a satellite from use in Piksi subsystems
MsgTrackingIqDepB(MsgTrackingIqDepB)
Tracking channel correlations
MsgTrackingIq(MsgTrackingIq)
Tracking channel correlations
MsgAcqSvProfile(MsgAcqSvProfile)
Acquisition perfomance measurement and debug
MsgAcqResult(MsgAcqResult)
Satellite acquisition result
MsgTrackingState(MsgTrackingState)
Signal tracking channel states
MsgObsDepB(MsgObsDepB)
Deprecated
MsgBasePosLlh(MsgBasePosLlh)
Base station position
MsgObsDepA(MsgObsDepA)
Deprecated
MsgEphemerisDepB(MsgEphemerisDepB)
Deprecated
MsgEphemerisDepC(MsgEphemerisDepC)
Satellite broadcast ephemeris
MsgBasePosEcef(MsgBasePosEcef)
Base station position in ECEF
MsgObsDepC(MsgObsDepC)
Deprecated
MsgObs(MsgObs)
GPS satellite observations
MsgSpecanDep(MsgSpecanDep)
Deprecated
MsgSpecan(MsgSpecan)
Spectrum analyzer
MsgMeasurementState(MsgMeasurementState)
Measurement Engine signal tracking channel states
MsgSetTime(MsgSetTime)
Send GPS time from host (host => Piksi)
MsgAlmanac(MsgAlmanac)
Legacy message to load satellite almanac (host => Piksi)
MsgAlmanacGpsDep(MsgAlmanacGpsDep)
Satellite broadcast ephemeris for GPS
MsgAlmanacGloDep(MsgAlmanacGloDep)
Satellite broadcast ephemeris for GLO
MsgAlmanacGps(MsgAlmanacGps)
Satellite broadcast ephemeris for GPS
MsgAlmanacGlo(MsgAlmanacGlo)
Satellite broadcast ephemeris for GLO
MsgGloBiases(MsgGloBiases)
GLONASS L1/L2 Code-Phase biases
MsgEphemerisDepD(MsgEphemerisDepD)
Satellite broadcast ephemeris
MsgEphemerisGpsDepE(MsgEphemerisGpsDepE)
Satellite broadcast ephemeris for GPS
MsgEphemerisSbasDepA(MsgEphemerisSbasDepA)
Satellite broadcast ephemeris for SBAS
MsgEphemerisGloDepA(MsgEphemerisGloDepA)
Satellite broadcast ephemeris for GLO
MsgEphemerisSbasDepB(MsgEphemerisSbasDepB)
Deprecated
MsgEphemerisGloDepB(MsgEphemerisGloDepB)
Satellite broadcast ephemeris for GLO
MsgEphemerisGpsDepF(MsgEphemerisGpsDepF)
Deprecated
MsgEphemerisGloDepC(MsgEphemerisGloDepC)
Satellite broadcast ephemeris for GLO
MsgEphemerisGloDepD(MsgEphemerisGloDepD)
Deprecated
MsgEphemerisBds(MsgEphemerisBds)
Satellite broadcast ephemeris for BDS
MsgEphemerisGps(MsgEphemerisGps)
Satellite broadcast ephemeris for GPS
MsgEphemerisGlo(MsgEphemerisGlo)
Satellite broadcast ephemeris for GLO
MsgEphemerisSbas(MsgEphemerisSbas)
Satellite broadcast ephemeris for SBAS
MsgEphemerisGal(MsgEphemerisGal)
Satellite broadcast ephemeris for Galileo
MsgEphemerisQzss(MsgEphemerisQzss)
Satellite broadcast ephemeris for QZSS
MsgIono(MsgIono)
Iono corrections
MsgSvConfigurationGpsDep(MsgSvConfigurationGpsDep)
L2C capability mask
MsgGroupDelayDepA(MsgGroupDelayDepA)
Group Delay
MsgGroupDelayDepB(MsgGroupDelayDepB)
Group Delay
MsgGroupDelay(MsgGroupDelay)
Group Delay
MsgEphemerisGalDepA(MsgEphemerisGalDepA)
Deprecated
MsgGnssCapb(MsgGnssCapb)
GNSS capabilities
MsgSvAzEl(MsgSvAzEl)
Satellite azimuths and elevations
MsgSettingsWrite(MsgSettingsWrite)
Write device configuration settings (host => device)
MsgSettingsSave(MsgSettingsSave)
Save settings to flash (host => device)
MsgSettingsReadByIndexReq(MsgSettingsReadByIndexReq)
Read setting by direct index (host => device)
MsgFileioReadResp(MsgFileioReadResp)
File read from the file system (host <= device)
MsgSettingsReadReq(MsgSettingsReadReq)
Read device configuration settings (host => device)
MsgSettingsReadResp(MsgSettingsReadResp)
Read device configuration settings (host <= device)
MsgSettingsReadByIndexDone(MsgSettingsReadByIndexDone)
Finished reading settings (host <= device)
MsgSettingsReadByIndexResp(MsgSettingsReadByIndexResp)
Read setting by direct index (host <= device)
MsgFileioReadReq(MsgFileioReadReq)
Read file from the file system (host => device)
MsgFileioReadDirReq(MsgFileioReadDirReq)
List files in a directory (host => device)
MsgFileioReadDirResp(MsgFileioReadDirResp)
Files listed in a directory (host <= device)
MsgFileioWriteResp(MsgFileioWriteResp)
File written to (host <= device)
MsgFileioRemove(MsgFileioRemove)
Delete a file from the file system (host => device)
MsgFileioWriteReq(MsgFileioWriteReq)
Write to file (host => device)
MsgSettingsRegister(MsgSettingsRegister)
Register setting and default value (device => host)
MsgSettingsWriteResp(MsgSettingsWriteResp)
Acknowledgement with status of MSG_SETTINGS_WRITE
MsgBootloaderHandshakeDepA(MsgBootloaderHandshakeDepA)
Deprecated
MsgBootloaderJumpToApp(MsgBootloaderJumpToApp)
Bootloader jump to application (host => device)
MsgResetDep(MsgResetDep)
Reset the device (host => Piksi)
MsgBootloaderHandshakeReq(MsgBootloaderHandshakeReq)
Bootloading handshake request (host => device)
MsgBootloaderHandshakeResp(MsgBootloaderHandshakeResp)
Bootloading handshake response (host <= device)
MsgDeviceMonitor(MsgDeviceMonitor)
Device temperature and voltage levels
MsgReset(MsgReset)
Reset the device (host => Piksi)
MsgCommandReq(MsgCommandReq)
Execute a command (host => device)
MsgCommandResp(MsgCommandResp)
Exit code from executed command (device => host)
MsgNetworkStateReq(MsgNetworkStateReq)
Request state of Piksi network interfaces
MsgNetworkStateResp(MsgNetworkStateResp)
State of network interface
MsgCommandOutput(MsgCommandOutput)
Command output
MsgNetworkBandwidthUsage(MsgNetworkBandwidthUsage)
Bandwidth usage reporting message
MsgCellModemStatus(MsgCellModemStatus)
Cell modem information update message
MsgFrontEndGain(MsgFrontEndGain)
RF AGC status
MsgCwResults(MsgCwResults)
Legacy message for CW interference channel (Piksi => host)
MsgCwStart(MsgCwStart)
Legacy message for CW interference channel (host => Piksi)
MsgNapDeviceDnaResp(MsgNapDeviceDnaResp)
Read FPGA device ID over UART response (host <= device)
MsgNapDeviceDnaReq(MsgNapDeviceDnaReq)
Read FPGA device ID over UART request (host => device)
MsgFlashDone(MsgFlashDone)
Flash response message (host <= device)
MsgFlashReadResp(MsgFlashReadResp)
Read STM or M25 flash address response (host <= device)
MsgFlashErase(MsgFlashErase)
Erase sector of device flash memory (host => device)
MsgStmFlashLockSector(MsgStmFlashLockSector)
Lock sector of STM flash memory (host => device)
MsgStmFlashUnlockSector(MsgStmFlashUnlockSector)
Unlock sector of STM flash memory (host => device)
MsgStmUniqueIdResp(MsgStmUniqueIdResp)
Read device’s hard-coded unique ID response (host <= device)
MsgFlashProgram(MsgFlashProgram)
Program flash addresses
MsgFlashReadReq(MsgFlashReadReq)
Read STM or M25 flash address request (host => device)
MsgStmUniqueIdReq(MsgStmUniqueIdReq)
Read device’s hard-coded unique ID request (host => device)
MsgM25FlashWriteStatus(MsgM25FlashWriteStatus)
Write M25 flash status register (host => device)
MsgGpsTimeDepA(MsgGpsTimeDepA)
GPS Time (v1.0)
MsgExtEvent(MsgExtEvent)
Reports timestamped external pin event
MsgGpsTime(MsgGpsTime)
GPS Time
MsgUtcTime(MsgUtcTime)
UTC Time
MsgGpsTimeGnss(MsgGpsTimeGnss)
GPS Time
MsgUtcTimeGnss(MsgUtcTimeGnss)
UTC Time
MsgSettingsRegisterResp(MsgSettingsRegisterResp)
Register setting and default value (device <= host)
MsgPosEcefDepA(MsgPosEcefDepA)
Single-point position in ECEF
MsgPosLlhDepA(MsgPosLlhDepA)
Geodetic Position
MsgBaselineEcefDepA(MsgBaselineEcefDepA)
Baseline Position in ECEF
MsgBaselineNedDepA(MsgBaselineNedDepA)
Baseline in NED
MsgVelEcefDepA(MsgVelEcefDepA)
Velocity in ECEF
MsgVelNedDepA(MsgVelNedDepA)
Velocity in NED
MsgDopsDepA(MsgDopsDepA)
Dilution of Precision
MsgBaselineHeadingDepA(MsgBaselineHeadingDepA)
Heading relative to True North
MsgDops(MsgDops)
Dilution of Precision
MsgPosEcef(MsgPosEcef)
Single-point position in ECEF
MsgPosLlh(MsgPosLlh)
Geodetic Position
MsgBaselineEcef(MsgBaselineEcef)
Baseline Position in ECEF
MsgBaselineNed(MsgBaselineNed)
Baseline in NED
MsgVelEcef(MsgVelEcef)
Velocity in ECEF
MsgVelNed(MsgVelNed)
Velocity in NED
MsgBaselineHeading(MsgBaselineHeading)
Heading relative to True North
MsgAgeCorrections(MsgAgeCorrections)
Age of corrections
MsgPosLlhCov(MsgPosLlhCov)
Geodetic Position
MsgVelNedCov(MsgVelNedCov)
Velocity in NED
MsgVelBody(MsgVelBody)
Velocity in User Frame
MsgPosEcefCov(MsgPosEcefCov)
Single-point position in ECEF
MsgVelEcefCov(MsgVelEcefCov)
Velocity in ECEF
MsgProtectionLevelDepA(MsgProtectionLevelDepA)
Computed Position and Protection Level
MsgProtectionLevel(MsgProtectionLevel)
Computed state and Protection Levels
MsgPosLlhAcc(MsgPosLlhAcc)
Geodetic Position and Accuracy
MsgVelCog(MsgVelCog)
Velocity expressed as course over ground
MsgOrientQuat(MsgOrientQuat)
Quaternion 4 component vector
MsgOrientEuler(MsgOrientEuler)
Euler angles
MsgAngularRate(MsgAngularRate)
Vehicle Body Frame instantaneous angular rates
MsgPosEcefGnss(MsgPosEcefGnss)
GNSS-only Position in ECEF
MsgPosLlhGnss(MsgPosLlhGnss)
GNSS-only Geodetic Position
MsgVelEcefGnss(MsgVelEcefGnss)
GNSS-only Velocity in ECEF
MsgVelNedGnss(MsgVelNedGnss)
GNSS-only Velocity in NED
MsgPosLlhCovGnss(MsgPosLlhCovGnss)
GNSS-only Geodetic Position
MsgVelNedCovGnss(MsgVelNedCovGnss)
GNSS-only Velocity in NED
MsgPosEcefCovGnss(MsgPosEcefCovGnss)
GNSS-only Position in ECEF
MsgVelEcefCovGnss(MsgVelEcefCovGnss)
GNSS-only Velocity in ECEF
MsgUtcLeapSecond(MsgUtcLeapSecond)
Leap second SBP message.
MsgReferenceFrameParam(MsgReferenceFrameParam)
Reference Frame Transformation Parameters
MsgNdbEvent(MsgNdbEvent)
Navigation DataBase Event
MsgLog(MsgLog)
Plaintext logging messages with levels
MsgFwd(MsgFwd)
Wrapper for FWD a separate stream of information over SBP
MsgSsrOrbitClockDepA(MsgSsrOrbitClockDepA)
Deprecated
MsgSsrOrbitClock(MsgSsrOrbitClock)
Precise orbit and clock correction
MsgSsrOrbitClockBounds(MsgSsrOrbitClockBounds)
Combined Orbit and Clock Bound
MsgSsrOrbitClockBoundsDegradation(MsgSsrOrbitClockBoundsDegradation)
Combined Orbit and Clock Bound Degradation Parameter
MsgSsrCodeBiases(MsgSsrCodeBiases)
Precise code biases correction
MsgSsrPhaseBiases(MsgSsrPhaseBiases)
Precise phase biases correction
MsgSsrStecCorrectionDepA(MsgSsrStecCorrectionDepA)
Deprecated
MsgSsrCodePhaseBiasesBounds(MsgSsrCodePhaseBiasesBounds)
Combined Code and Phase Biases Bounds
MsgSsrGriddedCorrectionNoStdDepA(MsgSsrGriddedCorrectionNoStdDepA)
Deprecated
MsgSsrGridDefinitionDepA(MsgSsrGridDefinitionDepA)
Deprecated
MsgSsrTileDefinitionDep(MsgSsrTileDefinitionDep)
Definition of a SSR atmospheric correction tile.
MsgSsrTileDefinition(MsgSsrTileDefinition)
Definition of a SSR atmospheric correction tile.
MsgSsrGriddedCorrectionDepA(MsgSsrGriddedCorrectionDepA)
Deprecated
MsgSsrStecCorrectionDep(MsgSsrStecCorrectionDep)
STEC correction polynomial coefficients
MsgSsrGriddedCorrection(MsgSsrGriddedCorrection)
Gridded troposphere and STEC correction residuals
MsgSsrStecCorrection(MsgSsrStecCorrection)
STEC correction polynomial coefficients
MsgSsrGriddedCorrectionBounds(MsgSsrGriddedCorrectionBounds)
Gridded troposhere and STEC correction residuals bounds
MsgSsrSatelliteApc(MsgSsrSatelliteApc)
Satellite antenna phase center corrections
MsgOsr(MsgOsr)
OSR corrections
MsgUserData(MsgUserData)
User data
MsgImuRaw(MsgImuRaw)
Raw IMU data
MsgImuAux(MsgImuAux)
Auxiliary IMU data
MsgMagRaw(MsgMagRaw)
Raw magnetometer data
MsgOdometry(MsgOdometry)
Vehicle forward (x-axis) velocity
MsgWheeltick(MsgWheeltick)
Accumulated wheeltick count message
MsgSsrFlagHighLevel(MsgSsrFlagHighLevel)
High level integrity flags
MsgSsrFlagSatellites(MsgSsrFlagSatellites)
List of satellites which are faulty, per constellation
MsgSsrFlagTropoGridPoints(MsgSsrFlagTropoGridPoints)
List of grid points which are faulty
MsgSsrFlagIonoGridPoints(MsgSsrFlagIonoGridPoints)
List of grid points which are faulty
MsgSsrFlagIonoTileSatLos(MsgSsrFlagIonoTileSatLos)
List of all the LOS which are faulty
MsgSsrFlagIonoGridPointSatLos(MsgSsrFlagIonoGridPointSatLos)
List of all the grid points to satellite which are faulty
MsgEd25519Signature(MsgEd25519Signature)
ED25519 signature for groups of RTCM messages
MsgEd25519Certificate(MsgEd25519Certificate)
ED25519 certificate, split over multiple messages
MsgFileioConfigReq(MsgFileioConfigReq)
Request advice on the optimal configuration for FileIO
MsgFileioConfigResp(MsgFileioConfigResp)
Response with advice on the optimal configuration for FileIO.
MsgSbasRaw(MsgSbasRaw)
Raw SBAS data
MsgLinuxCpuStateDepA(MsgLinuxCpuStateDepA)
List CPU state on the system. DEPRECATED
MsgLinuxMemStateDepA(MsgLinuxMemStateDepA)
List memory state on the system. DEPRECATED
MsgLinuxSysStateDepA(MsgLinuxSysStateDepA)
CPU, Memory and Process Starts/Stops. DEPRECATED
MsgLinuxProcessSocketCounts(MsgLinuxProcessSocketCounts)
A list of processes with high socket counts
MsgLinuxProcessSocketQueues(MsgLinuxProcessSocketQueues)
A list of processes with deep socket queues
MsgLinuxSocketUsage(MsgLinuxSocketUsage)
Summary of socket usage across the system
MsgLinuxProcessFdCount(MsgLinuxProcessFdCount)
Summary of processes with large amounts of open file descriptors
MsgLinuxProcessFdSummary(MsgLinuxProcessFdSummary)
Summary of open file descriptors on the system
MsgLinuxCpuState(MsgLinuxCpuState)
List CPU state on the system
MsgLinuxMemState(MsgLinuxMemState)
List memory state on the system
MsgLinuxSysState(MsgLinuxSysState)
CPU, Memory and Process Starts/Stops
MsgStartup(MsgStartup)
System start-up message
MsgDgnssStatus(MsgDgnssStatus)
Status of received corrections
MsgInsStatus(MsgInsStatus)
Inertial Navigation System status message
MsgCsacTelemetry(MsgCsacTelemetry)
Experimental telemetry message
MsgCsacTelemetryLabels(MsgCsacTelemetryLabels)
Experimental telemetry message labels
MsgInsUpdates(MsgInsUpdates)
Inertial Navigation System update status message
MsgGnssTimeOffset(MsgGnssTimeOffset)
Offset of the local time with respect to GNSS time
MsgPpsTime(MsgPpsTime)
Local time at detection of PPS pulse
MsgSensorAidEvent(MsgSensorAidEvent)
Sensor state and update status data
MsgGroupMeta(MsgGroupMeta)
Solution Group Metadata
MsgSolnMeta(MsgSolnMeta)
Solution Sensors Metadata
MsgSolnMetaDepA(MsgSolnMetaDepA)
Deprecated
MsgStatusJournal(MsgStatusJournal)
Status report journal
MsgStatusReport(MsgStatusReport)
Status report message
MsgHeartbeat(MsgHeartbeat)
System heartbeat message
Unknown(Unknown)
Unknown message type
Implementations
sourceimpl Sbp
impl Sbp
sourcepub fn from_parts<B: Buf>(
msg_type: u16,
sender_id: u16,
payload: B
) -> Result<Sbp, PayloadParseError>
pub fn from_parts<B: Buf>(
msg_type: u16,
sender_id: u16,
payload: B
) -> Result<Sbp, PayloadParseError>
Parse a message from given fields.
Example
use std::convert::TryInto;
use sbp::messages::logging::MsgLog;
use sbp::Sbp;
fn main() -> Result<(), Box<dyn std::error::Error>> {
// log level 1 and with "hello" as the message
let msg_type = 1025;
let sender_id = 1;
let payload: &[u8] = &[1, 104, 101, 108, 108, 111];
let msg: MsgLog = Sbp::from_parts(msg_type, sender_id, payload)?.try_into()?;
assert_eq!(msg.sender_id, Some(1));
assert_eq!(msg.level, 1);
assert_eq!(msg.text.as_bytes(), "hello".as_bytes());
Ok(())
}