pub enum Sbp {
Show 234 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),
MsgTelSv(MsgTelSv),
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),
MsgPoseRelative(MsgPoseRelative),
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),
MsgSsrTileDefinitionDepA(MsgSsrTileDefinitionDepA),
MsgSsrTileDefinitionDepB(MsgSsrTileDefinitionDepB),
MsgSsrTileDefinition(MsgSsrTileDefinition),
MsgSsrGriddedCorrectionDepA(MsgSsrGriddedCorrectionDepA),
MsgSsrStecCorrectionDep(MsgSsrStecCorrectionDep),
MsgSsrGriddedCorrection(MsgSsrGriddedCorrection),
MsgSsrStecCorrection(MsgSsrStecCorrection),
MsgSsrGriddedCorrectionBounds(MsgSsrGriddedCorrectionBounds),
MsgSsrSatelliteApcDep(MsgSsrSatelliteApcDep),
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),
MsgAcknowledge(MsgAcknowledge),
MsgEd25519SignatureDepA(MsgEd25519SignatureDepA),
MsgEd25519CertificateDep(MsgEd25519CertificateDep),
MsgEd25519SignatureDepB(MsgEd25519SignatureDepB),
MsgEcdsaCertificate(MsgEcdsaCertificate),
MsgCertificateChainDep(MsgCertificateChainDep),
MsgEcdsaSignatureDepA(MsgEcdsaSignatureDepA),
MsgEcdsaSignatureDepB(MsgEcdsaSignatureDepB),
MsgEcdsaSignature(MsgEcdsaSignature),
MsgCertificateChain(MsgCertificateChain),
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§
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)
Deprecated
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)
Deprecated
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)
Deprecated
MsgAlmanacGloDep(MsgAlmanacGloDep)
Deprecated
MsgAlmanacGps(MsgAlmanacGps)
Satellite broadcast almanac for GPS
MsgAlmanacGlo(MsgAlmanacGlo)
Satellite broadcast almanac for GLO
MsgGloBiases(MsgGloBiases)
GLONASS L1/L2 Code-Phase biases
MsgEphemerisDepD(MsgEphemerisDepD)
Deprecated
MsgEphemerisGpsDepE(MsgEphemerisGpsDepE)
Deprecated
MsgEphemerisSbasDepA(MsgEphemerisSbasDepA)
Deprecated
MsgEphemerisGloDepA(MsgEphemerisGloDepA)
Deprecated
MsgEphemerisSbasDepB(MsgEphemerisSbasDepB)
Deprecated
MsgEphemerisGloDepB(MsgEphemerisGloDepB)
Deprecated
MsgEphemerisGpsDepF(MsgEphemerisGpsDepF)
Deprecated
MsgEphemerisGloDepC(MsgEphemerisGloDepC)
Deprecated
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)
Deprecated
MsgGroupDelayDepA(MsgGroupDelayDepA)
Deprecated
MsgGroupDelayDepB(MsgGroupDelayDepB)
Deprecated
MsgGroupDelay(MsgGroupDelay)
Group Delay
MsgEphemerisGalDepA(MsgEphemerisGalDepA)
Deprecated
MsgGnssCapb(MsgGnssCapb)
GNSS capabilities masks
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)
Deprecated
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)
Deprecated
MsgExtEvent(MsgExtEvent)
Reports timestamped external pin event
MsgGpsTime(MsgGpsTime)
GPS Time (GNSS + inertial)
MsgUtcTime(MsgUtcTime)
UTC Time
MsgGpsTimeGnss(MsgGpsTimeGnss)
GNSS-only GPS Time
MsgUtcTimeGnss(MsgUtcTimeGnss)
GNSS-only UTC Time
MsgTelSv(MsgTelSv)
Per-signal telemetry
MsgSettingsRegisterResp(MsgSettingsRegisterResp)
Register setting and default value (device <= host)
MsgPosEcefDepA(MsgPosEcefDepA)
Deprecated
MsgPosLlhDepA(MsgPosLlhDepA)
Deprecated
MsgBaselineEcefDepA(MsgBaselineEcefDepA)
Deprecated
MsgBaselineNedDepA(MsgBaselineNedDepA)
Deprecated
MsgVelEcefDepA(MsgVelEcefDepA)
Deprecated
MsgVelNedDepA(MsgVelNedDepA)
Deprecated
MsgDopsDepA(MsgDopsDepA)
Deprecated
MsgBaselineHeadingDepA(MsgBaselineHeadingDepA)
Deprecated
MsgDops(MsgDops)
GNSS-only Dilution of Precision
MsgPosEcef(MsgPosEcef)
Position in ECEF
MsgPosLlh(MsgPosLlh)
Geodetic Position
MsgBaselineEcef(MsgBaselineEcef)
GNSS-only Baseline Position in ECEF
MsgBaselineNed(MsgBaselineNed)
GNSS-only 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 with Covariances
MsgVelNedCov(MsgVelNedCov)
Velocity in NED with Covariances
MsgVelBody(MsgVelBody)
Velocity in User Frame
MsgPosEcefCov(MsgPosEcefCov)
Position in ECEF with Covariances
MsgVelEcefCov(MsgVelEcefCov)
Velocity in ECEF with Covariances
MsgProtectionLevelDepA(MsgProtectionLevelDepA)
Deprecated
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 with Covariances
MsgVelNedCovGnss(MsgVelNedCovGnss)
GNSS-only Velocity in NED with Covariances
MsgPosEcefCovGnss(MsgPosEcefCovGnss)
GNSS-only Position in ECEF with Covariances
MsgVelEcefCovGnss(MsgVelEcefCovGnss)
GNSS-only Velocity in ECEF with Covariances
MsgUtcLeapSecond(MsgUtcLeapSecond)
Leap second SBP message.
MsgReferenceFrameParam(MsgReferenceFrameParam)
Reference Frame Transformation Parameters
MsgPoseRelative(MsgPoseRelative)
Relative Pose
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
MsgSsrTileDefinitionDepA(MsgSsrTileDefinitionDepA)
Deprecated
MsgSsrTileDefinitionDepB(MsgSsrTileDefinitionDepB)
Deprecated
MsgSsrTileDefinition(MsgSsrTileDefinition)
Definition of a SSR atmospheric correction tile.
MsgSsrGriddedCorrectionDepA(MsgSsrGriddedCorrectionDepA)
Deprecated
MsgSsrStecCorrectionDep(MsgSsrStecCorrectionDep)
Deprecated
MsgSsrGriddedCorrection(MsgSsrGriddedCorrection)
Gridded troposphere and STEC correction residuals
MsgSsrStecCorrection(MsgSsrStecCorrection)
STEC correction polynomial coefficients
MsgSsrGriddedCorrectionBounds(MsgSsrGriddedCorrectionBounds)
Gridded troposhere and STEC correction residuals bounds
MsgSsrSatelliteApcDep(MsgSsrSatelliteApcDep)
Deprecated
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
MsgAcknowledge(MsgAcknowledge)
Acknowledgement message in response to a request for corrections
MsgEd25519SignatureDepA(MsgEd25519SignatureDepA)
Deprecated
MsgEd25519CertificateDep(MsgEd25519CertificateDep)
Deprecated
MsgEd25519SignatureDepB(MsgEd25519SignatureDepB)
Deprecated
MsgEcdsaCertificate(MsgEcdsaCertificate)
An ECDSA certificate split over multiple messages
MsgCertificateChainDep(MsgCertificateChainDep)
Deprecated
MsgEcdsaSignatureDepA(MsgEcdsaSignatureDepA)
Deprecated
MsgEcdsaSignatureDepB(MsgEcdsaSignatureDepB)
Deprecated
MsgEcdsaSignature(MsgEcdsaSignature)
An ECDSA signature
MsgCertificateChain(MsgCertificateChain)
The certificate chain
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)
Deprecated
MsgLinuxMemStateDepA(MsgLinuxMemStateDepA)
Deprecated
MsgLinuxSysStateDepA(MsgLinuxSysStateDepA)
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§
source§impl 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(())
}