-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | SwiftNav's SBP Library
--
-- Haskell bindings for Swift Navigation Binary Protocol (SBP), a fast,
-- simple, and minimal binary protocol for communicating with Swift
-- devices. It is the native binary protocol used by the Piksi GPS
-- receiver to transmit solutions, observations, status and debugging
-- messages, as well as receive messages from the host operating system,
-- such as differential corrections and the almanac.
@package sbp
@version 2.3.16
-- | Error detection functions.
module SwiftNav.CRC16
-- | Calculate CCITT 16-bit Cyclical Redundancy Check (CRC16).
crc16 :: ByteString -> Word16
-- | Common SBP type requirements, containers, and serialization utilities.
module SwiftNav.SBP.Types
-- | Denotes the start of frame transmission. For v1.0, always 0x55.
msgSBPPreamble :: Word8
-- | Default sender ID. Intended for messages sent from the host to the
-- device.
defaultSender :: Word16
-- | Wrapper around ByteString for *JSON and Binary typeclass instances.
newtype Bytes
Bytes :: ByteString -> Bytes
[unBytes] :: Bytes -> ByteString
-- | Packet structure for Swift Navigation Binary Protocol (SBP).
--
-- Definition of the over-the-wire message framing format and packet
-- structure for Swift Navigation Binary Protocol (SBP), a minimal binary
-- protocol for communicating with Swift devices. It is used to transmit
-- solutions, observations, status and debugging messages, as well as
-- receive messages from the host operating system.
data Msg
Msg :: !Word16 -> !Word16 -> !Word8 -> !Bytes -> !Word16 -> Msg
-- | Uniquely identifies the type of the payload contents
[_msgSBPType] :: Msg -> !Word16
-- | A unique identifier of the sending hardware. For v1.0, set to the 2
-- least significant bytes of the device serial number
[_msgSBPSender] :: Msg -> !Word16
-- | Byte-length of the payload field
[_msgSBPLen] :: Msg -> !Word8
-- | Binary data of the message, as identified by Message Type and Length.
-- Usually contains the in-memory binary representation of a C struct
-- (see documentation on individual message types)
[_msgSBPPayload] :: Msg -> !Bytes
-- | Cyclic Redundancy Check (CRC) of the packet's binary data from the
-- Message Type up to the end of Payload (does not include the Preamble)
[_msgSBPCrc] :: Msg -> !Word16
class HasMsg c_ak42
msg :: HasMsg c_ak42 => Lens' c_ak42 Msg
msgSBPCrc :: HasMsg c_ak42 => Lens' c_ak42 Word16
msgSBPLen :: HasMsg c_ak42 => Lens' c_ak42 Word8
msgSBPPayload :: HasMsg c_ak42 => Lens' c_ak42 Bytes
msgSBPSender :: HasMsg c_ak42 => Lens' c_ak42 Word16
msgSBPType :: HasMsg c_ak42 => Lens' c_ak42 Word16
-- | Class of generic representation of specialized SBP messages into SBP
-- message frames.
class Binary a => ToSBP a
-- | Convert an SBP message record that is serializable and a two-byte
-- senderID to a binary into an SBP message frame.
toSBP :: ToSBP a => a -> Word16 -> Msg
checkCrc :: Msg -> Word16
instance SwiftNav.SBP.Types.HasMsg SwiftNav.SBP.Types.Msg
instance Data.Binary.Class.Binary SwiftNav.SBP.Types.Msg
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Types.Bytes
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Types.Msg
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Types.Bytes
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Types.Msg
instance GHC.Classes.Eq SwiftNav.SBP.Types.Msg
instance GHC.Read.Read SwiftNav.SBP.Types.Msg
instance GHC.Show.Show SwiftNav.SBP.Types.Msg
instance GHC.Classes.Eq SwiftNav.SBP.Types.Bytes
instance GHC.Read.Read SwiftNav.SBP.Types.Bytes
instance GHC.Show.Show SwiftNav.SBP.Types.Bytes
-- | Orientation Messages
module SwiftNav.SBP.Orientation
msgBaselineHeading :: Word16
-- | SBP class for message MSG_BASELINE_HEADING (0x020F).
--
-- This message reports the baseline heading pointing from the base
-- station to the rover relative to True North. The full GPS time is
-- given by the preceding MSG_GPS_TIME with the matching time-of-week
-- (tow). It is intended that time-matched RTK mode is used when the base
-- station is moving.
data MsgBaselineHeading
MsgBaselineHeading :: !Word32 -> !Word32 -> !Word8 -> !Word8 -> MsgBaselineHeading
-- | GPS Time of Week
[_msgBaselineHeading_tow] :: MsgBaselineHeading -> !Word32
-- | Heading
[_msgBaselineHeading_heading] :: MsgBaselineHeading -> !Word32
-- | Number of satellites used in solution
[_msgBaselineHeading_n_sats] :: MsgBaselineHeading -> !Word8
-- | Status flags
[_msgBaselineHeading_flags] :: MsgBaselineHeading -> !Word8
msgBaselineHeading_tow :: Lens' MsgBaselineHeading Word32
msgBaselineHeading_n_sats :: Lens' MsgBaselineHeading Word8
msgBaselineHeading_heading :: Lens' MsgBaselineHeading Word32
msgBaselineHeading_flags :: Lens' MsgBaselineHeading Word8
msgOrientQuat :: Word16
-- | SBP class for message MSG_ORIENT_QUAT (0x0220).
--
-- This message reports the quaternion vector describing the vehicle body
-- frame's orientation with respect to a local-level NED frame. The
-- components of the vector should sum to a unit vector assuming that the
-- LSB of each component as a value of 2^-31.
data MsgOrientQuat
MsgOrientQuat :: !Word32 -> !Int32 -> !Int32 -> !Int32 -> !Int32 -> !Float -> !Float -> !Float -> !Float -> !Word8 -> MsgOrientQuat
-- | GPS Time of Week
[_msgOrientQuat_tow] :: MsgOrientQuat -> !Word32
-- | Real component
[_msgOrientQuat_w] :: MsgOrientQuat -> !Int32
-- | 1st imaginary component
[_msgOrientQuat_x] :: MsgOrientQuat -> !Int32
-- | 2nd imaginary component
[_msgOrientQuat_y] :: MsgOrientQuat -> !Int32
-- | 3rd imaginary component
[_msgOrientQuat_z] :: MsgOrientQuat -> !Int32
-- | Estimated standard deviation of w
[_msgOrientQuat_w_accuracy] :: MsgOrientQuat -> !Float
-- | Estimated standard deviation of x
[_msgOrientQuat_x_accuracy] :: MsgOrientQuat -> !Float
-- | Estimated standard deviation of y
[_msgOrientQuat_y_accuracy] :: MsgOrientQuat -> !Float
-- | Estimated standard deviation of z
[_msgOrientQuat_z_accuracy] :: MsgOrientQuat -> !Float
-- | Status flags
[_msgOrientQuat_flags] :: MsgOrientQuat -> !Word8
msgOrientQuat_z_accuracy :: Lens' MsgOrientQuat Float
msgOrientQuat_z :: Lens' MsgOrientQuat Int32
msgOrientQuat_y_accuracy :: Lens' MsgOrientQuat Float
msgOrientQuat_y :: Lens' MsgOrientQuat Int32
msgOrientQuat_x_accuracy :: Lens' MsgOrientQuat Float
msgOrientQuat_x :: Lens' MsgOrientQuat Int32
msgOrientQuat_w_accuracy :: Lens' MsgOrientQuat Float
msgOrientQuat_w :: Lens' MsgOrientQuat Int32
msgOrientQuat_tow :: Lens' MsgOrientQuat Word32
msgOrientQuat_flags :: Lens' MsgOrientQuat Word8
msgOrientEuler :: Word16
-- | SBP class for message MSG_ORIENT_EULER (0x0221).
--
-- This message reports the yaw, pitch, and roll angles of the vehicle
-- body frame. The rotations should applied intrinsically in the order
-- yaw, pitch, and roll in order to rotate the from a frame aligned with
-- the local-level NED frame to the vehicle body frame.
data MsgOrientEuler
MsgOrientEuler :: !Word32 -> !Int32 -> !Int32 -> !Int32 -> !Float -> !Float -> !Float -> !Word8 -> MsgOrientEuler
-- | GPS Time of Week
[_msgOrientEuler_tow] :: MsgOrientEuler -> !Word32
-- | rotation about the forward axis of the vehicle
[_msgOrientEuler_roll] :: MsgOrientEuler -> !Int32
-- | rotation about the rightward axis of the vehicle
[_msgOrientEuler_pitch] :: MsgOrientEuler -> !Int32
-- | rotation about the downward axis of the vehicle
[_msgOrientEuler_yaw] :: MsgOrientEuler -> !Int32
-- | Estimated standard deviation of roll
[_msgOrientEuler_roll_accuracy] :: MsgOrientEuler -> !Float
-- | Estimated standard deviation of pitch
[_msgOrientEuler_pitch_accuracy] :: MsgOrientEuler -> !Float
-- | Estimated standard deviation of yaw
[_msgOrientEuler_yaw_accuracy] :: MsgOrientEuler -> !Float
-- | Status flags
[_msgOrientEuler_flags] :: MsgOrientEuler -> !Word8
msgOrientEuler_yaw_accuracy :: Lens' MsgOrientEuler Float
msgOrientEuler_yaw :: Lens' MsgOrientEuler Int32
msgOrientEuler_tow :: Lens' MsgOrientEuler Word32
msgOrientEuler_roll_accuracy :: Lens' MsgOrientEuler Float
msgOrientEuler_roll :: Lens' MsgOrientEuler Int32
msgOrientEuler_pitch_accuracy :: Lens' MsgOrientEuler Float
msgOrientEuler_pitch :: Lens' MsgOrientEuler Int32
msgOrientEuler_flags :: Lens' MsgOrientEuler Word8
msgAngularRate :: Word16
-- | SBP class for message MSG_ANGULAR_RATE (0x0222).
--
-- This message reports the orientation rates in the vehicle body frame.
-- The values represent the measurements a strapped down gyroscope would
-- make and are not equivalent to the time derivative of the Euler
-- angles. The orientation and origin of the user frame is specified via
-- device settings. By convention, the vehicle x-axis is expected to be
-- aligned with the forward direction, while the vehicle y-axis is
-- expected to be aligned with the right direction, and the vehicle
-- z-axis should be aligned with the down direction.
data MsgAngularRate
MsgAngularRate :: !Word32 -> !Int32 -> !Int32 -> !Int32 -> !Word8 -> MsgAngularRate
-- | GPS Time of Week
[_msgAngularRate_tow] :: MsgAngularRate -> !Word32
-- | angular rate about x axis
[_msgAngularRate_x] :: MsgAngularRate -> !Int32
-- | angular rate about y axis
[_msgAngularRate_y] :: MsgAngularRate -> !Int32
-- | angular rate about z axis
[_msgAngularRate_z] :: MsgAngularRate -> !Int32
-- | Status flags
[_msgAngularRate_flags] :: MsgAngularRate -> !Word8
msgAngularRate_z :: Lens' MsgAngularRate Int32
msgAngularRate_y :: Lens' MsgAngularRate Int32
msgAngularRate_x :: Lens' MsgAngularRate Int32
msgAngularRate_tow :: Lens' MsgAngularRate Word32
msgAngularRate_flags :: Lens' MsgAngularRate Word8
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Orientation.MsgAngularRate
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Orientation.MsgAngularRate
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Orientation.MsgAngularRate
instance GHC.Classes.Eq SwiftNav.SBP.Orientation.MsgAngularRate
instance GHC.Read.Read SwiftNav.SBP.Orientation.MsgAngularRate
instance GHC.Show.Show SwiftNav.SBP.Orientation.MsgAngularRate
instance Data.Binary.Class.Binary SwiftNav.SBP.Orientation.MsgAngularRate
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Orientation.MsgOrientEuler
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Orientation.MsgOrientEuler
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Orientation.MsgOrientEuler
instance GHC.Classes.Eq SwiftNav.SBP.Orientation.MsgOrientEuler
instance GHC.Read.Read SwiftNav.SBP.Orientation.MsgOrientEuler
instance GHC.Show.Show SwiftNav.SBP.Orientation.MsgOrientEuler
instance Data.Binary.Class.Binary SwiftNav.SBP.Orientation.MsgOrientEuler
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Orientation.MsgOrientQuat
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Orientation.MsgOrientQuat
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Orientation.MsgOrientQuat
instance GHC.Classes.Eq SwiftNav.SBP.Orientation.MsgOrientQuat
instance GHC.Read.Read SwiftNav.SBP.Orientation.MsgOrientQuat
instance GHC.Show.Show SwiftNav.SBP.Orientation.MsgOrientQuat
instance Data.Binary.Class.Binary SwiftNav.SBP.Orientation.MsgOrientQuat
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Orientation.MsgBaselineHeading
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Orientation.MsgBaselineHeading
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Orientation.MsgBaselineHeading
instance GHC.Classes.Eq SwiftNav.SBP.Orientation.MsgBaselineHeading
instance GHC.Read.Read SwiftNav.SBP.Orientation.MsgBaselineHeading
instance GHC.Show.Show SwiftNav.SBP.Orientation.MsgBaselineHeading
instance Data.Binary.Class.Binary SwiftNav.SBP.Orientation.MsgBaselineHeading
-- | Standardized system messages from Swift Navigation devices.
module SwiftNav.SBP.System
msgStartup :: Word16
-- | SBP class for message MSG_STARTUP (0xFF00).
--
-- The system start-up message is sent once on system start-up. It
-- notifies the host or other attached devices that the system has
-- started and is now ready to respond to commands or configuration
-- requests.
data MsgStartup
MsgStartup :: !Word8 -> !Word8 -> !Word16 -> MsgStartup
-- | Cause of startup
[_msgStartup_cause] :: MsgStartup -> !Word8
-- | Startup type
[_msgStartup_startup_type] :: MsgStartup -> !Word8
-- | Reserved
[_msgStartup_reserved] :: MsgStartup -> !Word16
msgStartup_startup_type :: Lens' MsgStartup Word8
msgStartup_reserved :: Lens' MsgStartup Word16
msgStartup_cause :: Lens' MsgStartup Word8
msgDgnssStatus :: Word16
-- | SBP class for message MSG_DGNSS_STATUS (0xFF02).
--
-- This message provides information about the receipt of Differential
-- corrections. It is expected to be sent with each receipt of a complete
-- corrections packet.
data MsgDgnssStatus
MsgDgnssStatus :: !Word8 -> !Word16 -> !Word8 -> !Text -> MsgDgnssStatus
-- | Status flags
[_msgDgnssStatus_flags] :: MsgDgnssStatus -> !Word8
-- | Latency of observation receipt
[_msgDgnssStatus_latency] :: MsgDgnssStatus -> !Word16
-- | Number of signals from base station
[_msgDgnssStatus_num_signals] :: MsgDgnssStatus -> !Word8
-- | Corrections source string
[_msgDgnssStatus_source] :: MsgDgnssStatus -> !Text
msgDgnssStatus_source :: Lens' MsgDgnssStatus Text
msgDgnssStatus_num_signals :: Lens' MsgDgnssStatus Word8
msgDgnssStatus_latency :: Lens' MsgDgnssStatus Word16
msgDgnssStatus_flags :: Lens' MsgDgnssStatus Word8
msgHeartbeat :: Word16
-- | SBP class for message MSG_HEARTBEAT (0xFFFF).
--
-- The heartbeat message is sent periodically to inform the host or other
-- attached devices that the system is running. It is used to monitor
-- system malfunctions. It also contains status flags that indicate to
-- the host the status of the system and whether it is operating
-- correctly. Currently, the expected heartbeat interval is 1 sec. The
-- system error flag is used to indicate that an error has occurred in
-- the system. To determine the source of the error, the remaining error
-- flags should be inspected.
data MsgHeartbeat
MsgHeartbeat :: !Word32 -> MsgHeartbeat
-- | Status flags
[_msgHeartbeat_flags] :: MsgHeartbeat -> !Word32
msgHeartbeat_flags :: Iso' MsgHeartbeat Word32
msgInsStatus :: Word16
-- | SBP class for message MSG_INS_STATUS (0xFF03).
--
-- The INS status message describes the state of the operation and
-- initialization of the inertial navigation system.
data MsgInsStatus
MsgInsStatus :: !Word32 -> MsgInsStatus
-- | Status flags
[_msgInsStatus_flags] :: MsgInsStatus -> !Word32
msgInsStatus_flags :: Iso' MsgInsStatus Word32
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.System.MsgInsStatus
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.System.MsgInsStatus
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.System.MsgInsStatus
instance GHC.Classes.Eq SwiftNav.SBP.System.MsgInsStatus
instance GHC.Read.Read SwiftNav.SBP.System.MsgInsStatus
instance GHC.Show.Show SwiftNav.SBP.System.MsgInsStatus
instance Data.Binary.Class.Binary SwiftNav.SBP.System.MsgInsStatus
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.System.MsgHeartbeat
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.System.MsgHeartbeat
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.System.MsgHeartbeat
instance GHC.Classes.Eq SwiftNav.SBP.System.MsgHeartbeat
instance GHC.Read.Read SwiftNav.SBP.System.MsgHeartbeat
instance GHC.Show.Show SwiftNav.SBP.System.MsgHeartbeat
instance Data.Binary.Class.Binary SwiftNav.SBP.System.MsgHeartbeat
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.System.MsgDgnssStatus
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.System.MsgDgnssStatus
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.System.MsgDgnssStatus
instance GHC.Classes.Eq SwiftNav.SBP.System.MsgDgnssStatus
instance GHC.Read.Read SwiftNav.SBP.System.MsgDgnssStatus
instance GHC.Show.Show SwiftNav.SBP.System.MsgDgnssStatus
instance Data.Binary.Class.Binary SwiftNav.SBP.System.MsgDgnssStatus
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.System.MsgStartup
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.System.MsgStartup
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.System.MsgStartup
instance GHC.Classes.Eq SwiftNav.SBP.System.MsgStartup
instance GHC.Read.Read SwiftNav.SBP.System.MsgStartup
instance GHC.Show.Show SwiftNav.SBP.System.MsgStartup
instance Data.Binary.Class.Binary SwiftNav.SBP.System.MsgStartup
-- | with a "string" field have multiple values in this field delimited
-- with a null character (the c style null terminator). For instance,
-- when querying the firmware_version setting in the
-- system_info section, the following array of characters needs
-- to be sent for the string field in MSG_SETTINGS_READ:
-- "system_info0firmware_version0", where the delimiting null characters
-- are specified with the escape sequence '\0' and all quotation marks
-- should be omitted. In the message descriptions below, the generic
-- strings SECTION_SETTING and SETTING are used to refer to the two
-- strings that comprise the identifier of an individual setting.In
-- firmware_version example above, SECTION_SETTING is the
-- system_info, and the SETTING portion is
-- firmware_version. See the "Software Settings Manual" on
-- support.swiftnav.com for detailed documentation about all settings and
-- sections available for each Swift firmware version. Settings manuals
-- are available for each firmware version at the following link:
-- https://support.swiftnav.com/customer/en/portal/articles/2628580-piksi-
-- multi-specifications#settings. The latest settings document is also
-- available at the following link:
-- http://swiftnav.com/latest/piksi-multi- settings . See lastly
-- https://github.com/swift-
-- navpiksi_toolsblobmasterpiksi_tools/settings.py , the
-- open source python command line utility for reading, writing, and
-- saving settings in the piksi_tools repository on github as a helpful
-- reference and example.
module SwiftNav.SBP.Settings
msgSettingsSave :: Word16
-- | SBP class for message MSG_SETTINGS_SAVE (0x00A1).
--
-- The save settings message persists the device's current settings
-- configuration to its onboard flash memory file system.
data MsgSettingsSave
MsgSettingsSave :: MsgSettingsSave
msgSettingsWrite :: Word16
-- | SBP class for message MSG_SETTINGS_WRITE (0x00A0).
--
-- The setting message writes the device configuration for a particular
-- setting via A NULL-terminated and NULL-delimited string with contents
-- SECTION_SETTING\0SETTING\0VALUE\0 where the '\0' escape
-- sequence denotes the NULL character and where quotation marks are
-- omitted. A device will only process to this message when it is
-- received from sender ID 0x42. An example string that could be sent to
-- a device is "solution0soln_freq0100".
data MsgSettingsWrite
MsgSettingsWrite :: !Text -> MsgSettingsWrite
-- | A NULL-terminated and NULL-delimited string with contents
-- SECTION_SETTING\0SETTING\0VALUE\0
[_msgSettingsWrite_setting] :: MsgSettingsWrite -> !Text
msgSettingsWrite_setting :: Iso' MsgSettingsWrite Text
msgSettingsWriteResp :: Word16
-- | SBP class for message MSG_SETTINGS_WRITE_RESP (0x00AF).
--
-- Return the status of a write request with the new value of the
-- setting. If the requested value is rejected, the current value will be
-- returned. The string field is a NULL-terminated and NULL-delimited
-- string with contents SECTION_SETTING\0SETTING\0VALUE\0 where
-- the '\0' escape sequence denotes the NULL character and where
-- quotation marks are omitted. An example string that could be sent from
-- device is "solution0soln_freq0100".
data MsgSettingsWriteResp
MsgSettingsWriteResp :: !Word8 -> !Text -> MsgSettingsWriteResp
-- | Write status
[_msgSettingsWriteResp_status] :: MsgSettingsWriteResp -> !Word8
-- | A NULL-terminated and delimited string with contents
-- SECTION_SETTING\0SETTING\0VALUE\0
[_msgSettingsWriteResp_setting] :: MsgSettingsWriteResp -> !Text
msgSettingsWriteResp_status :: Lens' MsgSettingsWriteResp Word8
msgSettingsWriteResp_setting :: Lens' MsgSettingsWriteResp Text
msgSettingsReadReq :: Word16
-- | SBP class for message MSG_SETTINGS_READ_REQ (0x00A4).
--
-- The setting message that reads the device configuration. The string
-- field is a NULL-terminated and NULL-delimited string with contents
-- SECTION_SETTING\0SETTING\0 where the '\0' escape sequence
-- denotes the NULL character and where quotation marks are omitted. An
-- example string that could be sent to a device is
-- "solution0soln_freq0". A device will only respond to this message when
-- it is received from sender ID 0x42. A device should respond with a
-- MSG_SETTINGS_READ_RESP message (msg_id 0x00A5).
data MsgSettingsReadReq
MsgSettingsReadReq :: !Text -> MsgSettingsReadReq
-- | A NULL-terminated and NULL-delimited string with contents
-- SECTION_SETTING\0SETTING\0
[_msgSettingsReadReq_setting] :: MsgSettingsReadReq -> !Text
msgSettingsReadReq_setting :: Iso' MsgSettingsReadReq Text
msgSettingsReadResp :: Word16
-- | SBP class for message MSG_SETTINGS_READ_RESP (0x00A5).
--
-- The setting message wich which the device responds after a
-- MSG_SETTING_READ_REQ is sent to device. The string field is a NULL-
-- terminated and NULL-delimited string with contents
-- SECTION_SETTING\0SETTING\0VALUE\0 where the '\0' escape
-- sequence denotes the NULL character and where quotation marks are
-- omitted. An example string that could be sent from device is
-- "solution0soln_freq0100".
data MsgSettingsReadResp
MsgSettingsReadResp :: !Text -> MsgSettingsReadResp
-- | A NULL-terminated and NULL-delimited string with contents
-- SECTION_SETTING\0SETTING\0VALUE\0
[_msgSettingsReadResp_setting] :: MsgSettingsReadResp -> !Text
msgSettingsReadResp_setting :: Iso' MsgSettingsReadResp Text
msgSettingsReadByIndexReq :: Word16
-- | SBP class for message MSG_SETTINGS_READ_BY_INDEX_REQ (0x00A2).
--
-- The settings message for iterating through the settings values. A
-- device will respond to this message with a
-- MSG_SETTINGS_READ_BY_INDEX_RESP.
data MsgSettingsReadByIndexReq
MsgSettingsReadByIndexReq :: !Word16 -> MsgSettingsReadByIndexReq
-- | An index into the device settings, with values ranging from 0 to
-- length(settings)
[_msgSettingsReadByIndexReq_index] :: MsgSettingsReadByIndexReq -> !Word16
msgSettingsReadByIndexReq_index :: Iso' MsgSettingsReadByIndexReq Word16
msgSettingsReadByIndexResp :: Word16
-- | SBP class for message MSG_SETTINGS_READ_BY_INDEX_RESP (0x00A7).
--
-- The settings message that reports the value of a setting at an index.
-- In the string field, it reports NULL-terminated and delimited string
-- with contents SECTION_SETTING\0SETTING\0VALUE\0FORMAT_TYPE\0.
-- where the '\0' escape sequence denotes the NULL character and where
-- quotation marks are omitted. The FORMAT_TYPE field is optional and
-- denotes possible string values of the setting as a hint to the user.
-- If included, the format type portion of the string has the format
-- "enum:value1,value2,value3". An example string that could be sent from
-- the device is "simulator0enabled0True0enum:True,False0"
data MsgSettingsReadByIndexResp
MsgSettingsReadByIndexResp :: !Word16 -> !Text -> MsgSettingsReadByIndexResp
-- | An index into the device settings, with values ranging from 0 to
-- length(settings)
[_msgSettingsReadByIndexResp_index] :: MsgSettingsReadByIndexResp -> !Word16
-- | A NULL-terminated and delimited string with contents
-- SECTION_SETTING\0SETTING\0VALUE\0FORMAT_TYPE\0
[_msgSettingsReadByIndexResp_setting] :: MsgSettingsReadByIndexResp -> !Text
msgSettingsReadByIndexResp_setting :: Lens' MsgSettingsReadByIndexResp Text
msgSettingsReadByIndexResp_index :: Lens' MsgSettingsReadByIndexResp Word16
msgSettingsReadByIndexDone :: Word16
-- | SBP class for message MSG_SETTINGS_READ_BY_INDEX_DONE (0x00A6).
--
-- The settings message for indicating end of the settings values.
data MsgSettingsReadByIndexDone
MsgSettingsReadByIndexDone :: MsgSettingsReadByIndexDone
msgSettingsRegister :: Word16
-- | SBP class for message MSG_SETTINGS_REGISTER (0x00AE).
--
-- This message registers the presence and default value of a setting
-- with a settings daemon. The host should reply with MSG_SETTINGS_WRITE
-- for this setting to set the initial value.
data MsgSettingsRegister
MsgSettingsRegister :: !Text -> MsgSettingsRegister
-- | A NULL-terminated and delimited string with contents
-- SECTION_SETTING\0SETTING\0VALUE.
[_msgSettingsRegister_setting] :: MsgSettingsRegister -> !Text
msgSettingsRegister_setting :: Iso' MsgSettingsRegister Text
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Settings.MsgSettingsRegister
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Settings.MsgSettingsRegister
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Settings.MsgSettingsRegister
instance GHC.Classes.Eq SwiftNav.SBP.Settings.MsgSettingsRegister
instance GHC.Read.Read SwiftNav.SBP.Settings.MsgSettingsRegister
instance GHC.Show.Show SwiftNav.SBP.Settings.MsgSettingsRegister
instance Data.Binary.Class.Binary SwiftNav.SBP.Settings.MsgSettingsRegister
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Settings.MsgSettingsReadByIndexDone
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Settings.MsgSettingsReadByIndexDone
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Settings.MsgSettingsReadByIndexDone
instance GHC.Classes.Eq SwiftNav.SBP.Settings.MsgSettingsReadByIndexDone
instance GHC.Read.Read SwiftNav.SBP.Settings.MsgSettingsReadByIndexDone
instance GHC.Show.Show SwiftNav.SBP.Settings.MsgSettingsReadByIndexDone
instance Data.Binary.Class.Binary SwiftNav.SBP.Settings.MsgSettingsReadByIndexDone
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Settings.MsgSettingsReadByIndexResp
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Settings.MsgSettingsReadByIndexResp
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Settings.MsgSettingsReadByIndexResp
instance GHC.Classes.Eq SwiftNav.SBP.Settings.MsgSettingsReadByIndexResp
instance GHC.Read.Read SwiftNav.SBP.Settings.MsgSettingsReadByIndexResp
instance GHC.Show.Show SwiftNav.SBP.Settings.MsgSettingsReadByIndexResp
instance Data.Binary.Class.Binary SwiftNav.SBP.Settings.MsgSettingsReadByIndexResp
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Settings.MsgSettingsReadByIndexReq
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Settings.MsgSettingsReadByIndexReq
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Settings.MsgSettingsReadByIndexReq
instance GHC.Classes.Eq SwiftNav.SBP.Settings.MsgSettingsReadByIndexReq
instance GHC.Read.Read SwiftNav.SBP.Settings.MsgSettingsReadByIndexReq
instance GHC.Show.Show SwiftNav.SBP.Settings.MsgSettingsReadByIndexReq
instance Data.Binary.Class.Binary SwiftNav.SBP.Settings.MsgSettingsReadByIndexReq
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Settings.MsgSettingsReadResp
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Settings.MsgSettingsReadResp
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Settings.MsgSettingsReadResp
instance GHC.Classes.Eq SwiftNav.SBP.Settings.MsgSettingsReadResp
instance GHC.Read.Read SwiftNav.SBP.Settings.MsgSettingsReadResp
instance GHC.Show.Show SwiftNav.SBP.Settings.MsgSettingsReadResp
instance Data.Binary.Class.Binary SwiftNav.SBP.Settings.MsgSettingsReadResp
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Settings.MsgSettingsReadReq
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Settings.MsgSettingsReadReq
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Settings.MsgSettingsReadReq
instance GHC.Classes.Eq SwiftNav.SBP.Settings.MsgSettingsReadReq
instance GHC.Read.Read SwiftNav.SBP.Settings.MsgSettingsReadReq
instance GHC.Show.Show SwiftNav.SBP.Settings.MsgSettingsReadReq
instance Data.Binary.Class.Binary SwiftNav.SBP.Settings.MsgSettingsReadReq
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Settings.MsgSettingsWriteResp
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Settings.MsgSettingsWriteResp
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Settings.MsgSettingsWriteResp
instance GHC.Classes.Eq SwiftNav.SBP.Settings.MsgSettingsWriteResp
instance GHC.Read.Read SwiftNav.SBP.Settings.MsgSettingsWriteResp
instance GHC.Show.Show SwiftNav.SBP.Settings.MsgSettingsWriteResp
instance Data.Binary.Class.Binary SwiftNav.SBP.Settings.MsgSettingsWriteResp
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Settings.MsgSettingsWrite
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Settings.MsgSettingsWrite
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Settings.MsgSettingsWrite
instance GHC.Classes.Eq SwiftNav.SBP.Settings.MsgSettingsWrite
instance GHC.Read.Read SwiftNav.SBP.Settings.MsgSettingsWrite
instance GHC.Show.Show SwiftNav.SBP.Settings.MsgSettingsWrite
instance Data.Binary.Class.Binary SwiftNav.SBP.Settings.MsgSettingsWrite
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Settings.MsgSettingsSave
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Settings.MsgSettingsSave
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Settings.MsgSettingsSave
instance GHC.Classes.Eq SwiftNav.SBP.Settings.MsgSettingsSave
instance GHC.Read.Read SwiftNav.SBP.Settings.MsgSettingsSave
instance GHC.Show.Show SwiftNav.SBP.Settings.MsgSettingsSave
instance Data.Binary.Class.Binary SwiftNav.SBP.Settings.MsgSettingsSave
-- | Geodetic navigation messages reporting GPS time, position, velocity,
-- and baseline position solutions. For position solutions, these
-- messages define several different position solutions: single-point
-- (SPP), RTK, and pseudo- absolute position solutions. The SPP is the
-- standalone, absolute GPS position solution using only a single
-- receiver. The RTK solution is the differential GPS solution, which can
-- use either a fixed/integer or floating carrier phase ambiguity. The
-- pseudo-absolute position solution uses a user- provided, well-surveyed
-- base station position (if available) and the RTK solution in tandem.
-- When the inertial navigation mode indicates that the IMU is used, all
-- messages are reported in the vehicle body frame as defined by device
-- settings. By default, the vehicle body frame is configured to be
-- coincident with the antenna phase center. When there is no inertial
-- navigation, the solution will be reported at the phase center of the
-- antenna.
module SwiftNav.SBP.Navigation
msgGpsTime :: Word16
-- | SBP class for message MSG_GPS_TIME (0x0102).
--
-- This message reports the GPS time, representing the time since the GPS
-- epoch began on midnight January 6, 1980 UTC. GPS time counts the weeks
-- and seconds of the week. The weeks begin at the Saturday/Sunday
-- transition. GPS week 0 began at the beginning of the GPS time scale.
-- Within each week number, the GPS time of the week is between between 0
-- and 604800 seconds (=60*60*24*7). Note that GPS time does not
-- accumulate leap seconds, and as of now, has a small offset from UTC.
-- In a message stream, this message precedes a set of other navigation
-- messages referenced to the same time (but lacking the ns field) and
-- indicates a more precise time of these messages.
data MsgGpsTime
MsgGpsTime :: !Word16 -> !Word32 -> !Int32 -> !Word8 -> MsgGpsTime
-- | GPS week number
[_msgGpsTime_wn] :: MsgGpsTime -> !Word16
-- | GPS time of week rounded to the nearest millisecond
[_msgGpsTime_tow] :: MsgGpsTime -> !Word32
-- | Nanosecond residual of millisecond-rounded TOW (ranges from -500000 to
-- 500000)
[_msgGpsTime_ns_residual] :: MsgGpsTime -> !Int32
-- | Status flags (reserved)
[_msgGpsTime_flags] :: MsgGpsTime -> !Word8
msgGpsTime_wn :: Lens' MsgGpsTime Word16
msgGpsTime_tow :: Lens' MsgGpsTime Word32
msgGpsTime_ns_residual :: Lens' MsgGpsTime Int32
msgGpsTime_flags :: Lens' MsgGpsTime Word8
msgUtcTime :: Word16
-- | SBP class for message MSG_UTC_TIME (0x0103).
--
-- This message reports the Universal Coordinated Time (UTC). Note the
-- flags which indicate the source of the UTC offset value and source of
-- the time fix.
data MsgUtcTime
MsgUtcTime :: !Word8 -> !Word32 -> !Word16 -> !Word8 -> !Word8 -> !Word8 -> !Word8 -> !Word8 -> !Word32 -> MsgUtcTime
-- | Indicates source and time validity
[_msgUtcTime_flags] :: MsgUtcTime -> !Word8
-- | GPS time of week rounded to the nearest millisecond
[_msgUtcTime_tow] :: MsgUtcTime -> !Word32
-- | Year
[_msgUtcTime_year] :: MsgUtcTime -> !Word16
-- | Month (range 1 .. 12)
[_msgUtcTime_month] :: MsgUtcTime -> !Word8
-- | days in the month (range 1-31)
[_msgUtcTime_day] :: MsgUtcTime -> !Word8
-- | hours of day (range 0-23)
[_msgUtcTime_hours] :: MsgUtcTime -> !Word8
-- | minutes of hour (range 0-59)
[_msgUtcTime_minutes] :: MsgUtcTime -> !Word8
-- | seconds of minute (range 0-60) rounded down
[_msgUtcTime_seconds] :: MsgUtcTime -> !Word8
-- | nanoseconds of second (range 0-999999999)
[_msgUtcTime_ns] :: MsgUtcTime -> !Word32
msgUtcTime_year :: Lens' MsgUtcTime Word16
msgUtcTime_tow :: Lens' MsgUtcTime Word32
msgUtcTime_seconds :: Lens' MsgUtcTime Word8
msgUtcTime_ns :: Lens' MsgUtcTime Word32
msgUtcTime_month :: Lens' MsgUtcTime Word8
msgUtcTime_minutes :: Lens' MsgUtcTime Word8
msgUtcTime_hours :: Lens' MsgUtcTime Word8
msgUtcTime_flags :: Lens' MsgUtcTime Word8
msgUtcTime_day :: Lens' MsgUtcTime Word8
msgDops :: Word16
-- | SBP class for message MSG_DOPS (0x0208).
--
-- This dilution of precision (DOP) message describes the effect of
-- navigation satellite geometry on positional measurement precision. The
-- flags field indicated whether the DOP reported corresponds to
-- differential or SPP solution.
data MsgDops
MsgDops :: !Word32 -> !Word16 -> !Word16 -> !Word16 -> !Word16 -> !Word16 -> !Word8 -> MsgDops
-- | GPS Time of Week
[_msgDops_tow] :: MsgDops -> !Word32
-- | Geometric Dilution of Precision
[_msgDops_gdop] :: MsgDops -> !Word16
-- | Position Dilution of Precision
[_msgDops_pdop] :: MsgDops -> !Word16
-- | Time Dilution of Precision
[_msgDops_tdop] :: MsgDops -> !Word16
-- | Horizontal Dilution of Precision
[_msgDops_hdop] :: MsgDops -> !Word16
-- | Vertical Dilution of Precision
[_msgDops_vdop] :: MsgDops -> !Word16
-- | Indicates the position solution with which the DOPS message
-- corresponds
[_msgDops_flags] :: MsgDops -> !Word8
msgDops_vdop :: Lens' MsgDops Word16
msgDops_tow :: Lens' MsgDops Word32
msgDops_tdop :: Lens' MsgDops Word16
msgDops_pdop :: Lens' MsgDops Word16
msgDops_hdop :: Lens' MsgDops Word16
msgDops_gdop :: Lens' MsgDops Word16
msgDops_flags :: Lens' MsgDops Word8
msgPosEcef :: Word16
-- | SBP class for message MSG_POS_ECEF (0x0209).
--
-- The position solution message reports absolute Earth Centered Earth
-- Fixed (ECEF) coordinates and the status (single point vs
-- pseudo-absolute RTK) of the position solution. If the rover receiver
-- knows the surveyed position of the base station and has an RTK
-- solution, this reports a pseudo-absolute position solution using the
-- base station position and the rover's RTK baseline vector. The full
-- GPS time is given by the preceding MSG_GPS_TIME with the matching
-- time-of-week (tow).
data MsgPosEcef
MsgPosEcef :: !Word32 -> !Double -> !Double -> !Double -> !Word16 -> !Word8 -> !Word8 -> MsgPosEcef
-- | GPS Time of Week
[_msgPosEcef_tow] :: MsgPosEcef -> !Word32
-- | ECEF X coordinate
[_msgPosEcef_x] :: MsgPosEcef -> !Double
-- | ECEF Y coordinate
[_msgPosEcef_y] :: MsgPosEcef -> !Double
-- | ECEF Z coordinate
[_msgPosEcef_z] :: MsgPosEcef -> !Double
-- | Position estimated standard deviation
[_msgPosEcef_accuracy] :: MsgPosEcef -> !Word16
-- | Number of satellites used in solution
[_msgPosEcef_n_sats] :: MsgPosEcef -> !Word8
-- | Status flags
[_msgPosEcef_flags] :: MsgPosEcef -> !Word8
msgPosEcef_z :: Lens' MsgPosEcef Double
msgPosEcef_y :: Lens' MsgPosEcef Double
msgPosEcef_x :: Lens' MsgPosEcef Double
msgPosEcef_tow :: Lens' MsgPosEcef Word32
msgPosEcef_n_sats :: Lens' MsgPosEcef Word8
msgPosEcef_flags :: Lens' MsgPosEcef Word8
msgPosEcef_accuracy :: Lens' MsgPosEcef Word16
msgPosEcefCov :: Word16
-- | SBP class for message MSG_POS_ECEF_COV (0x0214).
--
-- The position solution message reports absolute Earth Centered Earth
-- Fixed (ECEF) coordinates and the status (single point vs
-- pseudo-absolute RTK) of the position solution. The message also
-- reports the upper triangular portion of the 3x3 covariance matrix. If
-- the receiver knows the surveyed position of the base station and has
-- an RTK solution, this reports a pseudo-absolute position solution
-- using the base station position and the rover's RTK baseline vector.
-- The full GPS time is given by the preceding MSG_GPS_TIME with the
-- matching time-of-week (tow).
data MsgPosEcefCov
MsgPosEcefCov :: !Word32 -> !Double -> !Double -> !Double -> !Float -> !Float -> !Float -> !Float -> !Float -> !Float -> !Word8 -> !Word8 -> MsgPosEcefCov
-- | GPS Time of Week
[_msgPosEcefCov_tow] :: MsgPosEcefCov -> !Word32
-- | ECEF X coordinate
[_msgPosEcefCov_x] :: MsgPosEcefCov -> !Double
-- | ECEF Y coordinate
[_msgPosEcefCov_y] :: MsgPosEcefCov -> !Double
-- | ECEF Z coordinate
[_msgPosEcefCov_z] :: MsgPosEcefCov -> !Double
-- | Estimated variance of x
[_msgPosEcefCov_cov_x_x] :: MsgPosEcefCov -> !Float
-- | Estimated covariance of x and y
[_msgPosEcefCov_cov_x_y] :: MsgPosEcefCov -> !Float
-- | Estimated covariance of x and z
[_msgPosEcefCov_cov_x_z] :: MsgPosEcefCov -> !Float
-- | Estimated variance of y
[_msgPosEcefCov_cov_y_y] :: MsgPosEcefCov -> !Float
-- | Estimated covariance of y and z
[_msgPosEcefCov_cov_y_z] :: MsgPosEcefCov -> !Float
-- | Estimated variance of z
[_msgPosEcefCov_cov_z_z] :: MsgPosEcefCov -> !Float
-- | Number of satellites used in solution
[_msgPosEcefCov_n_sats] :: MsgPosEcefCov -> !Word8
-- | Status flags
[_msgPosEcefCov_flags] :: MsgPosEcefCov -> !Word8
msgPosEcefCov_z :: Lens' MsgPosEcefCov Double
msgPosEcefCov_y :: Lens' MsgPosEcefCov Double
msgPosEcefCov_x :: Lens' MsgPosEcefCov Double
msgPosEcefCov_tow :: Lens' MsgPosEcefCov Word32
msgPosEcefCov_n_sats :: Lens' MsgPosEcefCov Word8
msgPosEcefCov_flags :: Lens' MsgPosEcefCov Word8
msgPosEcefCov_cov_z_z :: Lens' MsgPosEcefCov Float
msgPosEcefCov_cov_y_z :: Lens' MsgPosEcefCov Float
msgPosEcefCov_cov_y_y :: Lens' MsgPosEcefCov Float
msgPosEcefCov_cov_x_z :: Lens' MsgPosEcefCov Float
msgPosEcefCov_cov_x_y :: Lens' MsgPosEcefCov Float
msgPosEcefCov_cov_x_x :: Lens' MsgPosEcefCov Float
msgPosLlh :: Word16
-- | SBP class for message MSG_POS_LLH (0x020A).
--
-- This position solution message reports the absolute geodetic
-- coordinates and the status (single point vs pseudo-absolute RTK) of
-- the position solution. If the rover receiver knows the surveyed
-- position of the base station and has an RTK solution, this reports a
-- pseudo-absolute position solution using the base station position and
-- the rover's RTK baseline vector. The full GPS time is given by the
-- preceding MSG_GPS_TIME with the matching time-of-week (tow).
data MsgPosLlh
MsgPosLlh :: !Word32 -> !Double -> !Double -> !Double -> !Word16 -> !Word16 -> !Word8 -> !Word8 -> MsgPosLlh
-- | GPS Time of Week
[_msgPosLlh_tow] :: MsgPosLlh -> !Word32
-- | Latitude
[_msgPosLlh_lat] :: MsgPosLlh -> !Double
-- | Longitude
[_msgPosLlh_lon] :: MsgPosLlh -> !Double
-- | Height above WGS84 ellipsoid
[_msgPosLlh_height] :: MsgPosLlh -> !Double
-- | Horizontal position estimated standard deviation
[_msgPosLlh_h_accuracy] :: MsgPosLlh -> !Word16
-- | Vertical position estimated standard deviation
[_msgPosLlh_v_accuracy] :: MsgPosLlh -> !Word16
-- | Number of satellites used in solution.
[_msgPosLlh_n_sats] :: MsgPosLlh -> !Word8
-- | Status flags
[_msgPosLlh_flags] :: MsgPosLlh -> !Word8
msgPosLlh_v_accuracy :: Lens' MsgPosLlh Word16
msgPosLlh_tow :: Lens' MsgPosLlh Word32
msgPosLlh_n_sats :: Lens' MsgPosLlh Word8
msgPosLlh_lon :: Lens' MsgPosLlh Double
msgPosLlh_lat :: Lens' MsgPosLlh Double
msgPosLlh_height :: Lens' MsgPosLlh Double
msgPosLlh_h_accuracy :: Lens' MsgPosLlh Word16
msgPosLlh_flags :: Lens' MsgPosLlh Word8
msgPosLlhCov :: Word16
-- | SBP class for message MSG_POS_LLH_COV (0x0211).
--
-- This position solution message reports the absolute geodetic
-- coordinates and the status (single point vs pseudo-absolute RTK) of
-- the position solution as well as the upper triangle of the 3x3
-- covariance matrix. The position information and Fix Mode flags should
-- follow the MSG_POS_LLH message. Since the covariance matrix is
-- computed in the local-level North, East, Down frame, the covariance
-- terms follow with that convention. Thus, covariances are reported
-- against the "downward" measurement and care should be taken with the
-- sign convention.
data MsgPosLlhCov
MsgPosLlhCov :: !Word32 -> !Double -> !Double -> !Double -> !Float -> !Float -> !Float -> !Float -> !Float -> !Float -> !Word8 -> !Word8 -> MsgPosLlhCov
-- | GPS Time of Week
[_msgPosLlhCov_tow] :: MsgPosLlhCov -> !Word32
-- | Latitude
[_msgPosLlhCov_lat] :: MsgPosLlhCov -> !Double
-- | Longitude
[_msgPosLlhCov_lon] :: MsgPosLlhCov -> !Double
-- | Height above WGS84 ellipsoid
[_msgPosLlhCov_height] :: MsgPosLlhCov -> !Double
-- | Estimated variance of northing
[_msgPosLlhCov_cov_n_n] :: MsgPosLlhCov -> !Float
-- | Covariance of northing and easting
[_msgPosLlhCov_cov_n_e] :: MsgPosLlhCov -> !Float
-- | Covariance of northing and downward measurement
[_msgPosLlhCov_cov_n_d] :: MsgPosLlhCov -> !Float
-- | Estimated variance of easting
[_msgPosLlhCov_cov_e_e] :: MsgPosLlhCov -> !Float
-- | Covariance of easting and downward measurement
[_msgPosLlhCov_cov_e_d] :: MsgPosLlhCov -> !Float
-- | Estimated variance of downward measurement
[_msgPosLlhCov_cov_d_d] :: MsgPosLlhCov -> !Float
-- | Number of satellites used in solution.
[_msgPosLlhCov_n_sats] :: MsgPosLlhCov -> !Word8
-- | Status flags
[_msgPosLlhCov_flags] :: MsgPosLlhCov -> !Word8
msgPosLlhCov_tow :: Lens' MsgPosLlhCov Word32
msgPosLlhCov_n_sats :: Lens' MsgPosLlhCov Word8
msgPosLlhCov_lon :: Lens' MsgPosLlhCov Double
msgPosLlhCov_lat :: Lens' MsgPosLlhCov Double
msgPosLlhCov_height :: Lens' MsgPosLlhCov Double
msgPosLlhCov_flags :: Lens' MsgPosLlhCov Word8
msgPosLlhCov_cov_n_n :: Lens' MsgPosLlhCov Float
msgPosLlhCov_cov_n_e :: Lens' MsgPosLlhCov Float
msgPosLlhCov_cov_n_d :: Lens' MsgPosLlhCov Float
msgPosLlhCov_cov_e_e :: Lens' MsgPosLlhCov Float
msgPosLlhCov_cov_e_d :: Lens' MsgPosLlhCov Float
msgPosLlhCov_cov_d_d :: Lens' MsgPosLlhCov Float
msgBaselineEcef :: Word16
-- | SBP class for message MSG_BASELINE_ECEF (0x020B).
--
-- This message reports the baseline solution in Earth Centered Earth
-- Fixed (ECEF) coordinates. This baseline is the relative vector
-- distance from the base station to the rover receiver. The full GPS
-- time is given by the preceding MSG_GPS_TIME with the matching
-- time-of-week (tow).
data MsgBaselineEcef
MsgBaselineEcef :: !Word32 -> !Int32 -> !Int32 -> !Int32 -> !Word16 -> !Word8 -> !Word8 -> MsgBaselineEcef
-- | GPS Time of Week
[_msgBaselineEcef_tow] :: MsgBaselineEcef -> !Word32
-- | Baseline ECEF X coordinate
[_msgBaselineEcef_x] :: MsgBaselineEcef -> !Int32
-- | Baseline ECEF Y coordinate
[_msgBaselineEcef_y] :: MsgBaselineEcef -> !Int32
-- | Baseline ECEF Z coordinate
[_msgBaselineEcef_z] :: MsgBaselineEcef -> !Int32
-- | Position estimated standard deviation
[_msgBaselineEcef_accuracy] :: MsgBaselineEcef -> !Word16
-- | Number of satellites used in solution
[_msgBaselineEcef_n_sats] :: MsgBaselineEcef -> !Word8
-- | Status flags
[_msgBaselineEcef_flags] :: MsgBaselineEcef -> !Word8
msgBaselineEcef_z :: Lens' MsgBaselineEcef Int32
msgBaselineEcef_y :: Lens' MsgBaselineEcef Int32
msgBaselineEcef_x :: Lens' MsgBaselineEcef Int32
msgBaselineEcef_tow :: Lens' MsgBaselineEcef Word32
msgBaselineEcef_n_sats :: Lens' MsgBaselineEcef Word8
msgBaselineEcef_flags :: Lens' MsgBaselineEcef Word8
msgBaselineEcef_accuracy :: Lens' MsgBaselineEcef Word16
msgBaselineNed :: Word16
-- | SBP class for message MSG_BASELINE_NED (0x020C).
--
-- This message reports the baseline solution in North East Down (NED)
-- coordinates. This baseline is the relative vector distance from the
-- base station to the rover receiver, and NED coordinate system is
-- defined at the local WGS84 tangent plane centered at the base station
-- position. The full GPS time is given by the preceding MSG_GPS_TIME
-- with the matching time-of- week (tow).
data MsgBaselineNed
MsgBaselineNed :: !Word32 -> !Int32 -> !Int32 -> !Int32 -> !Word16 -> !Word16 -> !Word8 -> !Word8 -> MsgBaselineNed
-- | GPS Time of Week
[_msgBaselineNed_tow] :: MsgBaselineNed -> !Word32
-- | Baseline North coordinate
[_msgBaselineNed_n] :: MsgBaselineNed -> !Int32
-- | Baseline East coordinate
[_msgBaselineNed_e] :: MsgBaselineNed -> !Int32
-- | Baseline Down coordinate
[_msgBaselineNed_d] :: MsgBaselineNed -> !Int32
-- | Horizontal position estimated standard deviation
[_msgBaselineNed_h_accuracy] :: MsgBaselineNed -> !Word16
-- | Vertical position estimated standard deviation
[_msgBaselineNed_v_accuracy] :: MsgBaselineNed -> !Word16
-- | Number of satellites used in solution
[_msgBaselineNed_n_sats] :: MsgBaselineNed -> !Word8
-- | Status flags
[_msgBaselineNed_flags] :: MsgBaselineNed -> !Word8
msgBaselineNed_v_accuracy :: Lens' MsgBaselineNed Word16
msgBaselineNed_tow :: Lens' MsgBaselineNed Word32
msgBaselineNed_n_sats :: Lens' MsgBaselineNed Word8
msgBaselineNed_n :: Lens' MsgBaselineNed Int32
msgBaselineNed_h_accuracy :: Lens' MsgBaselineNed Word16
msgBaselineNed_flags :: Lens' MsgBaselineNed Word8
msgBaselineNed_e :: Lens' MsgBaselineNed Int32
msgBaselineNed_d :: Lens' MsgBaselineNed Int32
msgVelEcef :: Word16
-- | SBP class for message MSG_VEL_ECEF (0x020D).
--
-- This message reports the velocity in Earth Centered Earth Fixed (ECEF)
-- coordinates. The full GPS time is given by the preceding MSG_GPS_TIME
-- with the matching time-of-week (tow).
data MsgVelEcef
MsgVelEcef :: !Word32 -> !Int32 -> !Int32 -> !Int32 -> !Word16 -> !Word8 -> !Word8 -> MsgVelEcef
-- | GPS Time of Week
[_msgVelEcef_tow] :: MsgVelEcef -> !Word32
-- | Velocity ECEF X coordinate
[_msgVelEcef_x] :: MsgVelEcef -> !Int32
-- | Velocity ECEF Y coordinate
[_msgVelEcef_y] :: MsgVelEcef -> !Int32
-- | Velocity ECEF Z coordinate
[_msgVelEcef_z] :: MsgVelEcef -> !Int32
-- | Velocity estimated standard deviation
[_msgVelEcef_accuracy] :: MsgVelEcef -> !Word16
-- | Number of satellites used in solution
[_msgVelEcef_n_sats] :: MsgVelEcef -> !Word8
-- | Status flags
[_msgVelEcef_flags] :: MsgVelEcef -> !Word8
msgVelEcef_z :: Lens' MsgVelEcef Int32
msgVelEcef_y :: Lens' MsgVelEcef Int32
msgVelEcef_x :: Lens' MsgVelEcef Int32
msgVelEcef_tow :: Lens' MsgVelEcef Word32
msgVelEcef_n_sats :: Lens' MsgVelEcef Word8
msgVelEcef_flags :: Lens' MsgVelEcef Word8
msgVelEcef_accuracy :: Lens' MsgVelEcef Word16
msgVelEcefCov :: Word16
-- | SBP class for message MSG_VEL_ECEF_COV (0x0215).
--
-- This message reports the velocity in Earth Centered Earth Fixed (ECEF)
-- coordinates. The full GPS time is given by the preceding MSG_GPS_TIME
-- with the matching time-of-week (tow).
data MsgVelEcefCov
MsgVelEcefCov :: !Word32 -> !Int32 -> !Int32 -> !Int32 -> !Float -> !Float -> !Float -> !Float -> !Float -> !Float -> !Word8 -> !Word8 -> MsgVelEcefCov
-- | GPS Time of Week
[_msgVelEcefCov_tow] :: MsgVelEcefCov -> !Word32
-- | Velocity ECEF X coordinate
[_msgVelEcefCov_x] :: MsgVelEcefCov -> !Int32
-- | Velocity ECEF Y coordinate
[_msgVelEcefCov_y] :: MsgVelEcefCov -> !Int32
-- | Velocity ECEF Z coordinate
[_msgVelEcefCov_z] :: MsgVelEcefCov -> !Int32
-- | Estimated variance of x
[_msgVelEcefCov_cov_x_x] :: MsgVelEcefCov -> !Float
-- | Estimated covariance of x and y
[_msgVelEcefCov_cov_x_y] :: MsgVelEcefCov -> !Float
-- | Estimated covariance of x and z
[_msgVelEcefCov_cov_x_z] :: MsgVelEcefCov -> !Float
-- | Estimated variance of y
[_msgVelEcefCov_cov_y_y] :: MsgVelEcefCov -> !Float
-- | Estimated covariance of y and z
[_msgVelEcefCov_cov_y_z] :: MsgVelEcefCov -> !Float
-- | Estimated variance of z
[_msgVelEcefCov_cov_z_z] :: MsgVelEcefCov -> !Float
-- | Number of satellites used in solution
[_msgVelEcefCov_n_sats] :: MsgVelEcefCov -> !Word8
-- | Status flags
[_msgVelEcefCov_flags] :: MsgVelEcefCov -> !Word8
msgVelEcefCov_z :: Lens' MsgVelEcefCov Int32
msgVelEcefCov_y :: Lens' MsgVelEcefCov Int32
msgVelEcefCov_x :: Lens' MsgVelEcefCov Int32
msgVelEcefCov_tow :: Lens' MsgVelEcefCov Word32
msgVelEcefCov_n_sats :: Lens' MsgVelEcefCov Word8
msgVelEcefCov_flags :: Lens' MsgVelEcefCov Word8
msgVelEcefCov_cov_z_z :: Lens' MsgVelEcefCov Float
msgVelEcefCov_cov_y_z :: Lens' MsgVelEcefCov Float
msgVelEcefCov_cov_y_y :: Lens' MsgVelEcefCov Float
msgVelEcefCov_cov_x_z :: Lens' MsgVelEcefCov Float
msgVelEcefCov_cov_x_y :: Lens' MsgVelEcefCov Float
msgVelEcefCov_cov_x_x :: Lens' MsgVelEcefCov Float
msgVelNed :: Word16
-- | SBP class for message MSG_VEL_NED (0x020E).
--
-- This message reports the velocity in local North East Down (NED)
-- coordinates. The NED coordinate system is defined as the local WGS84
-- tangent plane centered at the current position. The full GPS time is
-- given by the preceding MSG_GPS_TIME with the matching time-of-week
-- (tow).
data MsgVelNed
MsgVelNed :: !Word32 -> !Int32 -> !Int32 -> !Int32 -> !Word16 -> !Word16 -> !Word8 -> !Word8 -> MsgVelNed
-- | GPS Time of Week
[_msgVelNed_tow] :: MsgVelNed -> !Word32
-- | Velocity North coordinate
[_msgVelNed_n] :: MsgVelNed -> !Int32
-- | Velocity East coordinate
[_msgVelNed_e] :: MsgVelNed -> !Int32
-- | Velocity Down coordinate
[_msgVelNed_d] :: MsgVelNed -> !Int32
-- | Horizontal velocity estimated standard deviation
[_msgVelNed_h_accuracy] :: MsgVelNed -> !Word16
-- | Vertical velocity estimated standard deviation
[_msgVelNed_v_accuracy] :: MsgVelNed -> !Word16
-- | Number of satellites used in solution
[_msgVelNed_n_sats] :: MsgVelNed -> !Word8
-- | Status flags
[_msgVelNed_flags] :: MsgVelNed -> !Word8
msgVelNed_v_accuracy :: Lens' MsgVelNed Word16
msgVelNed_tow :: Lens' MsgVelNed Word32
msgVelNed_n_sats :: Lens' MsgVelNed Word8
msgVelNed_n :: Lens' MsgVelNed Int32
msgVelNed_h_accuracy :: Lens' MsgVelNed Word16
msgVelNed_flags :: Lens' MsgVelNed Word8
msgVelNed_e :: Lens' MsgVelNed Int32
msgVelNed_d :: Lens' MsgVelNed Int32
msgVelNedCov :: Word16
-- | SBP class for message MSG_VEL_NED_COV (0x0212).
--
-- This message reports the velocity in local North East Down (NED)
-- coordinates. The NED coordinate system is defined as the local WGS84
-- tangent plane centered at the current position. The full GPS time is
-- given by the preceding MSG_GPS_TIME with the matching time-of-week
-- (tow). This message is similar to the MSG_VEL_NED, but it includes the
-- upper triangular portion of the 3x3 covariance matrix.
data MsgVelNedCov
MsgVelNedCov :: !Word32 -> !Int32 -> !Int32 -> !Int32 -> !Float -> !Float -> !Float -> !Float -> !Float -> !Float -> !Word8 -> !Word8 -> MsgVelNedCov
-- | GPS Time of Week
[_msgVelNedCov_tow] :: MsgVelNedCov -> !Word32
-- | Velocity North coordinate
[_msgVelNedCov_n] :: MsgVelNedCov -> !Int32
-- | Velocity East coordinate
[_msgVelNedCov_e] :: MsgVelNedCov -> !Int32
-- | Velocity Down coordinate
[_msgVelNedCov_d] :: MsgVelNedCov -> !Int32
-- | Estimated variance of northward measurement
[_msgVelNedCov_cov_n_n] :: MsgVelNedCov -> !Float
-- | Covariance of northward and eastward measurement
[_msgVelNedCov_cov_n_e] :: MsgVelNedCov -> !Float
-- | Covariance of northward and downward measurement
[_msgVelNedCov_cov_n_d] :: MsgVelNedCov -> !Float
-- | Estimated variance of eastward measurement
[_msgVelNedCov_cov_e_e] :: MsgVelNedCov -> !Float
-- | Covariance of eastward and downward measurement
[_msgVelNedCov_cov_e_d] :: MsgVelNedCov -> !Float
-- | Estimated variance of downward measurement
[_msgVelNedCov_cov_d_d] :: MsgVelNedCov -> !Float
-- | Number of satellites used in solution
[_msgVelNedCov_n_sats] :: MsgVelNedCov -> !Word8
-- | Status flags
[_msgVelNedCov_flags] :: MsgVelNedCov -> !Word8
msgVelNedCov_tow :: Lens' MsgVelNedCov Word32
msgVelNedCov_n_sats :: Lens' MsgVelNedCov Word8
msgVelNedCov_n :: Lens' MsgVelNedCov Int32
msgVelNedCov_flags :: Lens' MsgVelNedCov Word8
msgVelNedCov_e :: Lens' MsgVelNedCov Int32
msgVelNedCov_d :: Lens' MsgVelNedCov Int32
msgVelNedCov_cov_n_n :: Lens' MsgVelNedCov Float
msgVelNedCov_cov_n_e :: Lens' MsgVelNedCov Float
msgVelNedCov_cov_n_d :: Lens' MsgVelNedCov Float
msgVelNedCov_cov_e_e :: Lens' MsgVelNedCov Float
msgVelNedCov_cov_e_d :: Lens' MsgVelNedCov Float
msgVelNedCov_cov_d_d :: Lens' MsgVelNedCov Float
msgVelBody :: Word16
-- | SBP class for message MSG_VEL_BODY (0x0213).
--
-- This message reports the velocity in the Vehicle Body Frame. By
-- convention, the x-axis should point out the nose of the vehicle and
-- represent the forward direction, while as the y-axis should point out
-- the right hand side of the vehicle. Since this is a right handed
-- system, z should point out the bottom of the vehicle. The orientation
-- and origin of the Vehicle Body Frame are specified via the device
-- settings. The full GPS time is given by the preceding MSG_GPS_TIME
-- with the matching time-of-week (tow).
data MsgVelBody
MsgVelBody :: !Word32 -> !Int32 -> !Int32 -> !Int32 -> !Float -> !Float -> !Float -> !Float -> !Float -> !Float -> !Word8 -> !Word8 -> MsgVelBody
-- | GPS Time of Week
[_msgVelBody_tow] :: MsgVelBody -> !Word32
-- | Velocity in x direction
[_msgVelBody_x] :: MsgVelBody -> !Int32
-- | Velocity in y direction
[_msgVelBody_y] :: MsgVelBody -> !Int32
-- | Velocity in z direction
[_msgVelBody_z] :: MsgVelBody -> !Int32
-- | Estimated variance of x
[_msgVelBody_cov_x_x] :: MsgVelBody -> !Float
-- | Covariance of x and y
[_msgVelBody_cov_x_y] :: MsgVelBody -> !Float
-- | Covariance of x and z
[_msgVelBody_cov_x_z] :: MsgVelBody -> !Float
-- | Estimated variance of y
[_msgVelBody_cov_y_y] :: MsgVelBody -> !Float
-- | Covariance of y and z
[_msgVelBody_cov_y_z] :: MsgVelBody -> !Float
-- | Estimated variance of z
[_msgVelBody_cov_z_z] :: MsgVelBody -> !Float
-- | Number of satellites used in solution
[_msgVelBody_n_sats] :: MsgVelBody -> !Word8
-- | Status flags
[_msgVelBody_flags] :: MsgVelBody -> !Word8
msgVelBody_z :: Lens' MsgVelBody Int32
msgVelBody_y :: Lens' MsgVelBody Int32
msgVelBody_x :: Lens' MsgVelBody Int32
msgVelBody_tow :: Lens' MsgVelBody Word32
msgVelBody_n_sats :: Lens' MsgVelBody Word8
msgVelBody_flags :: Lens' MsgVelBody Word8
msgVelBody_cov_z_z :: Lens' MsgVelBody Float
msgVelBody_cov_y_z :: Lens' MsgVelBody Float
msgVelBody_cov_y_y :: Lens' MsgVelBody Float
msgVelBody_cov_x_z :: Lens' MsgVelBody Float
msgVelBody_cov_x_y :: Lens' MsgVelBody Float
msgVelBody_cov_x_x :: Lens' MsgVelBody Float
msgAgeCorrections :: Word16
-- | SBP class for message MSG_AGE_CORRECTIONS (0x0210).
--
-- This message reports the Age of the corrections used for the current
-- Differential solution
data MsgAgeCorrections
MsgAgeCorrections :: !Word32 -> !Word16 -> MsgAgeCorrections
-- | GPS Time of Week
[_msgAgeCorrections_tow] :: MsgAgeCorrections -> !Word32
-- | Age of the corrections (0xFFFF indicates invalid)
[_msgAgeCorrections_age] :: MsgAgeCorrections -> !Word16
msgAgeCorrections_tow :: Lens' MsgAgeCorrections Word32
msgAgeCorrections_age :: Lens' MsgAgeCorrections Word16
msgGpsTimeDepA :: Word16
-- | SBP class for message MSG_GPS_TIME_DEP_A (0x0100).
--
-- This message reports the GPS time, representing the time since the GPS
-- epoch began on midnight January 6, 1980 UTC. GPS time counts the weeks
-- and seconds of the week. The weeks begin at the Saturday/Sunday
-- transition. GPS week 0 began at the beginning of the GPS time scale.
-- Within each week number, the GPS time of the week is between between 0
-- and 604800 seconds (=60*60*24*7). Note that GPS time does not
-- accumulate leap seconds, and as of now, has a small offset from UTC.
-- In a message stream, this message precedes a set of other navigation
-- messages referenced to the same time (but lacking the ns field) and
-- indicates a more precise time of these messages.
data MsgGpsTimeDepA
MsgGpsTimeDepA :: !Word16 -> !Word32 -> !Int32 -> !Word8 -> MsgGpsTimeDepA
-- | GPS week number
[_msgGpsTimeDepA_wn] :: MsgGpsTimeDepA -> !Word16
-- | GPS time of week rounded to the nearest millisecond
[_msgGpsTimeDepA_tow] :: MsgGpsTimeDepA -> !Word32
-- | Nanosecond residual of millisecond-rounded TOW (ranges from -500000 to
-- 500000)
[_msgGpsTimeDepA_ns_residual] :: MsgGpsTimeDepA -> !Int32
-- | Status flags (reserved)
[_msgGpsTimeDepA_flags] :: MsgGpsTimeDepA -> !Word8
msgGpsTimeDepA_wn :: Lens' MsgGpsTimeDepA Word16
msgGpsTimeDepA_tow :: Lens' MsgGpsTimeDepA Word32
msgGpsTimeDepA_ns_residual :: Lens' MsgGpsTimeDepA Int32
msgGpsTimeDepA_flags :: Lens' MsgGpsTimeDepA Word8
msgDopsDepA :: Word16
-- | SBP class for message MSG_DOPS_DEP_A (0x0206).
--
-- This dilution of precision (DOP) message describes the effect of
-- navigation satellite geometry on positional measurement precision.
data MsgDopsDepA
MsgDopsDepA :: !Word32 -> !Word16 -> !Word16 -> !Word16 -> !Word16 -> !Word16 -> MsgDopsDepA
-- | GPS Time of Week
[_msgDopsDepA_tow] :: MsgDopsDepA -> !Word32
-- | Geometric Dilution of Precision
[_msgDopsDepA_gdop] :: MsgDopsDepA -> !Word16
-- | Position Dilution of Precision
[_msgDopsDepA_pdop] :: MsgDopsDepA -> !Word16
-- | Time Dilution of Precision
[_msgDopsDepA_tdop] :: MsgDopsDepA -> !Word16
-- | Horizontal Dilution of Precision
[_msgDopsDepA_hdop] :: MsgDopsDepA -> !Word16
-- | Vertical Dilution of Precision
[_msgDopsDepA_vdop] :: MsgDopsDepA -> !Word16
msgDopsDepA_vdop :: Lens' MsgDopsDepA Word16
msgDopsDepA_tow :: Lens' MsgDopsDepA Word32
msgDopsDepA_tdop :: Lens' MsgDopsDepA Word16
msgDopsDepA_pdop :: Lens' MsgDopsDepA Word16
msgDopsDepA_hdop :: Lens' MsgDopsDepA Word16
msgDopsDepA_gdop :: Lens' MsgDopsDepA Word16
msgPosEcefDepA :: Word16
-- | SBP class for message MSG_POS_ECEF_DEP_A (0x0200).
--
-- The position solution message reports absolute Earth Centered Earth
-- Fixed (ECEF) coordinates and the status (single point vs
-- pseudo-absolute RTK) of the position solution. If the rover receiver
-- knows the surveyed position of the base station and has an RTK
-- solution, this reports a pseudo-absolute position solution using the
-- base station position and the rover's RTK baseline vector. The full
-- GPS time is given by the preceding MSG_GPS_TIME with the matching
-- time-of-week (tow).
data MsgPosEcefDepA
MsgPosEcefDepA :: !Word32 -> !Double -> !Double -> !Double -> !Word16 -> !Word8 -> !Word8 -> MsgPosEcefDepA
-- | GPS Time of Week
[_msgPosEcefDepA_tow] :: MsgPosEcefDepA -> !Word32
-- | ECEF X coordinate
[_msgPosEcefDepA_x] :: MsgPosEcefDepA -> !Double
-- | ECEF Y coordinate
[_msgPosEcefDepA_y] :: MsgPosEcefDepA -> !Double
-- | ECEF Z coordinate
[_msgPosEcefDepA_z] :: MsgPosEcefDepA -> !Double
-- | Position accuracy estimate (not implemented). Defaults to 0.
[_msgPosEcefDepA_accuracy] :: MsgPosEcefDepA -> !Word16
-- | Number of satellites used in solution
[_msgPosEcefDepA_n_sats] :: MsgPosEcefDepA -> !Word8
-- | Status flags
[_msgPosEcefDepA_flags] :: MsgPosEcefDepA -> !Word8
msgPosEcefDepA_z :: Lens' MsgPosEcefDepA Double
msgPosEcefDepA_y :: Lens' MsgPosEcefDepA Double
msgPosEcefDepA_x :: Lens' MsgPosEcefDepA Double
msgPosEcefDepA_tow :: Lens' MsgPosEcefDepA Word32
msgPosEcefDepA_n_sats :: Lens' MsgPosEcefDepA Word8
msgPosEcefDepA_flags :: Lens' MsgPosEcefDepA Word8
msgPosEcefDepA_accuracy :: Lens' MsgPosEcefDepA Word16
msgPosLlhDepA :: Word16
-- | SBP class for message MSG_POS_LLH_DEP_A (0x0201).
--
-- This position solution message reports the absolute geodetic
-- coordinates and the status (single point vs pseudo-absolute RTK) of
-- the position solution. If the rover receiver knows the surveyed
-- position of the base station and has an RTK solution, this reports a
-- pseudo-absolute position solution using the base station position and
-- the rover's RTK baseline vector. The full GPS time is given by the
-- preceding MSG_GPS_TIME with the matching time-of-week (tow).
data MsgPosLlhDepA
MsgPosLlhDepA :: !Word32 -> !Double -> !Double -> !Double -> !Word16 -> !Word16 -> !Word8 -> !Word8 -> MsgPosLlhDepA
-- | GPS Time of Week
[_msgPosLlhDepA_tow] :: MsgPosLlhDepA -> !Word32
-- | Latitude
[_msgPosLlhDepA_lat] :: MsgPosLlhDepA -> !Double
-- | Longitude
[_msgPosLlhDepA_lon] :: MsgPosLlhDepA -> !Double
-- | Height
[_msgPosLlhDepA_height] :: MsgPosLlhDepA -> !Double
-- | Horizontal position accuracy estimate (not implemented). Defaults to
-- 0.
[_msgPosLlhDepA_h_accuracy] :: MsgPosLlhDepA -> !Word16
-- | Vertical position accuracy estimate (not implemented). Defaults to 0.
[_msgPosLlhDepA_v_accuracy] :: MsgPosLlhDepA -> !Word16
-- | Number of satellites used in solution.
[_msgPosLlhDepA_n_sats] :: MsgPosLlhDepA -> !Word8
-- | Status flags
[_msgPosLlhDepA_flags] :: MsgPosLlhDepA -> !Word8
msgPosLlhDepA_v_accuracy :: Lens' MsgPosLlhDepA Word16
msgPosLlhDepA_tow :: Lens' MsgPosLlhDepA Word32
msgPosLlhDepA_n_sats :: Lens' MsgPosLlhDepA Word8
msgPosLlhDepA_lon :: Lens' MsgPosLlhDepA Double
msgPosLlhDepA_lat :: Lens' MsgPosLlhDepA Double
msgPosLlhDepA_height :: Lens' MsgPosLlhDepA Double
msgPosLlhDepA_h_accuracy :: Lens' MsgPosLlhDepA Word16
msgPosLlhDepA_flags :: Lens' MsgPosLlhDepA Word8
msgBaselineEcefDepA :: Word16
-- | SBP class for message MSG_BASELINE_ECEF_DEP_A (0x0202).
--
-- This message reports the baseline solution in Earth Centered Earth
-- Fixed (ECEF) coordinates. This baseline is the relative vector
-- distance from the base station to the rover receiver. The full GPS
-- time is given by the preceding MSG_GPS_TIME with the matching
-- time-of-week (tow).
data MsgBaselineEcefDepA
MsgBaselineEcefDepA :: !Word32 -> !Int32 -> !Int32 -> !Int32 -> !Word16 -> !Word8 -> !Word8 -> MsgBaselineEcefDepA
-- | GPS Time of Week
[_msgBaselineEcefDepA_tow] :: MsgBaselineEcefDepA -> !Word32
-- | Baseline ECEF X coordinate
[_msgBaselineEcefDepA_x] :: MsgBaselineEcefDepA -> !Int32
-- | Baseline ECEF Y coordinate
[_msgBaselineEcefDepA_y] :: MsgBaselineEcefDepA -> !Int32
-- | Baseline ECEF Z coordinate
[_msgBaselineEcefDepA_z] :: MsgBaselineEcefDepA -> !Int32
-- | Position accuracy estimate
[_msgBaselineEcefDepA_accuracy] :: MsgBaselineEcefDepA -> !Word16
-- | Number of satellites used in solution
[_msgBaselineEcefDepA_n_sats] :: MsgBaselineEcefDepA -> !Word8
-- | Status flags
[_msgBaselineEcefDepA_flags] :: MsgBaselineEcefDepA -> !Word8
msgBaselineEcefDepA_z :: Lens' MsgBaselineEcefDepA Int32
msgBaselineEcefDepA_y :: Lens' MsgBaselineEcefDepA Int32
msgBaselineEcefDepA_x :: Lens' MsgBaselineEcefDepA Int32
msgBaselineEcefDepA_tow :: Lens' MsgBaselineEcefDepA Word32
msgBaselineEcefDepA_n_sats :: Lens' MsgBaselineEcefDepA Word8
msgBaselineEcefDepA_flags :: Lens' MsgBaselineEcefDepA Word8
msgBaselineEcefDepA_accuracy :: Lens' MsgBaselineEcefDepA Word16
msgBaselineNedDepA :: Word16
-- | SBP class for message MSG_BASELINE_NED_DEP_A (0x0203).
--
-- This message reports the baseline solution in North East Down (NED)
-- coordinates. This baseline is the relative vector distance from the
-- base station to the rover receiver, and NED coordinate system is
-- defined at the local WGS84 tangent plane centered at the base station
-- position. The full GPS time is given by the preceding MSG_GPS_TIME
-- with the matching time-of- week (tow).
data MsgBaselineNedDepA
MsgBaselineNedDepA :: !Word32 -> !Int32 -> !Int32 -> !Int32 -> !Word16 -> !Word16 -> !Word8 -> !Word8 -> MsgBaselineNedDepA
-- | GPS Time of Week
[_msgBaselineNedDepA_tow] :: MsgBaselineNedDepA -> !Word32
-- | Baseline North coordinate
[_msgBaselineNedDepA_n] :: MsgBaselineNedDepA -> !Int32
-- | Baseline East coordinate
[_msgBaselineNedDepA_e] :: MsgBaselineNedDepA -> !Int32
-- | Baseline Down coordinate
[_msgBaselineNedDepA_d] :: MsgBaselineNedDepA -> !Int32
-- | Horizontal position accuracy estimate (not implemented). Defaults to
-- 0.
[_msgBaselineNedDepA_h_accuracy] :: MsgBaselineNedDepA -> !Word16
-- | Vertical position accuracy estimate (not implemented). Defaults to 0.
[_msgBaselineNedDepA_v_accuracy] :: MsgBaselineNedDepA -> !Word16
-- | Number of satellites used in solution
[_msgBaselineNedDepA_n_sats] :: MsgBaselineNedDepA -> !Word8
-- | Status flags
[_msgBaselineNedDepA_flags] :: MsgBaselineNedDepA -> !Word8
msgBaselineNedDepA_v_accuracy :: Lens' MsgBaselineNedDepA Word16
msgBaselineNedDepA_tow :: Lens' MsgBaselineNedDepA Word32
msgBaselineNedDepA_n_sats :: Lens' MsgBaselineNedDepA Word8
msgBaselineNedDepA_n :: Lens' MsgBaselineNedDepA Int32
msgBaselineNedDepA_h_accuracy :: Lens' MsgBaselineNedDepA Word16
msgBaselineNedDepA_flags :: Lens' MsgBaselineNedDepA Word8
msgBaselineNedDepA_e :: Lens' MsgBaselineNedDepA Int32
msgBaselineNedDepA_d :: Lens' MsgBaselineNedDepA Int32
msgVelEcefDepA :: Word16
-- | SBP class for message MSG_VEL_ECEF_DEP_A (0x0204).
--
-- This message reports the velocity in Earth Centered Earth Fixed (ECEF)
-- coordinates. The full GPS time is given by the preceding MSG_GPS_TIME
-- with the matching time-of-week (tow).
data MsgVelEcefDepA
MsgVelEcefDepA :: !Word32 -> !Int32 -> !Int32 -> !Int32 -> !Word16 -> !Word8 -> !Word8 -> MsgVelEcefDepA
-- | GPS Time of Week
[_msgVelEcefDepA_tow] :: MsgVelEcefDepA -> !Word32
-- | Velocity ECEF X coordinate
[_msgVelEcefDepA_x] :: MsgVelEcefDepA -> !Int32
-- | Velocity ECEF Y coordinate
[_msgVelEcefDepA_y] :: MsgVelEcefDepA -> !Int32
-- | Velocity ECEF Z coordinate
[_msgVelEcefDepA_z] :: MsgVelEcefDepA -> !Int32
-- | Velocity accuracy estimate (not implemented). Defaults to 0.
[_msgVelEcefDepA_accuracy] :: MsgVelEcefDepA -> !Word16
-- | Number of satellites used in solution
[_msgVelEcefDepA_n_sats] :: MsgVelEcefDepA -> !Word8
-- | Status flags (reserved)
[_msgVelEcefDepA_flags] :: MsgVelEcefDepA -> !Word8
msgVelEcefDepA_z :: Lens' MsgVelEcefDepA Int32
msgVelEcefDepA_y :: Lens' MsgVelEcefDepA Int32
msgVelEcefDepA_x :: Lens' MsgVelEcefDepA Int32
msgVelEcefDepA_tow :: Lens' MsgVelEcefDepA Word32
msgVelEcefDepA_n_sats :: Lens' MsgVelEcefDepA Word8
msgVelEcefDepA_flags :: Lens' MsgVelEcefDepA Word8
msgVelEcefDepA_accuracy :: Lens' MsgVelEcefDepA Word16
msgVelNedDepA :: Word16
-- | SBP class for message MSG_VEL_NED_DEP_A (0x0205).
--
-- This message reports the velocity in local North East Down (NED)
-- coordinates. The NED coordinate system is defined as the local WGS84
-- tangent plane centered at the current position. The full GPS time is
-- given by the preceding MSG_GPS_TIME with the matching time-of-week
-- (tow).
data MsgVelNedDepA
MsgVelNedDepA :: !Word32 -> !Int32 -> !Int32 -> !Int32 -> !Word16 -> !Word16 -> !Word8 -> !Word8 -> MsgVelNedDepA
-- | GPS Time of Week
[_msgVelNedDepA_tow] :: MsgVelNedDepA -> !Word32
-- | Velocity North coordinate
[_msgVelNedDepA_n] :: MsgVelNedDepA -> !Int32
-- | Velocity East coordinate
[_msgVelNedDepA_e] :: MsgVelNedDepA -> !Int32
-- | Velocity Down coordinate
[_msgVelNedDepA_d] :: MsgVelNedDepA -> !Int32
-- | Horizontal velocity accuracy estimate (not implemented). Defaults to
-- 0.
[_msgVelNedDepA_h_accuracy] :: MsgVelNedDepA -> !Word16
-- | Vertical velocity accuracy estimate (not implemented). Defaults to 0.
[_msgVelNedDepA_v_accuracy] :: MsgVelNedDepA -> !Word16
-- | Number of satellites used in solution
[_msgVelNedDepA_n_sats] :: MsgVelNedDepA -> !Word8
-- | Status flags (reserved)
[_msgVelNedDepA_flags] :: MsgVelNedDepA -> !Word8
msgVelNedDepA_v_accuracy :: Lens' MsgVelNedDepA Word16
msgVelNedDepA_tow :: Lens' MsgVelNedDepA Word32
msgVelNedDepA_n_sats :: Lens' MsgVelNedDepA Word8
msgVelNedDepA_n :: Lens' MsgVelNedDepA Int32
msgVelNedDepA_h_accuracy :: Lens' MsgVelNedDepA Word16
msgVelNedDepA_flags :: Lens' MsgVelNedDepA Word8
msgVelNedDepA_e :: Lens' MsgVelNedDepA Int32
msgVelNedDepA_d :: Lens' MsgVelNedDepA Int32
msgBaselineHeadingDepA :: Word16
-- | SBP class for message MSG_BASELINE_HEADING_DEP_A (0x0207).
--
-- This message reports the baseline heading pointing from the base
-- station to the rover relative to True North. The full GPS time is
-- given by the preceding MSG_GPS_TIME with the matching time-of-week
-- (tow).
data MsgBaselineHeadingDepA
MsgBaselineHeadingDepA :: !Word32 -> !Word32 -> !Word8 -> !Word8 -> MsgBaselineHeadingDepA
-- | GPS Time of Week
[_msgBaselineHeadingDepA_tow] :: MsgBaselineHeadingDepA -> !Word32
-- | Heading
[_msgBaselineHeadingDepA_heading] :: MsgBaselineHeadingDepA -> !Word32
-- | Number of satellites used in solution
[_msgBaselineHeadingDepA_n_sats] :: MsgBaselineHeadingDepA -> !Word8
-- | Status flags
[_msgBaselineHeadingDepA_flags] :: MsgBaselineHeadingDepA -> !Word8
msgBaselineHeadingDepA_tow :: Lens' MsgBaselineHeadingDepA Word32
msgBaselineHeadingDepA_n_sats :: Lens' MsgBaselineHeadingDepA Word8
msgBaselineHeadingDepA_heading :: Lens' MsgBaselineHeadingDepA Word32
msgBaselineHeadingDepA_flags :: Lens' MsgBaselineHeadingDepA Word8
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Navigation.MsgBaselineHeadingDepA
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Navigation.MsgBaselineHeadingDepA
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Navigation.MsgBaselineHeadingDepA
instance GHC.Classes.Eq SwiftNav.SBP.Navigation.MsgBaselineHeadingDepA
instance GHC.Read.Read SwiftNav.SBP.Navigation.MsgBaselineHeadingDepA
instance GHC.Show.Show SwiftNav.SBP.Navigation.MsgBaselineHeadingDepA
instance Data.Binary.Class.Binary SwiftNav.SBP.Navigation.MsgBaselineHeadingDepA
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Navigation.MsgVelNedDepA
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Navigation.MsgVelNedDepA
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Navigation.MsgVelNedDepA
instance GHC.Classes.Eq SwiftNav.SBP.Navigation.MsgVelNedDepA
instance GHC.Read.Read SwiftNav.SBP.Navigation.MsgVelNedDepA
instance GHC.Show.Show SwiftNav.SBP.Navigation.MsgVelNedDepA
instance Data.Binary.Class.Binary SwiftNav.SBP.Navigation.MsgVelNedDepA
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Navigation.MsgVelEcefDepA
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Navigation.MsgVelEcefDepA
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Navigation.MsgVelEcefDepA
instance GHC.Classes.Eq SwiftNav.SBP.Navigation.MsgVelEcefDepA
instance GHC.Read.Read SwiftNav.SBP.Navigation.MsgVelEcefDepA
instance GHC.Show.Show SwiftNav.SBP.Navigation.MsgVelEcefDepA
instance Data.Binary.Class.Binary SwiftNav.SBP.Navigation.MsgVelEcefDepA
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Navigation.MsgBaselineNedDepA
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Navigation.MsgBaselineNedDepA
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Navigation.MsgBaselineNedDepA
instance GHC.Classes.Eq SwiftNav.SBP.Navigation.MsgBaselineNedDepA
instance GHC.Read.Read SwiftNav.SBP.Navigation.MsgBaselineNedDepA
instance GHC.Show.Show SwiftNav.SBP.Navigation.MsgBaselineNedDepA
instance Data.Binary.Class.Binary SwiftNav.SBP.Navigation.MsgBaselineNedDepA
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Navigation.MsgBaselineEcefDepA
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Navigation.MsgBaselineEcefDepA
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Navigation.MsgBaselineEcefDepA
instance GHC.Classes.Eq SwiftNav.SBP.Navigation.MsgBaselineEcefDepA
instance GHC.Read.Read SwiftNav.SBP.Navigation.MsgBaselineEcefDepA
instance GHC.Show.Show SwiftNav.SBP.Navigation.MsgBaselineEcefDepA
instance Data.Binary.Class.Binary SwiftNav.SBP.Navigation.MsgBaselineEcefDepA
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Navigation.MsgPosLlhDepA
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Navigation.MsgPosLlhDepA
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Navigation.MsgPosLlhDepA
instance GHC.Classes.Eq SwiftNav.SBP.Navigation.MsgPosLlhDepA
instance GHC.Read.Read SwiftNav.SBP.Navigation.MsgPosLlhDepA
instance GHC.Show.Show SwiftNav.SBP.Navigation.MsgPosLlhDepA
instance Data.Binary.Class.Binary SwiftNav.SBP.Navigation.MsgPosLlhDepA
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Navigation.MsgPosEcefDepA
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Navigation.MsgPosEcefDepA
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Navigation.MsgPosEcefDepA
instance GHC.Classes.Eq SwiftNav.SBP.Navigation.MsgPosEcefDepA
instance GHC.Read.Read SwiftNav.SBP.Navigation.MsgPosEcefDepA
instance GHC.Show.Show SwiftNav.SBP.Navigation.MsgPosEcefDepA
instance Data.Binary.Class.Binary SwiftNav.SBP.Navigation.MsgPosEcefDepA
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Navigation.MsgDopsDepA
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Navigation.MsgDopsDepA
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Navigation.MsgDopsDepA
instance GHC.Classes.Eq SwiftNav.SBP.Navigation.MsgDopsDepA
instance GHC.Read.Read SwiftNav.SBP.Navigation.MsgDopsDepA
instance GHC.Show.Show SwiftNav.SBP.Navigation.MsgDopsDepA
instance Data.Binary.Class.Binary SwiftNav.SBP.Navigation.MsgDopsDepA
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Navigation.MsgGpsTimeDepA
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Navigation.MsgGpsTimeDepA
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Navigation.MsgGpsTimeDepA
instance GHC.Classes.Eq SwiftNav.SBP.Navigation.MsgGpsTimeDepA
instance GHC.Read.Read SwiftNav.SBP.Navigation.MsgGpsTimeDepA
instance GHC.Show.Show SwiftNav.SBP.Navigation.MsgGpsTimeDepA
instance Data.Binary.Class.Binary SwiftNav.SBP.Navigation.MsgGpsTimeDepA
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Navigation.MsgAgeCorrections
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Navigation.MsgAgeCorrections
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Navigation.MsgAgeCorrections
instance GHC.Classes.Eq SwiftNav.SBP.Navigation.MsgAgeCorrections
instance GHC.Read.Read SwiftNav.SBP.Navigation.MsgAgeCorrections
instance GHC.Show.Show SwiftNav.SBP.Navigation.MsgAgeCorrections
instance Data.Binary.Class.Binary SwiftNav.SBP.Navigation.MsgAgeCorrections
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Navigation.MsgVelBody
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Navigation.MsgVelBody
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Navigation.MsgVelBody
instance GHC.Classes.Eq SwiftNav.SBP.Navigation.MsgVelBody
instance GHC.Read.Read SwiftNav.SBP.Navigation.MsgVelBody
instance GHC.Show.Show SwiftNav.SBP.Navigation.MsgVelBody
instance Data.Binary.Class.Binary SwiftNav.SBP.Navigation.MsgVelBody
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Navigation.MsgVelNedCov
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Navigation.MsgVelNedCov
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Navigation.MsgVelNedCov
instance GHC.Classes.Eq SwiftNav.SBP.Navigation.MsgVelNedCov
instance GHC.Read.Read SwiftNav.SBP.Navigation.MsgVelNedCov
instance GHC.Show.Show SwiftNav.SBP.Navigation.MsgVelNedCov
instance Data.Binary.Class.Binary SwiftNav.SBP.Navigation.MsgVelNedCov
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Navigation.MsgVelNed
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Navigation.MsgVelNed
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Navigation.MsgVelNed
instance GHC.Classes.Eq SwiftNav.SBP.Navigation.MsgVelNed
instance GHC.Read.Read SwiftNav.SBP.Navigation.MsgVelNed
instance GHC.Show.Show SwiftNav.SBP.Navigation.MsgVelNed
instance Data.Binary.Class.Binary SwiftNav.SBP.Navigation.MsgVelNed
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Navigation.MsgVelEcefCov
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Navigation.MsgVelEcefCov
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Navigation.MsgVelEcefCov
instance GHC.Classes.Eq SwiftNav.SBP.Navigation.MsgVelEcefCov
instance GHC.Read.Read SwiftNav.SBP.Navigation.MsgVelEcefCov
instance GHC.Show.Show SwiftNav.SBP.Navigation.MsgVelEcefCov
instance Data.Binary.Class.Binary SwiftNav.SBP.Navigation.MsgVelEcefCov
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Navigation.MsgVelEcef
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Navigation.MsgVelEcef
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Navigation.MsgVelEcef
instance GHC.Classes.Eq SwiftNav.SBP.Navigation.MsgVelEcef
instance GHC.Read.Read SwiftNav.SBP.Navigation.MsgVelEcef
instance GHC.Show.Show SwiftNav.SBP.Navigation.MsgVelEcef
instance Data.Binary.Class.Binary SwiftNav.SBP.Navigation.MsgVelEcef
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Navigation.MsgBaselineNed
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Navigation.MsgBaselineNed
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Navigation.MsgBaselineNed
instance GHC.Classes.Eq SwiftNav.SBP.Navigation.MsgBaselineNed
instance GHC.Read.Read SwiftNav.SBP.Navigation.MsgBaselineNed
instance GHC.Show.Show SwiftNav.SBP.Navigation.MsgBaselineNed
instance Data.Binary.Class.Binary SwiftNav.SBP.Navigation.MsgBaselineNed
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Navigation.MsgBaselineEcef
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Navigation.MsgBaselineEcef
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Navigation.MsgBaselineEcef
instance GHC.Classes.Eq SwiftNav.SBP.Navigation.MsgBaselineEcef
instance GHC.Read.Read SwiftNav.SBP.Navigation.MsgBaselineEcef
instance GHC.Show.Show SwiftNav.SBP.Navigation.MsgBaselineEcef
instance Data.Binary.Class.Binary SwiftNav.SBP.Navigation.MsgBaselineEcef
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Navigation.MsgPosLlhCov
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Navigation.MsgPosLlhCov
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Navigation.MsgPosLlhCov
instance GHC.Classes.Eq SwiftNav.SBP.Navigation.MsgPosLlhCov
instance GHC.Read.Read SwiftNav.SBP.Navigation.MsgPosLlhCov
instance GHC.Show.Show SwiftNav.SBP.Navigation.MsgPosLlhCov
instance Data.Binary.Class.Binary SwiftNav.SBP.Navigation.MsgPosLlhCov
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Navigation.MsgPosLlh
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Navigation.MsgPosLlh
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Navigation.MsgPosLlh
instance GHC.Classes.Eq SwiftNav.SBP.Navigation.MsgPosLlh
instance GHC.Read.Read SwiftNav.SBP.Navigation.MsgPosLlh
instance GHC.Show.Show SwiftNav.SBP.Navigation.MsgPosLlh
instance Data.Binary.Class.Binary SwiftNav.SBP.Navigation.MsgPosLlh
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Navigation.MsgPosEcefCov
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Navigation.MsgPosEcefCov
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Navigation.MsgPosEcefCov
instance GHC.Classes.Eq SwiftNav.SBP.Navigation.MsgPosEcefCov
instance GHC.Read.Read SwiftNav.SBP.Navigation.MsgPosEcefCov
instance GHC.Show.Show SwiftNav.SBP.Navigation.MsgPosEcefCov
instance Data.Binary.Class.Binary SwiftNav.SBP.Navigation.MsgPosEcefCov
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Navigation.MsgPosEcef
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Navigation.MsgPosEcef
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Navigation.MsgPosEcef
instance GHC.Classes.Eq SwiftNav.SBP.Navigation.MsgPosEcef
instance GHC.Read.Read SwiftNav.SBP.Navigation.MsgPosEcef
instance GHC.Show.Show SwiftNav.SBP.Navigation.MsgPosEcef
instance Data.Binary.Class.Binary SwiftNav.SBP.Navigation.MsgPosEcef
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Navigation.MsgDops
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Navigation.MsgDops
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Navigation.MsgDops
instance GHC.Classes.Eq SwiftNav.SBP.Navigation.MsgDops
instance GHC.Read.Read SwiftNav.SBP.Navigation.MsgDops
instance GHC.Show.Show SwiftNav.SBP.Navigation.MsgDops
instance Data.Binary.Class.Binary SwiftNav.SBP.Navigation.MsgDops
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Navigation.MsgUtcTime
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Navigation.MsgUtcTime
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Navigation.MsgUtcTime
instance GHC.Classes.Eq SwiftNav.SBP.Navigation.MsgUtcTime
instance GHC.Read.Read SwiftNav.SBP.Navigation.MsgUtcTime
instance GHC.Show.Show SwiftNav.SBP.Navigation.MsgUtcTime
instance Data.Binary.Class.Binary SwiftNav.SBP.Navigation.MsgUtcTime
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Navigation.MsgGpsTime
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Navigation.MsgGpsTime
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Navigation.MsgGpsTime
instance GHC.Classes.Eq SwiftNav.SBP.Navigation.MsgGpsTime
instance GHC.Read.Read SwiftNav.SBP.Navigation.MsgGpsTime
instance GHC.Show.Show SwiftNav.SBP.Navigation.MsgGpsTime
instance Data.Binary.Class.Binary SwiftNav.SBP.Navigation.MsgGpsTime
-- | Magnetometer (mag) messages.
module SwiftNav.SBP.Mag
msgMagRaw :: Word16
-- | SBP class for message MSG_MAG_RAW (0x0902).
--
-- Raw data from the magnetometer.
data MsgMagRaw
MsgMagRaw :: !Word32 -> !Word8 -> !Int16 -> !Int16 -> !Int16 -> MsgMagRaw
-- | Milliseconds since start of GPS week. If the high bit is set, the time
-- is unknown or invalid.
[_msgMagRaw_tow] :: MsgMagRaw -> !Word32
-- | Milliseconds since start of GPS week, fractional part
[_msgMagRaw_tow_f] :: MsgMagRaw -> !Word8
-- | Magnetic field in the body frame X axis
[_msgMagRaw_mag_x] :: MsgMagRaw -> !Int16
-- | Magnetic field in the body frame Y axis
[_msgMagRaw_mag_y] :: MsgMagRaw -> !Int16
-- | Magnetic field in the body frame Z axis
[_msgMagRaw_mag_z] :: MsgMagRaw -> !Int16
msgMagRaw_tow_f :: Lens' MsgMagRaw Word8
msgMagRaw_tow :: Lens' MsgMagRaw Word32
msgMagRaw_mag_z :: Lens' MsgMagRaw Int16
msgMagRaw_mag_y :: Lens' MsgMagRaw Int16
msgMagRaw_mag_x :: Lens' MsgMagRaw Int16
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Mag.MsgMagRaw
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Mag.MsgMagRaw
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Mag.MsgMagRaw
instance GHC.Classes.Eq SwiftNav.SBP.Mag.MsgMagRaw
instance GHC.Read.Read SwiftNav.SBP.Mag.MsgMagRaw
instance GHC.Show.Show SwiftNav.SBP.Mag.MsgMagRaw
instance Data.Binary.Class.Binary SwiftNav.SBP.Mag.MsgMagRaw
-- | Logging and debugging messages from the device.
module SwiftNav.SBP.Logging
msgLog :: Word16
-- | SBP class for message MSG_LOG (0x0401).
--
-- This message contains a human-readable payload string from the device
-- containing errors, warnings and informational messages at ERROR,
-- WARNING, DEBUG, INFO logging levels.
data MsgLog
MsgLog :: !Word8 -> !Text -> MsgLog
-- | Logging level
[_msgLog_level] :: MsgLog -> !Word8
-- | Human-readable string
[_msgLog_text] :: MsgLog -> !Text
msgLog_text :: Lens' MsgLog Text
msgLog_level :: Lens' MsgLog Word8
msgFwd :: Word16
-- | SBP class for message MSG_FWD (0x0402).
--
-- This message provides the ability to forward messages over SBP. This
-- may take the form of wrapping up SBP messages received by Piksi for
-- logging purposes or wrapping another protocol with SBP. The source
-- identifier indicates from what interface a forwarded stream derived.
-- The protocol identifier identifies what the expected protocol the
-- forwarded msg contains. Protocol 0 represents SBP and the remaining
-- values are implementation defined.
data MsgFwd
MsgFwd :: !Word8 -> !Word8 -> !Text -> MsgFwd
-- | source identifier
[_msgFwd_source] :: MsgFwd -> !Word8
-- | protocol identifier
[_msgFwd_protocol] :: MsgFwd -> !Word8
-- | variable length wrapped binary message
[_msgFwd_fwd_payload] :: MsgFwd -> !Text
msgFwd_source :: Lens' MsgFwd Word8
msgFwd_protocol :: Lens' MsgFwd Word8
msgFwd_fwd_payload :: Lens' MsgFwd Text
msgTweet :: Word16
-- | SBP class for message MSG_TWEET (0x0012).
--
-- All the news fit to tweet.
data MsgTweet
MsgTweet :: !Text -> MsgTweet
-- | Human-readable string
[_msgTweet_tweet] :: MsgTweet -> !Text
msgTweet_tweet :: Iso' MsgTweet Text
msgPrintDep :: Word16
-- | SBP class for message MSG_PRINT_DEP (0x0010).
--
-- Deprecated.
data MsgPrintDep
MsgPrintDep :: !Text -> MsgPrintDep
-- | Human-readable string
[_msgPrintDep_text] :: MsgPrintDep -> !Text
msgPrintDep_text :: Iso' MsgPrintDep Text
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Logging.MsgPrintDep
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Logging.MsgPrintDep
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Logging.MsgPrintDep
instance GHC.Classes.Eq SwiftNav.SBP.Logging.MsgPrintDep
instance GHC.Read.Read SwiftNav.SBP.Logging.MsgPrintDep
instance GHC.Show.Show SwiftNav.SBP.Logging.MsgPrintDep
instance Data.Binary.Class.Binary SwiftNav.SBP.Logging.MsgPrintDep
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Logging.MsgTweet
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Logging.MsgTweet
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Logging.MsgTweet
instance GHC.Classes.Eq SwiftNav.SBP.Logging.MsgTweet
instance GHC.Read.Read SwiftNav.SBP.Logging.MsgTweet
instance GHC.Show.Show SwiftNav.SBP.Logging.MsgTweet
instance Data.Binary.Class.Binary SwiftNav.SBP.Logging.MsgTweet
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Logging.MsgFwd
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Logging.MsgFwd
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Logging.MsgFwd
instance GHC.Classes.Eq SwiftNav.SBP.Logging.MsgFwd
instance GHC.Read.Read SwiftNav.SBP.Logging.MsgFwd
instance GHC.Show.Show SwiftNav.SBP.Logging.MsgFwd
instance Data.Binary.Class.Binary SwiftNav.SBP.Logging.MsgFwd
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Logging.MsgLog
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Logging.MsgLog
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Logging.MsgLog
instance GHC.Classes.Eq SwiftNav.SBP.Logging.MsgLog
instance GHC.Read.Read SwiftNav.SBP.Logging.MsgLog
instance GHC.Show.Show SwiftNav.SBP.Logging.MsgLog
instance Data.Binary.Class.Binary SwiftNav.SBP.Logging.MsgLog
-- | Inertial Measurement Unit (IMU) messages.
module SwiftNav.SBP.Imu
msgImuRaw :: Word16
-- | SBP class for message MSG_IMU_RAW (0x0900).
--
-- Raw data from the Inertial Measurement Unit, containing accelerometer
-- and gyroscope readings. The sense of the measurements are to be
-- aligned with the indications on the device itself.
data MsgImuRaw
MsgImuRaw :: !Word32 -> !Word8 -> !Int16 -> !Int16 -> !Int16 -> !Int16 -> !Int16 -> !Int16 -> MsgImuRaw
-- | Milliseconds since start of GPS week. If the high bit is set, the time
-- is unknown or invalid.
[_msgImuRaw_tow] :: MsgImuRaw -> !Word32
-- | Milliseconds since start of GPS week, fractional part
[_msgImuRaw_tow_f] :: MsgImuRaw -> !Word8
-- | Acceleration in the IMU frame X axis
[_msgImuRaw_acc_x] :: MsgImuRaw -> !Int16
-- | Acceleration in the IMU frame Y axis
[_msgImuRaw_acc_y] :: MsgImuRaw -> !Int16
-- | Acceleration in the IMU frame Z axis
[_msgImuRaw_acc_z] :: MsgImuRaw -> !Int16
-- | Angular rate around IMU frame X axis
[_msgImuRaw_gyr_x] :: MsgImuRaw -> !Int16
-- | Angular rate around IMU frame Y axis
[_msgImuRaw_gyr_y] :: MsgImuRaw -> !Int16
-- | Angular rate around IMU frame Z axis
[_msgImuRaw_gyr_z] :: MsgImuRaw -> !Int16
msgImuRaw_tow_f :: Lens' MsgImuRaw Word8
msgImuRaw_tow :: Lens' MsgImuRaw Word32
msgImuRaw_gyr_z :: Lens' MsgImuRaw Int16
msgImuRaw_gyr_y :: Lens' MsgImuRaw Int16
msgImuRaw_gyr_x :: Lens' MsgImuRaw Int16
msgImuRaw_acc_z :: Lens' MsgImuRaw Int16
msgImuRaw_acc_y :: Lens' MsgImuRaw Int16
msgImuRaw_acc_x :: Lens' MsgImuRaw Int16
msgImuAux :: Word16
-- | SBP class for message MSG_IMU_AUX (0x0901).
--
-- Auxiliary data specific to a particular IMU. The imu_type
-- field will always be consistent but the rest of the payload is device
-- specific and depends on the value of imu_type.
data MsgImuAux
MsgImuAux :: !Word8 -> !Int16 -> !Word8 -> MsgImuAux
-- | IMU type
[_msgImuAux_imu_type] :: MsgImuAux -> !Word8
-- | Raw IMU temperature
[_msgImuAux_temp] :: MsgImuAux -> !Int16
-- | IMU configuration
[_msgImuAux_imu_conf] :: MsgImuAux -> !Word8
msgImuAux_temp :: Lens' MsgImuAux Int16
msgImuAux_imu_type :: Lens' MsgImuAux Word8
msgImuAux_imu_conf :: Lens' MsgImuAux Word8
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Imu.MsgImuAux
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Imu.MsgImuAux
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Imu.MsgImuAux
instance GHC.Classes.Eq SwiftNav.SBP.Imu.MsgImuAux
instance GHC.Read.Read SwiftNav.SBP.Imu.MsgImuAux
instance GHC.Show.Show SwiftNav.SBP.Imu.MsgImuAux
instance Data.Binary.Class.Binary SwiftNav.SBP.Imu.MsgImuAux
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Imu.MsgImuRaw
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Imu.MsgImuRaw
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Imu.MsgImuRaw
instance GHC.Classes.Eq SwiftNav.SBP.Imu.MsgImuRaw
instance GHC.Read.Read SwiftNav.SBP.Imu.MsgImuRaw
instance GHC.Show.Show SwiftNav.SBP.Imu.MsgImuRaw
instance Data.Binary.Class.Binary SwiftNav.SBP.Imu.MsgImuRaw
-- | Various structs shared between modules
module SwiftNav.SBP.Gnss
-- | GnssSignal.
--
-- Signal identifier containing constellation, band, and satellite
-- identifier
data GnssSignal
GnssSignal :: !Word8 -> !Word8 -> GnssSignal
-- | Constellation-specific satellite identifier. This field for Glonass
-- can either be (100+FCN) where FCN is in [-7,+6] or the Slot ID in
-- [1,28]
[_gnssSignal_sat] :: GnssSignal -> !Word8
-- | Signal constellation, band and code
[_gnssSignal_code] :: GnssSignal -> !Word8
gnssSignal_sat :: Lens' GnssSignal Word8
gnssSignal_code :: Lens' GnssSignal Word8
-- | GnssSignalDep.
--
-- Deprecated.
data GnssSignalDep
GnssSignalDep :: !Word16 -> !Word8 -> !Word8 -> GnssSignalDep
-- | Constellation-specific satellite identifier. Note: unlike GnssSignal,
-- GPS satellites are encoded as (PRN - 1). Other constellations do not
-- have this offset.
[_gnssSignalDep_sat] :: GnssSignalDep -> !Word16
-- | Signal constellation, band and code
[_gnssSignalDep_code] :: GnssSignalDep -> !Word8
-- | Reserved
[_gnssSignalDep_reserved] :: GnssSignalDep -> !Word8
gnssSignalDep_sat :: Lens' GnssSignalDep Word16
gnssSignalDep_reserved :: Lens' GnssSignalDep Word8
gnssSignalDep_code :: Lens' GnssSignalDep Word8
-- | GPSTimeDep.
--
-- A wire-appropriate GPS time, defined as the number of milliseconds
-- since beginning of the week on the Saturday/Sunday transition.
data GpsTimeDep
GpsTimeDep :: !Word32 -> !Word16 -> GpsTimeDep
-- | Milliseconds since start of GPS week
[_gpsTimeDep_tow] :: GpsTimeDep -> !Word32
-- | GPS week number
[_gpsTimeDep_wn] :: GpsTimeDep -> !Word16
gpsTimeDep_wn :: Lens' GpsTimeDep Word16
gpsTimeDep_tow :: Lens' GpsTimeDep Word32
-- | GPSTimeSec.
--
-- A GPS time, defined as the number of seconds since beginning of the
-- week on the Saturday/Sunday transition.
data GpsTimeSec
GpsTimeSec :: !Word32 -> !Word16 -> GpsTimeSec
-- | Seconds since start of GPS week
[_gpsTimeSec_tow] :: GpsTimeSec -> !Word32
-- | GPS week number
[_gpsTimeSec_wn] :: GpsTimeSec -> !Word16
gpsTimeSec_wn :: Lens' GpsTimeSec Word16
gpsTimeSec_tow :: Lens' GpsTimeSec Word32
-- | GPSTime.
--
-- A wire-appropriate receiver clock time, defined as the time since the
-- beginning of the week on the Saturday/Sunday transition. In most
-- cases, observations are epoch aligned so ns field will be 0.
data GpsTime
GpsTime :: !Word32 -> !Int32 -> !Word16 -> GpsTime
-- | Milliseconds since start of GPS week
[_gpsTime_tow] :: GpsTime -> !Word32
-- | Nanosecond residual of millisecond-rounded TOW (ranges from -500000 to
-- 500000)
[_gpsTime_ns_residual] :: GpsTime -> !Int32
-- | GPS week number
[_gpsTime_wn] :: GpsTime -> !Word16
gpsTime_wn :: Lens' GpsTime Word16
gpsTime_tow :: Lens' GpsTime Word32
gpsTime_ns_residual :: Lens' GpsTime Int32
-- | CarrierPhase.
--
-- Carrier phase measurement in cycles represented as a 40-bit fixed
-- point number with Q32.8 layout, i.e. 32-bits of whole cycles and
-- 8-bits of fractional cycles. This phase has the same sign as the
-- pseudorange.
data CarrierPhase
CarrierPhase :: !Int32 -> !Word8 -> CarrierPhase
-- | Carrier phase whole cycles
[_carrierPhase_i] :: CarrierPhase -> !Int32
-- | Carrier phase fractional part
[_carrierPhase_f] :: CarrierPhase -> !Word8
carrierPhase_i :: Lens' CarrierPhase Int32
carrierPhase_f :: Lens' CarrierPhase Word8
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Gnss.CarrierPhase
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Gnss.CarrierPhase
instance GHC.Classes.Eq SwiftNav.SBP.Gnss.CarrierPhase
instance GHC.Read.Read SwiftNav.SBP.Gnss.CarrierPhase
instance GHC.Show.Show SwiftNav.SBP.Gnss.CarrierPhase
instance Data.Binary.Class.Binary SwiftNav.SBP.Gnss.CarrierPhase
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Gnss.GpsTime
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Gnss.GpsTime
instance GHC.Classes.Eq SwiftNav.SBP.Gnss.GpsTime
instance GHC.Read.Read SwiftNav.SBP.Gnss.GpsTime
instance GHC.Show.Show SwiftNav.SBP.Gnss.GpsTime
instance Data.Binary.Class.Binary SwiftNav.SBP.Gnss.GpsTime
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Gnss.GpsTimeSec
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Gnss.GpsTimeSec
instance GHC.Classes.Eq SwiftNav.SBP.Gnss.GpsTimeSec
instance GHC.Read.Read SwiftNav.SBP.Gnss.GpsTimeSec
instance GHC.Show.Show SwiftNav.SBP.Gnss.GpsTimeSec
instance Data.Binary.Class.Binary SwiftNav.SBP.Gnss.GpsTimeSec
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Gnss.GpsTimeDep
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Gnss.GpsTimeDep
instance GHC.Classes.Eq SwiftNav.SBP.Gnss.GpsTimeDep
instance GHC.Read.Read SwiftNav.SBP.Gnss.GpsTimeDep
instance GHC.Show.Show SwiftNav.SBP.Gnss.GpsTimeDep
instance Data.Binary.Class.Binary SwiftNav.SBP.Gnss.GpsTimeDep
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Gnss.GnssSignalDep
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Gnss.GnssSignalDep
instance GHC.Classes.Eq SwiftNav.SBP.Gnss.GnssSignalDep
instance GHC.Read.Read SwiftNav.SBP.Gnss.GnssSignalDep
instance GHC.Show.Show SwiftNav.SBP.Gnss.GnssSignalDep
instance Data.Binary.Class.Binary SwiftNav.SBP.Gnss.GnssSignalDep
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Gnss.GnssSignal
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Gnss.GnssSignal
instance GHC.Classes.Eq SwiftNav.SBP.Gnss.GnssSignal
instance GHC.Read.Read SwiftNav.SBP.Gnss.GnssSignal
instance GHC.Show.Show SwiftNav.SBP.Gnss.GnssSignal
instance Data.Binary.Class.Binary SwiftNav.SBP.Gnss.GnssSignal
-- | Satellite code and carrier-phase tracking messages from the device.
module SwiftNav.SBP.Tracking
msgTrackingStateDetailedDepA :: Word16
-- | SBP class for message MSG_TRACKING_STATE_DETAILED_DEP_A (0x0021).
--
-- The tracking message returns a set tracking channel parameters for a
-- single tracking channel useful for debugging issues.
data MsgTrackingStateDetailedDepA
MsgTrackingStateDetailedDepA :: !Word64 -> !GpsTime -> !Word32 -> !Word16 -> !CarrierPhase -> !Word8 -> !Word16 -> !GnssSignal -> !Int32 -> !Word16 -> !Word32 -> !Int16 -> !Int16 -> !Word16 -> !Int8 -> !Word8 -> !Word8 -> !Word8 -> !Word8 -> !Word8 -> !Word8 -> MsgTrackingStateDetailedDepA
-- | Receiver clock time.
[_msgTrackingStateDetailedDepA_recv_time] :: MsgTrackingStateDetailedDepA -> !Word64
-- | Time of transmission of signal from satellite. TOW only valid when TOW
-- status is decoded or propagated. WN only valid when week number valid
-- flag is set.
[_msgTrackingStateDetailedDepA_tot] :: MsgTrackingStateDetailedDepA -> !GpsTime
-- | Pseudorange observation. Valid only when pseudorange valid flag is
-- set.
[_msgTrackingStateDetailedDepA_P] :: MsgTrackingStateDetailedDepA -> !Word32
-- | Pseudorange observation standard deviation. Valid only when
-- pseudorange valid flag is set.
[_msgTrackingStateDetailedDepA_P_std] :: MsgTrackingStateDetailedDepA -> !Word16
-- | Carrier phase observation with typical sign convention. Valid only
-- when PLL pessimistic lock is achieved.
[_msgTrackingStateDetailedDepA_L] :: MsgTrackingStateDetailedDepA -> !CarrierPhase
-- | Carrier-to-Noise density
[_msgTrackingStateDetailedDepA_cn0] :: MsgTrackingStateDetailedDepA -> !Word8
-- | Lock time. It is encoded according to DF402 from the RTCM 10403.2
-- Amendment 2 specification. Valid values range from 0 to 15.
[_msgTrackingStateDetailedDepA_lock] :: MsgTrackingStateDetailedDepA -> !Word16
-- | GNSS signal identifier.
[_msgTrackingStateDetailedDepA_sid] :: MsgTrackingStateDetailedDepA -> !GnssSignal
-- | Carrier Doppler frequency.
[_msgTrackingStateDetailedDepA_doppler] :: MsgTrackingStateDetailedDepA -> !Int32
-- | Carrier Doppler frequency standard deviation.
[_msgTrackingStateDetailedDepA_doppler_std] :: MsgTrackingStateDetailedDepA -> !Word16
-- | Number of seconds of continuous tracking. Specifies how much time
-- signal is in continuous track.
[_msgTrackingStateDetailedDepA_uptime] :: MsgTrackingStateDetailedDepA -> !Word32
-- | TCXO clock offset. Valid only when valid clock valid flag is set.
[_msgTrackingStateDetailedDepA_clock_offset] :: MsgTrackingStateDetailedDepA -> !Int16
-- | TCXO clock drift. Valid only when valid clock valid flag is set.
[_msgTrackingStateDetailedDepA_clock_drift] :: MsgTrackingStateDetailedDepA -> !Int16
-- | Early-Prompt (EP) and Prompt-Late (PL) correlators spacing.
[_msgTrackingStateDetailedDepA_corr_spacing] :: MsgTrackingStateDetailedDepA -> !Word16
-- | Acceleration. Valid only when acceleration valid flag is set.
[_msgTrackingStateDetailedDepA_acceleration] :: MsgTrackingStateDetailedDepA -> !Int8
-- | Synchronization status flags.
[_msgTrackingStateDetailedDepA_sync_flags] :: MsgTrackingStateDetailedDepA -> !Word8
-- | TOW status flags.
[_msgTrackingStateDetailedDepA_tow_flags] :: MsgTrackingStateDetailedDepA -> !Word8
-- | Tracking loop status flags.
[_msgTrackingStateDetailedDepA_track_flags] :: MsgTrackingStateDetailedDepA -> !Word8
-- | Navigation data status flags.
[_msgTrackingStateDetailedDepA_nav_flags] :: MsgTrackingStateDetailedDepA -> !Word8
-- | Parameters sets flags.
[_msgTrackingStateDetailedDepA_pset_flags] :: MsgTrackingStateDetailedDepA -> !Word8
-- | Miscellaneous flags.
[_msgTrackingStateDetailedDepA_misc_flags] :: MsgTrackingStateDetailedDepA -> !Word8
msgTrackingStateDetailedDepA_uptime :: Lens' MsgTrackingStateDetailedDepA Word32
msgTrackingStateDetailedDepA_track_flags :: Lens' MsgTrackingStateDetailedDepA Word8
msgTrackingStateDetailedDepA_tow_flags :: Lens' MsgTrackingStateDetailedDepA Word8
msgTrackingStateDetailedDepA_tot :: Lens' MsgTrackingStateDetailedDepA GpsTime
msgTrackingStateDetailedDepA_sync_flags :: Lens' MsgTrackingStateDetailedDepA Word8
msgTrackingStateDetailedDepA_sid :: Lens' MsgTrackingStateDetailedDepA GnssSignal
msgTrackingStateDetailedDepA_recv_time :: Lens' MsgTrackingStateDetailedDepA Word64
msgTrackingStateDetailedDepA_pset_flags :: Lens' MsgTrackingStateDetailedDepA Word8
msgTrackingStateDetailedDepA_nav_flags :: Lens' MsgTrackingStateDetailedDepA Word8
msgTrackingStateDetailedDepA_misc_flags :: Lens' MsgTrackingStateDetailedDepA Word8
msgTrackingStateDetailedDepA_lock :: Lens' MsgTrackingStateDetailedDepA Word16
msgTrackingStateDetailedDepA_doppler_std :: Lens' MsgTrackingStateDetailedDepA Word16
msgTrackingStateDetailedDepA_doppler :: Lens' MsgTrackingStateDetailedDepA Int32
msgTrackingStateDetailedDepA_corr_spacing :: Lens' MsgTrackingStateDetailedDepA Word16
msgTrackingStateDetailedDepA_cn0 :: Lens' MsgTrackingStateDetailedDepA Word8
msgTrackingStateDetailedDepA_clock_offset :: Lens' MsgTrackingStateDetailedDepA Int16
msgTrackingStateDetailedDepA_clock_drift :: Lens' MsgTrackingStateDetailedDepA Int16
msgTrackingStateDetailedDepA_acceleration :: Lens' MsgTrackingStateDetailedDepA Int8
msgTrackingStateDetailedDepA_P_std :: Lens' MsgTrackingStateDetailedDepA Word16
msgTrackingStateDetailedDepA_P :: Lens' MsgTrackingStateDetailedDepA Word32
msgTrackingStateDetailedDepA_L :: Lens' MsgTrackingStateDetailedDepA CarrierPhase
msgTrackingStateDetailedDep :: Word16
-- | SBP class for message MSG_TRACKING_STATE_DETAILED_DEP (0x0011).
--
-- Deprecated.
data MsgTrackingStateDetailedDep
MsgTrackingStateDetailedDep :: !Word64 -> !GpsTimeDep -> !Word32 -> !Word16 -> !CarrierPhase -> !Word8 -> !Word16 -> !GnssSignalDep -> !Int32 -> !Word16 -> !Word32 -> !Int16 -> !Int16 -> !Word16 -> !Int8 -> !Word8 -> !Word8 -> !Word8 -> !Word8 -> !Word8 -> !Word8 -> MsgTrackingStateDetailedDep
-- | Receiver clock time.
[_msgTrackingStateDetailedDep_recv_time] :: MsgTrackingStateDetailedDep -> !Word64
-- | Time of transmission of signal from satellite. TOW only valid when TOW
-- status is decoded or propagated. WN only valid when week number valid
-- flag is set.
[_msgTrackingStateDetailedDep_tot] :: MsgTrackingStateDetailedDep -> !GpsTimeDep
-- | Pseudorange observation. Valid only when pseudorange valid flag is
-- set.
[_msgTrackingStateDetailedDep_P] :: MsgTrackingStateDetailedDep -> !Word32
-- | Pseudorange observation standard deviation. Valid only when
-- pseudorange valid flag is set.
[_msgTrackingStateDetailedDep_P_std] :: MsgTrackingStateDetailedDep -> !Word16
-- | Carrier phase observation with typical sign convention. Valid only
-- when PLL pessimistic lock is achieved.
[_msgTrackingStateDetailedDep_L] :: MsgTrackingStateDetailedDep -> !CarrierPhase
-- | Carrier-to-Noise density
[_msgTrackingStateDetailedDep_cn0] :: MsgTrackingStateDetailedDep -> !Word8
-- | Lock time. It is encoded according to DF402 from the RTCM 10403.2
-- Amendment 2 specification. Valid values range from 0 to 15.
[_msgTrackingStateDetailedDep_lock] :: MsgTrackingStateDetailedDep -> !Word16
-- | GNSS signal identifier.
[_msgTrackingStateDetailedDep_sid] :: MsgTrackingStateDetailedDep -> !GnssSignalDep
-- | Carrier Doppler frequency.
[_msgTrackingStateDetailedDep_doppler] :: MsgTrackingStateDetailedDep -> !Int32
-- | Carrier Doppler frequency standard deviation.
[_msgTrackingStateDetailedDep_doppler_std] :: MsgTrackingStateDetailedDep -> !Word16
-- | Number of seconds of continuous tracking. Specifies how much time
-- signal is in continuous track.
[_msgTrackingStateDetailedDep_uptime] :: MsgTrackingStateDetailedDep -> !Word32
-- | TCXO clock offset. Valid only when valid clock valid flag is set.
[_msgTrackingStateDetailedDep_clock_offset] :: MsgTrackingStateDetailedDep -> !Int16
-- | TCXO clock drift. Valid only when valid clock valid flag is set.
[_msgTrackingStateDetailedDep_clock_drift] :: MsgTrackingStateDetailedDep -> !Int16
-- | Early-Prompt (EP) and Prompt-Late (PL) correlators spacing.
[_msgTrackingStateDetailedDep_corr_spacing] :: MsgTrackingStateDetailedDep -> !Word16
-- | Acceleration. Valid only when acceleration valid flag is set.
[_msgTrackingStateDetailedDep_acceleration] :: MsgTrackingStateDetailedDep -> !Int8
-- | Synchronization status flags.
[_msgTrackingStateDetailedDep_sync_flags] :: MsgTrackingStateDetailedDep -> !Word8
-- | TOW status flags.
[_msgTrackingStateDetailedDep_tow_flags] :: MsgTrackingStateDetailedDep -> !Word8
-- | Tracking loop status flags.
[_msgTrackingStateDetailedDep_track_flags] :: MsgTrackingStateDetailedDep -> !Word8
-- | Navigation data status flags.
[_msgTrackingStateDetailedDep_nav_flags] :: MsgTrackingStateDetailedDep -> !Word8
-- | Parameters sets flags.
[_msgTrackingStateDetailedDep_pset_flags] :: MsgTrackingStateDetailedDep -> !Word8
-- | Miscellaneous flags.
[_msgTrackingStateDetailedDep_misc_flags] :: MsgTrackingStateDetailedDep -> !Word8
msgTrackingStateDetailedDep_uptime :: Lens' MsgTrackingStateDetailedDep Word32
msgTrackingStateDetailedDep_track_flags :: Lens' MsgTrackingStateDetailedDep Word8
msgTrackingStateDetailedDep_tow_flags :: Lens' MsgTrackingStateDetailedDep Word8
msgTrackingStateDetailedDep_tot :: Lens' MsgTrackingStateDetailedDep GpsTimeDep
msgTrackingStateDetailedDep_sync_flags :: Lens' MsgTrackingStateDetailedDep Word8
msgTrackingStateDetailedDep_sid :: Lens' MsgTrackingStateDetailedDep GnssSignalDep
msgTrackingStateDetailedDep_recv_time :: Lens' MsgTrackingStateDetailedDep Word64
msgTrackingStateDetailedDep_pset_flags :: Lens' MsgTrackingStateDetailedDep Word8
msgTrackingStateDetailedDep_nav_flags :: Lens' MsgTrackingStateDetailedDep Word8
msgTrackingStateDetailedDep_misc_flags :: Lens' MsgTrackingStateDetailedDep Word8
msgTrackingStateDetailedDep_lock :: Lens' MsgTrackingStateDetailedDep Word16
msgTrackingStateDetailedDep_doppler_std :: Lens' MsgTrackingStateDetailedDep Word16
msgTrackingStateDetailedDep_doppler :: Lens' MsgTrackingStateDetailedDep Int32
msgTrackingStateDetailedDep_corr_spacing :: Lens' MsgTrackingStateDetailedDep Word16
msgTrackingStateDetailedDep_cn0 :: Lens' MsgTrackingStateDetailedDep Word8
msgTrackingStateDetailedDep_clock_offset :: Lens' MsgTrackingStateDetailedDep Int16
msgTrackingStateDetailedDep_clock_drift :: Lens' MsgTrackingStateDetailedDep Int16
msgTrackingStateDetailedDep_acceleration :: Lens' MsgTrackingStateDetailedDep Int8
msgTrackingStateDetailedDep_P_std :: Lens' MsgTrackingStateDetailedDep Word16
msgTrackingStateDetailedDep_P :: Lens' MsgTrackingStateDetailedDep Word32
msgTrackingStateDetailedDep_L :: Lens' MsgTrackingStateDetailedDep CarrierPhase
-- | TrackingChannelState.
--
-- Tracking channel state for a specific satellite signal and measured
-- signal power.
data TrackingChannelState
TrackingChannelState :: !GnssSignal -> !Word8 -> !Word8 -> TrackingChannelState
-- | GNSS signal being tracked
[_trackingChannelState_sid] :: TrackingChannelState -> !GnssSignal
-- | Frequency channel number (GLONASS only)
[_trackingChannelState_fcn] :: TrackingChannelState -> !Word8
-- | Carrier-to-Noise density. Zero implies invalid cn0.
[_trackingChannelState_cn0] :: TrackingChannelState -> !Word8
trackingChannelState_sid :: Lens' TrackingChannelState GnssSignal
trackingChannelState_fcn :: Lens' TrackingChannelState Word8
trackingChannelState_cn0 :: Lens' TrackingChannelState Word8
msgTrackingState :: Word16
-- | SBP class for message MSG_TRACKING_STATE (0x0041).
--
-- The tracking message returns a variable-length array of tracking
-- channel states. It reports status and carrier-to-noise density
-- measurements for all tracked satellites.
data MsgTrackingState
MsgTrackingState :: ![TrackingChannelState] -> MsgTrackingState
-- | Signal tracking channel state
[_msgTrackingState_states] :: MsgTrackingState -> ![TrackingChannelState]
msgTrackingState_states :: Iso' MsgTrackingState [TrackingChannelState]
-- | MeasurementState.
--
-- Measurement Engine tracking channel state for a specific satellite
-- signal and measured signal power. The mesid field for Glonass can
-- either carry the FCN as 100 + FCN where FCN is in [-7, +6] or the Slot
-- ID (from 1 to 28)
data MeasurementState
MeasurementState :: !GnssSignal -> !Word8 -> MeasurementState
-- | Measurement Engine GNSS signal being tracked (carries either Glonass
-- FCN or SLOT)
[_measurementState_mesid] :: MeasurementState -> !GnssSignal
-- | Carrier-to-Noise density. Zero implies invalid cn0.
[_measurementState_cn0] :: MeasurementState -> !Word8
measurementState_mesid :: Lens' MeasurementState GnssSignal
measurementState_cn0 :: Lens' MeasurementState Word8
msgMeasurementState :: Word16
-- | SBP class for message MSG_MEASUREMENT_STATE (0x0061).
--
-- The tracking message returns a variable-length array of tracking
-- channel states. It reports status and carrier-to-noise density
-- measurements for all tracked satellites.
data MsgMeasurementState
MsgMeasurementState :: ![MeasurementState] -> MsgMeasurementState
-- | ME signal tracking channel state
[_msgMeasurementState_states] :: MsgMeasurementState -> ![MeasurementState]
msgMeasurementState_states :: Iso' MsgMeasurementState [MeasurementState]
-- | TrackingChannelCorrelation.
--
-- Structure containing in-phase and quadrature correlation components.
data TrackingChannelCorrelation
TrackingChannelCorrelation :: !Int32 -> !Int32 -> TrackingChannelCorrelation
-- | In-phase correlation
[_trackingChannelCorrelation_I] :: TrackingChannelCorrelation -> !Int32
-- | Quadrature correlation
[_trackingChannelCorrelation_Q] :: TrackingChannelCorrelation -> !Int32
trackingChannelCorrelation_Q :: Lens' TrackingChannelCorrelation Int32
trackingChannelCorrelation_I :: Lens' TrackingChannelCorrelation Int32
msgTrackingIq :: Word16
-- | SBP class for message MSG_TRACKING_IQ (0x002C).
--
-- When enabled, a tracking channel can output the correlations at each
-- update interval.
data MsgTrackingIq
MsgTrackingIq :: !Word8 -> !GnssSignal -> ![TrackingChannelCorrelation] -> MsgTrackingIq
-- | Tracking channel of origin
[_msgTrackingIq_channel] :: MsgTrackingIq -> !Word8
-- | GNSS signal identifier
[_msgTrackingIq_sid] :: MsgTrackingIq -> !GnssSignal
-- | Early, Prompt and Late correlations
[_msgTrackingIq_corrs] :: MsgTrackingIq -> ![TrackingChannelCorrelation]
msgTrackingIq_sid :: Lens' MsgTrackingIq GnssSignal
msgTrackingIq_corrs :: Lens' MsgTrackingIq [TrackingChannelCorrelation]
msgTrackingIq_channel :: Lens' MsgTrackingIq Word8
msgTrackingIqDep :: Word16
-- | SBP class for message MSG_TRACKING_IQ_DEP (0x001C).
--
-- Deprecated.
data MsgTrackingIqDep
MsgTrackingIqDep :: !Word8 -> !GnssSignalDep -> ![TrackingChannelCorrelation] -> MsgTrackingIqDep
-- | Tracking channel of origin
[_msgTrackingIqDep_channel] :: MsgTrackingIqDep -> !Word8
-- | GNSS signal identifier
[_msgTrackingIqDep_sid] :: MsgTrackingIqDep -> !GnssSignalDep
-- | Early, Prompt and Late correlations
[_msgTrackingIqDep_corrs] :: MsgTrackingIqDep -> ![TrackingChannelCorrelation]
msgTrackingIqDep_sid :: Lens' MsgTrackingIqDep GnssSignalDep
msgTrackingIqDep_corrs :: Lens' MsgTrackingIqDep [TrackingChannelCorrelation]
msgTrackingIqDep_channel :: Lens' MsgTrackingIqDep Word8
-- | TrackingChannelStateDepA.
--
-- Deprecated.
data TrackingChannelStateDepA
TrackingChannelStateDepA :: !Word8 -> !Word8 -> !Float -> TrackingChannelStateDepA
-- | Status of tracking channel
[_trackingChannelStateDepA_state] :: TrackingChannelStateDepA -> !Word8
-- | PRN-1 being tracked
[_trackingChannelStateDepA_prn] :: TrackingChannelStateDepA -> !Word8
-- | Carrier-to-noise density
[_trackingChannelStateDepA_cn0] :: TrackingChannelStateDepA -> !Float
trackingChannelStateDepA_state :: Lens' TrackingChannelStateDepA Word8
trackingChannelStateDepA_prn :: Lens' TrackingChannelStateDepA Word8
trackingChannelStateDepA_cn0 :: Lens' TrackingChannelStateDepA Float
msgTrackingStateDepA :: Word16
-- | SBP class for message MSG_TRACKING_STATE_DEP_A (0x0016).
--
-- Deprecated.
data MsgTrackingStateDepA
MsgTrackingStateDepA :: ![TrackingChannelStateDepA] -> MsgTrackingStateDepA
-- | Satellite tracking channel state
[_msgTrackingStateDepA_states] :: MsgTrackingStateDepA -> ![TrackingChannelStateDepA]
msgTrackingStateDepA_states :: Iso' MsgTrackingStateDepA [TrackingChannelStateDepA]
-- | TrackingChannelStateDepB.
--
-- Deprecated.
data TrackingChannelStateDepB
TrackingChannelStateDepB :: !Word8 -> !GnssSignalDep -> !Float -> TrackingChannelStateDepB
-- | Status of tracking channel
[_trackingChannelStateDepB_state] :: TrackingChannelStateDepB -> !Word8
-- | GNSS signal being tracked
[_trackingChannelStateDepB_sid] :: TrackingChannelStateDepB -> !GnssSignalDep
-- | Carrier-to-noise density
[_trackingChannelStateDepB_cn0] :: TrackingChannelStateDepB -> !Float
trackingChannelStateDepB_state :: Lens' TrackingChannelStateDepB Word8
trackingChannelStateDepB_sid :: Lens' TrackingChannelStateDepB GnssSignalDep
trackingChannelStateDepB_cn0 :: Lens' TrackingChannelStateDepB Float
msgTrackingStateDepB :: Word16
-- | SBP class for message MSG_TRACKING_STATE_DEP_B (0x0013).
--
-- Deprecated.
data MsgTrackingStateDepB
MsgTrackingStateDepB :: ![TrackingChannelStateDepB] -> MsgTrackingStateDepB
-- | Signal tracking channel state
[_msgTrackingStateDepB_states] :: MsgTrackingStateDepB -> ![TrackingChannelStateDepB]
msgTrackingStateDepB_states :: Iso' MsgTrackingStateDepB [TrackingChannelStateDepB]
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Tracking.MsgTrackingStateDepB
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Tracking.MsgTrackingStateDepB
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Tracking.MsgTrackingStateDepB
instance GHC.Classes.Eq SwiftNav.SBP.Tracking.MsgTrackingStateDepB
instance GHC.Read.Read SwiftNav.SBP.Tracking.MsgTrackingStateDepB
instance GHC.Show.Show SwiftNav.SBP.Tracking.MsgTrackingStateDepB
instance Data.Binary.Class.Binary SwiftNav.SBP.Tracking.MsgTrackingStateDepB
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Tracking.TrackingChannelStateDepB
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Tracking.TrackingChannelStateDepB
instance GHC.Classes.Eq SwiftNav.SBP.Tracking.TrackingChannelStateDepB
instance GHC.Read.Read SwiftNav.SBP.Tracking.TrackingChannelStateDepB
instance GHC.Show.Show SwiftNav.SBP.Tracking.TrackingChannelStateDepB
instance Data.Binary.Class.Binary SwiftNav.SBP.Tracking.TrackingChannelStateDepB
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Tracking.MsgTrackingStateDepA
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Tracking.MsgTrackingStateDepA
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Tracking.MsgTrackingStateDepA
instance GHC.Classes.Eq SwiftNav.SBP.Tracking.MsgTrackingStateDepA
instance GHC.Read.Read SwiftNav.SBP.Tracking.MsgTrackingStateDepA
instance GHC.Show.Show SwiftNav.SBP.Tracking.MsgTrackingStateDepA
instance Data.Binary.Class.Binary SwiftNav.SBP.Tracking.MsgTrackingStateDepA
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Tracking.TrackingChannelStateDepA
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Tracking.TrackingChannelStateDepA
instance GHC.Classes.Eq SwiftNav.SBP.Tracking.TrackingChannelStateDepA
instance GHC.Read.Read SwiftNav.SBP.Tracking.TrackingChannelStateDepA
instance GHC.Show.Show SwiftNav.SBP.Tracking.TrackingChannelStateDepA
instance Data.Binary.Class.Binary SwiftNav.SBP.Tracking.TrackingChannelStateDepA
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Tracking.MsgTrackingIqDep
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Tracking.MsgTrackingIqDep
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Tracking.MsgTrackingIqDep
instance GHC.Classes.Eq SwiftNav.SBP.Tracking.MsgTrackingIqDep
instance GHC.Read.Read SwiftNav.SBP.Tracking.MsgTrackingIqDep
instance GHC.Show.Show SwiftNav.SBP.Tracking.MsgTrackingIqDep
instance Data.Binary.Class.Binary SwiftNav.SBP.Tracking.MsgTrackingIqDep
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Tracking.MsgTrackingIq
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Tracking.MsgTrackingIq
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Tracking.MsgTrackingIq
instance GHC.Classes.Eq SwiftNav.SBP.Tracking.MsgTrackingIq
instance GHC.Read.Read SwiftNav.SBP.Tracking.MsgTrackingIq
instance GHC.Show.Show SwiftNav.SBP.Tracking.MsgTrackingIq
instance Data.Binary.Class.Binary SwiftNav.SBP.Tracking.MsgTrackingIq
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Tracking.TrackingChannelCorrelation
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Tracking.TrackingChannelCorrelation
instance GHC.Classes.Eq SwiftNav.SBP.Tracking.TrackingChannelCorrelation
instance GHC.Read.Read SwiftNav.SBP.Tracking.TrackingChannelCorrelation
instance GHC.Show.Show SwiftNav.SBP.Tracking.TrackingChannelCorrelation
instance Data.Binary.Class.Binary SwiftNav.SBP.Tracking.TrackingChannelCorrelation
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Tracking.MsgMeasurementState
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Tracking.MsgMeasurementState
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Tracking.MsgMeasurementState
instance GHC.Classes.Eq SwiftNav.SBP.Tracking.MsgMeasurementState
instance GHC.Read.Read SwiftNav.SBP.Tracking.MsgMeasurementState
instance GHC.Show.Show SwiftNav.SBP.Tracking.MsgMeasurementState
instance Data.Binary.Class.Binary SwiftNav.SBP.Tracking.MsgMeasurementState
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Tracking.MeasurementState
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Tracking.MeasurementState
instance GHC.Classes.Eq SwiftNav.SBP.Tracking.MeasurementState
instance GHC.Read.Read SwiftNav.SBP.Tracking.MeasurementState
instance GHC.Show.Show SwiftNav.SBP.Tracking.MeasurementState
instance Data.Binary.Class.Binary SwiftNav.SBP.Tracking.MeasurementState
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Tracking.MsgTrackingState
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Tracking.MsgTrackingState
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Tracking.MsgTrackingState
instance GHC.Classes.Eq SwiftNav.SBP.Tracking.MsgTrackingState
instance GHC.Read.Read SwiftNav.SBP.Tracking.MsgTrackingState
instance GHC.Show.Show SwiftNav.SBP.Tracking.MsgTrackingState
instance Data.Binary.Class.Binary SwiftNav.SBP.Tracking.MsgTrackingState
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Tracking.TrackingChannelState
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Tracking.TrackingChannelState
instance GHC.Classes.Eq SwiftNav.SBP.Tracking.TrackingChannelState
instance GHC.Read.Read SwiftNav.SBP.Tracking.TrackingChannelState
instance GHC.Show.Show SwiftNav.SBP.Tracking.TrackingChannelState
instance Data.Binary.Class.Binary SwiftNav.SBP.Tracking.TrackingChannelState
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Tracking.MsgTrackingStateDetailedDep
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Tracking.MsgTrackingStateDetailedDep
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Tracking.MsgTrackingStateDetailedDep
instance GHC.Classes.Eq SwiftNav.SBP.Tracking.MsgTrackingStateDetailedDep
instance GHC.Read.Read SwiftNav.SBP.Tracking.MsgTrackingStateDetailedDep
instance GHC.Show.Show SwiftNav.SBP.Tracking.MsgTrackingStateDetailedDep
instance Data.Binary.Class.Binary SwiftNav.SBP.Tracking.MsgTrackingStateDetailedDep
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Tracking.MsgTrackingStateDetailedDepA
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Tracking.MsgTrackingStateDetailedDepA
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Tracking.MsgTrackingStateDetailedDepA
instance GHC.Classes.Eq SwiftNav.SBP.Tracking.MsgTrackingStateDetailedDepA
instance GHC.Read.Read SwiftNav.SBP.Tracking.MsgTrackingStateDetailedDepA
instance GHC.Show.Show SwiftNav.SBP.Tracking.MsgTrackingStateDetailedDepA
instance Data.Binary.Class.Binary SwiftNav.SBP.Tracking.MsgTrackingStateDetailedDepA
-- | Precise State Space Representation (SSR) corrections format
module SwiftNav.SBP.Ssr
-- | CodeBiasesContent.
--
-- Code biases are to be added to pseudorange. The corrections are
-- conform with typical RTCMv3 MT1059 and 1065.
data CodeBiasesContent
CodeBiasesContent :: !Word8 -> !Int16 -> CodeBiasesContent
-- | Signal constellation, band and code
[_codeBiasesContent_code] :: CodeBiasesContent -> !Word8
-- | Code bias value
[_codeBiasesContent_value] :: CodeBiasesContent -> !Int16
codeBiasesContent_value :: Lens' CodeBiasesContent Int16
codeBiasesContent_code :: Lens' CodeBiasesContent Word8
-- | PhaseBiasesContent.
--
-- Phase biases are to be added to carrier phase measurements. The
-- corrections are conform with typical RTCMv3 MT1059 and 1065.
data PhaseBiasesContent
PhaseBiasesContent :: !Word8 -> !Word8 -> !Word8 -> !Word8 -> !Int32 -> PhaseBiasesContent
-- | Signal constellation, band and code
[_phaseBiasesContent_code] :: PhaseBiasesContent -> !Word8
-- | Indicator for integer property
[_phaseBiasesContent_integer_indicator] :: PhaseBiasesContent -> !Word8
-- | Indicator for two groups of Wide-Lane(s) integer property
[_phaseBiasesContent_widelane_integer_indicator] :: PhaseBiasesContent -> !Word8
-- | Signal phase discontinuity counter. Increased for every discontinuity
-- in phase.
[_phaseBiasesContent_discontinuity_counter] :: PhaseBiasesContent -> !Word8
-- | Phase bias for specified signal
[_phaseBiasesContent_bias] :: PhaseBiasesContent -> !Int32
phaseBiasesContent_widelane_integer_indicator :: Lens' PhaseBiasesContent Word8
phaseBiasesContent_integer_indicator :: Lens' PhaseBiasesContent Word8
phaseBiasesContent_discontinuity_counter :: Lens' PhaseBiasesContent Word8
phaseBiasesContent_code :: Lens' PhaseBiasesContent Word8
phaseBiasesContent_bias :: Lens' PhaseBiasesContent Int32
msgSsrOrbitClock :: Word16
-- | SBP class for message MSG_SSR_ORBIT_CLOCK (0x05DC).
--
-- The precise orbit and clock correction message is to be applied as a
-- delta correction to broadcast ephemeris and is typically an equivalent
-- to the 1060 and 1066 RTCM message types
data MsgSsrOrbitClock
MsgSsrOrbitClock :: !GpsTimeSec -> !GnssSignal -> !Word8 -> !Word8 -> !Word8 -> !Int32 -> !Int32 -> !Int32 -> !Int32 -> !Int32 -> !Int32 -> !Int32 -> !Int32 -> !Int32 -> MsgSsrOrbitClock
-- | GNSS reference time of the correction
[_msgSsrOrbitClock_time] :: MsgSsrOrbitClock -> !GpsTimeSec
-- | GNSS signal identifier (16 bit)
[_msgSsrOrbitClock_sid] :: MsgSsrOrbitClock -> !GnssSignal
-- | Update interval between consecutive corrections
[_msgSsrOrbitClock_update_interval] :: MsgSsrOrbitClock -> !Word8
-- | IOD of the SSR correction. A change of Issue Of Data SSR is used to
-- indicate a change in the SSR generating configuration
[_msgSsrOrbitClock_iod_ssr] :: MsgSsrOrbitClock -> !Word8
-- | Issue of broadcast ephemeris data
[_msgSsrOrbitClock_iod] :: MsgSsrOrbitClock -> !Word8
-- | Orbit radial delta correction
[_msgSsrOrbitClock_radial] :: MsgSsrOrbitClock -> !Int32
-- | Orbit along delta correction
[_msgSsrOrbitClock_along] :: MsgSsrOrbitClock -> !Int32
-- | Orbit along delta correction
[_msgSsrOrbitClock_cross] :: MsgSsrOrbitClock -> !Int32
-- | Velocity of orbit radial delta correction
[_msgSsrOrbitClock_dot_radial] :: MsgSsrOrbitClock -> !Int32
-- | Velocity of orbit along delta correction
[_msgSsrOrbitClock_dot_along] :: MsgSsrOrbitClock -> !Int32
-- | Velocity of orbit cross delta correction
[_msgSsrOrbitClock_dot_cross] :: MsgSsrOrbitClock -> !Int32
-- | C0 polynomial coefficient for correction of broadcast satellite clock
[_msgSsrOrbitClock_c0] :: MsgSsrOrbitClock -> !Int32
-- | C1 polynomial coefficient for correction of broadcast satellite clock
[_msgSsrOrbitClock_c1] :: MsgSsrOrbitClock -> !Int32
-- | C2 polynomial coefficient for correction of broadcast satellite clock
[_msgSsrOrbitClock_c2] :: MsgSsrOrbitClock -> !Int32
msgSsrOrbitClock_update_interval :: Lens' MsgSsrOrbitClock Word8
msgSsrOrbitClock_time :: Lens' MsgSsrOrbitClock GpsTimeSec
msgSsrOrbitClock_sid :: Lens' MsgSsrOrbitClock GnssSignal
msgSsrOrbitClock_radial :: Lens' MsgSsrOrbitClock Int32
msgSsrOrbitClock_iod_ssr :: Lens' MsgSsrOrbitClock Word8
msgSsrOrbitClock_iod :: Lens' MsgSsrOrbitClock Word8
msgSsrOrbitClock_dot_radial :: Lens' MsgSsrOrbitClock Int32
msgSsrOrbitClock_dot_cross :: Lens' MsgSsrOrbitClock Int32
msgSsrOrbitClock_dot_along :: Lens' MsgSsrOrbitClock Int32
msgSsrOrbitClock_cross :: Lens' MsgSsrOrbitClock Int32
msgSsrOrbitClock_c2 :: Lens' MsgSsrOrbitClock Int32
msgSsrOrbitClock_c1 :: Lens' MsgSsrOrbitClock Int32
msgSsrOrbitClock_c0 :: Lens' MsgSsrOrbitClock Int32
msgSsrOrbitClock_along :: Lens' MsgSsrOrbitClock Int32
msgSsrCodeBiases :: Word16
-- | SBP class for message MSG_SSR_CODE_BIASES (0x05E1).
--
-- The precise code biases message is to be added to the pseudorange of
-- the corresponding signal to get corrected pseudorange. It is typically
-- an equivalent to the 1059 and 1065 RTCM message types
data MsgSsrCodeBiases
MsgSsrCodeBiases :: !GpsTimeSec -> !GnssSignal -> !Word8 -> !Word8 -> ![CodeBiasesContent] -> MsgSsrCodeBiases
-- | GNSS reference time of the correction
[_msgSsrCodeBiases_time] :: MsgSsrCodeBiases -> !GpsTimeSec
-- | GNSS signal identifier (16 bit)
[_msgSsrCodeBiases_sid] :: MsgSsrCodeBiases -> !GnssSignal
-- | Update interval between consecutive corrections
[_msgSsrCodeBiases_update_interval] :: MsgSsrCodeBiases -> !Word8
-- | IOD of the SSR correction. A change of Issue Of Data SSR is used to
-- indicate a change in the SSR generating configuration
[_msgSsrCodeBiases_iod_ssr] :: MsgSsrCodeBiases -> !Word8
-- | Code biases for the different satellite signals
[_msgSsrCodeBiases_biases] :: MsgSsrCodeBiases -> ![CodeBiasesContent]
msgSsrCodeBiases_update_interval :: Lens' MsgSsrCodeBiases Word8
msgSsrCodeBiases_time :: Lens' MsgSsrCodeBiases GpsTimeSec
msgSsrCodeBiases_sid :: Lens' MsgSsrCodeBiases GnssSignal
msgSsrCodeBiases_iod_ssr :: Lens' MsgSsrCodeBiases Word8
msgSsrCodeBiases_biases :: Lens' MsgSsrCodeBiases [CodeBiasesContent]
msgSsrPhaseBiases :: Word16
-- | SBP class for message MSG_SSR_PHASE_BIASES (0x05E6).
--
-- The precise phase biases message contains the biases to be added to
-- the carrier phase of the corresponding signal to get corrected carrier
-- phase measurement, as well as the satellite yaw angle to be applied to
-- compute the phase wind-up correction. It is typically an equivalent to
-- the 1265 RTCM message types
data MsgSsrPhaseBiases
MsgSsrPhaseBiases :: !GpsTimeSec -> !GnssSignal -> !Word8 -> !Word8 -> !Word8 -> !Word8 -> !Word16 -> !Int8 -> ![PhaseBiasesContent] -> MsgSsrPhaseBiases
-- | GNSS reference time of the correction
[_msgSsrPhaseBiases_time] :: MsgSsrPhaseBiases -> !GpsTimeSec
-- | GNSS signal identifier (16 bit)
[_msgSsrPhaseBiases_sid] :: MsgSsrPhaseBiases -> !GnssSignal
-- | Update interval between consecutive corrections
[_msgSsrPhaseBiases_update_interval] :: MsgSsrPhaseBiases -> !Word8
-- | IOD of the SSR correction. A change of Issue Of Data SSR is used to
-- indicate a change in the SSR generating configuration
[_msgSsrPhaseBiases_iod_ssr] :: MsgSsrPhaseBiases -> !Word8
-- | Indicator for the dispersive phase biases property.
[_msgSsrPhaseBiases_dispersive_bias] :: MsgSsrPhaseBiases -> !Word8
-- | Consistency indicator for Melbourne-Wubbena linear combinations
[_msgSsrPhaseBiases_mw_consistency] :: MsgSsrPhaseBiases -> !Word8
-- | Satellite yaw angle
[_msgSsrPhaseBiases_yaw] :: MsgSsrPhaseBiases -> !Word16
-- | Satellite yaw angle rate
[_msgSsrPhaseBiases_yaw_rate] :: MsgSsrPhaseBiases -> !Int8
-- | Phase biases corrections for a satellite being tracked.
[_msgSsrPhaseBiases_biases] :: MsgSsrPhaseBiases -> ![PhaseBiasesContent]
msgSsrPhaseBiases_yaw_rate :: Lens' MsgSsrPhaseBiases Int8
msgSsrPhaseBiases_yaw :: Lens' MsgSsrPhaseBiases Word16
msgSsrPhaseBiases_update_interval :: Lens' MsgSsrPhaseBiases Word8
msgSsrPhaseBiases_time :: Lens' MsgSsrPhaseBiases GpsTimeSec
msgSsrPhaseBiases_sid :: Lens' MsgSsrPhaseBiases GnssSignal
msgSsrPhaseBiases_mw_consistency :: Lens' MsgSsrPhaseBiases Word8
msgSsrPhaseBiases_iod_ssr :: Lens' MsgSsrPhaseBiases Word8
msgSsrPhaseBiases_dispersive_bias :: Lens' MsgSsrPhaseBiases Word8
msgSsrPhaseBiases_biases :: Lens' MsgSsrPhaseBiases [PhaseBiasesContent]
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Ssr.MsgSsrPhaseBiases
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Ssr.MsgSsrPhaseBiases
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Ssr.MsgSsrPhaseBiases
instance GHC.Classes.Eq SwiftNav.SBP.Ssr.MsgSsrPhaseBiases
instance GHC.Read.Read SwiftNav.SBP.Ssr.MsgSsrPhaseBiases
instance GHC.Show.Show SwiftNav.SBP.Ssr.MsgSsrPhaseBiases
instance Data.Binary.Class.Binary SwiftNav.SBP.Ssr.MsgSsrPhaseBiases
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Ssr.MsgSsrCodeBiases
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Ssr.MsgSsrCodeBiases
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Ssr.MsgSsrCodeBiases
instance GHC.Classes.Eq SwiftNav.SBP.Ssr.MsgSsrCodeBiases
instance GHC.Read.Read SwiftNav.SBP.Ssr.MsgSsrCodeBiases
instance GHC.Show.Show SwiftNav.SBP.Ssr.MsgSsrCodeBiases
instance Data.Binary.Class.Binary SwiftNav.SBP.Ssr.MsgSsrCodeBiases
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Ssr.MsgSsrOrbitClock
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Ssr.MsgSsrOrbitClock
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Ssr.MsgSsrOrbitClock
instance GHC.Classes.Eq SwiftNav.SBP.Ssr.MsgSsrOrbitClock
instance GHC.Read.Read SwiftNav.SBP.Ssr.MsgSsrOrbitClock
instance GHC.Show.Show SwiftNav.SBP.Ssr.MsgSsrOrbitClock
instance Data.Binary.Class.Binary SwiftNav.SBP.Ssr.MsgSsrOrbitClock
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Ssr.PhaseBiasesContent
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Ssr.PhaseBiasesContent
instance GHC.Classes.Eq SwiftNav.SBP.Ssr.PhaseBiasesContent
instance GHC.Read.Read SwiftNav.SBP.Ssr.PhaseBiasesContent
instance GHC.Show.Show SwiftNav.SBP.Ssr.PhaseBiasesContent
instance Data.Binary.Class.Binary SwiftNav.SBP.Ssr.PhaseBiasesContent
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Ssr.CodeBiasesContent
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Ssr.CodeBiasesContent
instance GHC.Classes.Eq SwiftNav.SBP.Ssr.CodeBiasesContent
instance GHC.Read.Read SwiftNav.SBP.Ssr.CodeBiasesContent
instance GHC.Show.Show SwiftNav.SBP.Ssr.CodeBiasesContent
instance Data.Binary.Class.Binary SwiftNav.SBP.Ssr.CodeBiasesContent
-- | SBAS data
module SwiftNav.SBP.Sbas
msgSbasRaw :: Word16
-- | SBP class for message MSG_SBAS_RAW (0x7777).
--
-- This message is sent once per second per SBAS satellite. ME checks the
-- parity of the data block and sends only blocks that pass the check.
data MsgSbasRaw
MsgSbasRaw :: !GnssSignal -> !Word32 -> !Word8 -> ![Word8] -> MsgSbasRaw
-- | GNSS signal identifier.
[_msgSbasRaw_sid] :: MsgSbasRaw -> !GnssSignal
-- | GPS time-of-week at the start of the data block.
[_msgSbasRaw_tow] :: MsgSbasRaw -> !Word32
-- | SBAS message type (0-63)
[_msgSbasRaw_message_type] :: MsgSbasRaw -> !Word8
-- | Raw SBAS data field of 212 bits (last byte padded with zeros).
[_msgSbasRaw_data] :: MsgSbasRaw -> ![Word8]
msgSbasRaw_tow :: Lens' MsgSbasRaw Word32
msgSbasRaw_sid :: Lens' MsgSbasRaw GnssSignal
msgSbasRaw_message_type :: Lens' MsgSbasRaw Word8
msgSbasRaw_data :: Lens' MsgSbasRaw [Word8]
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Sbas.MsgSbasRaw
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Sbas.MsgSbasRaw
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Sbas.MsgSbasRaw
instance GHC.Classes.Eq SwiftNav.SBP.Sbas.MsgSbasRaw
instance GHC.Read.Read SwiftNav.SBP.Sbas.MsgSbasRaw
instance GHC.Show.Show SwiftNav.SBP.Sbas.MsgSbasRaw
instance Data.Binary.Class.Binary SwiftNav.SBP.Sbas.MsgSbasRaw
-- | System health, configuration, and diagnostic messages specific to the
-- Piksi L1 receiver, including a variety of legacy messages that may no
-- longer be used.
module SwiftNav.SBP.Piksi
msgAlmanac :: Word16
-- | SBP class for message MSG_ALMANAC (0x0069).
--
-- This is a legacy message for sending and loading a satellite alamanac
-- onto the Piksi's flash memory from the host.
data MsgAlmanac
MsgAlmanac :: MsgAlmanac
msgSetTime :: Word16
-- | SBP class for message MSG_SET_TIME (0x0068).
--
-- This message sets up timing functionality using a coarse GPS time
-- estimate sent by the host.
data MsgSetTime
MsgSetTime :: MsgSetTime
msgReset :: Word16
-- | SBP class for message MSG_RESET (0x00B6).
--
-- This message from the host resets the Piksi back into the bootloader.
data MsgReset
MsgReset :: !Word32 -> MsgReset
-- | Reset flags
[_msgReset_flags] :: MsgReset -> !Word32
msgReset_flags :: Iso' MsgReset Word32
msgResetDep :: Word16
-- | SBP class for message MSG_RESET_DEP (0x00B2).
--
-- This message from the host resets the Piksi back into the bootloader.
data MsgResetDep
MsgResetDep :: MsgResetDep
msgCwResults :: Word16
-- | SBP class for message MSG_CW_RESULTS (0x00C0).
--
-- This is an unused legacy message for result reporting from the CW
-- interference channel on the SwiftNAP. This message will be removed in
-- a future release.
data MsgCwResults
MsgCwResults :: MsgCwResults
msgCwStart :: Word16
-- | SBP class for message MSG_CW_START (0x00C1).
--
-- This is an unused legacy message from the host for starting the CW
-- interference channel on the SwiftNAP. This message will be removed in
-- a future release.
data MsgCwStart
MsgCwStart :: MsgCwStart
msgResetFilters :: Word16
-- | SBP class for message MSG_RESET_FILTERS (0x0022).
--
-- This message resets either the DGNSS Kalman filters or Integer
-- Ambiguity Resolution (IAR) process.
data MsgResetFilters
MsgResetFilters :: !Word8 -> MsgResetFilters
-- | Filter flags
[_msgResetFilters_filter] :: MsgResetFilters -> !Word8
msgResetFilters_filter :: Iso' MsgResetFilters Word8
msgInitBase :: Word16
-- | SBP class for message MSG_INIT_BASE (0x0023).
--
-- This message initializes the integer ambiguity resolution (IAR)
-- process on the Piksi to use an assumed baseline position between the
-- base station and rover receivers. Warns via MSG_PRINT if there aren't
-- a shared minimum number (4) of satellite observations between the two.
data MsgInitBase
MsgInitBase :: MsgInitBase
msgThreadState :: Word16
-- | SBP class for message MSG_THREAD_STATE (0x0017).
--
-- The thread usage message from the device reports real-time operating
-- system (RTOS) thread usage statistics for the named thread. The
-- reported percentage values must be normalized.
data MsgThreadState
MsgThreadState :: !Text -> !Word16 -> !Word32 -> MsgThreadState
-- | Thread name (NULL terminated)
[_msgThreadState_name] :: MsgThreadState -> !Text
-- | Percentage cpu use for this thread. Values range from 0 - 1000 and
-- needs to be renormalized to 100
[_msgThreadState_cpu] :: MsgThreadState -> !Word16
-- | Free stack space for this thread
[_msgThreadState_stack_free] :: MsgThreadState -> !Word32
msgThreadState_stack_free :: Lens' MsgThreadState Word32
msgThreadState_name :: Lens' MsgThreadState Text
msgThreadState_cpu :: Lens' MsgThreadState Word16
-- | UARTChannel.
--
-- Throughput, utilization, and error counts on the RX/TX buffers of this
-- UART channel. The reported percentage values must be normalized.
data UARTChannel
UARTChannel :: !Float -> !Float -> !Word16 -> !Word16 -> !Word8 -> !Word8 -> UARTChannel
-- | UART transmit throughput
[_uARTChannel_tx_throughput] :: UARTChannel -> !Float
-- | UART receive throughput
[_uARTChannel_rx_throughput] :: UARTChannel -> !Float
-- | UART CRC error count
[_uARTChannel_crc_error_count] :: UARTChannel -> !Word16
-- | UART IO error count
[_uARTChannel_io_error_count] :: UARTChannel -> !Word16
-- | UART transmit buffer percentage utilization (ranges from 0 to 255)
[_uARTChannel_tx_buffer_level] :: UARTChannel -> !Word8
-- | UART receive buffer percentage utilization (ranges from 0 to 255)
[_uARTChannel_rx_buffer_level] :: UARTChannel -> !Word8
uARTChannel_tx_throughput :: Lens' UARTChannel Float
uARTChannel_tx_buffer_level :: Lens' UARTChannel Word8
uARTChannel_rx_throughput :: Lens' UARTChannel Float
uARTChannel_rx_buffer_level :: Lens' UARTChannel Word8
uARTChannel_io_error_count :: Lens' UARTChannel Word16
uARTChannel_crc_error_count :: Lens' UARTChannel Word16
-- | Period.
--
-- Statistics on the period of observations received from the base
-- station. As complete observation sets are received, their time of
-- reception is compared with the prior set''s time of reception. This
-- measurement provides a proxy for link quality as incomplete or missing
-- sets will increase the period. Long periods can cause momentary RTK
-- solution outages.
data Period
Period :: !Int32 -> !Int32 -> !Int32 -> !Int32 -> Period
-- | Average period
[_period_avg] :: Period -> !Int32
-- | Minimum period
[_period_pmin] :: Period -> !Int32
-- | Maximum period
[_period_pmax] :: Period -> !Int32
-- | Smoothed estimate of the current period
[_period_current] :: Period -> !Int32
period_pmin :: Lens' Period Int32
period_pmax :: Lens' Period Int32
period_current :: Lens' Period Int32
period_avg :: Lens' Period Int32
-- | Latency.
--
-- Statistics on the latency of observations received from the base
-- station. As observation packets are received their GPS time is
-- compared to the current GPS time calculated locally by the receiver to
-- give a precise measurement of the end-to-end communication latency in
-- the system.
data Latency
Latency :: !Int32 -> !Int32 -> !Int32 -> !Int32 -> Latency
-- | Average latency
[_latency_avg] :: Latency -> !Int32
-- | Minimum latency
[_latency_lmin] :: Latency -> !Int32
-- | Maximum latency
[_latency_lmax] :: Latency -> !Int32
-- | Smoothed estimate of the current latency
[_latency_current] :: Latency -> !Int32
latency_lmin :: Lens' Latency Int32
latency_lmax :: Lens' Latency Int32
latency_current :: Lens' Latency Int32
latency_avg :: Lens' Latency Int32
msgUartState :: Word16
-- | SBP class for message MSG_UART_STATE (0x001D).
--
-- The UART message reports data latency and throughput of the UART
-- channels providing SBP I/O. On the default Piksi configuration, UARTs
-- A and B are used for telemetry radios, but can also be host access
-- ports for embedded hosts, or other interfaces in future. The reported
-- percentage values must be normalized. Observations latency and period
-- can be used to assess the health of the differential corrections link.
-- Latency provides the timeliness of received base observations while
-- the period indicates their likelihood of transmission.
data MsgUartState
MsgUartState :: !UARTChannel -> !UARTChannel -> !UARTChannel -> !Latency -> !Period -> MsgUartState
-- | State of UART A
[_msgUartState_uart_a] :: MsgUartState -> !UARTChannel
-- | State of UART B
[_msgUartState_uart_b] :: MsgUartState -> !UARTChannel
-- | State of UART FTDI (USB logger)
[_msgUartState_uart_ftdi] :: MsgUartState -> !UARTChannel
-- | UART communication latency
[_msgUartState_latency] :: MsgUartState -> !Latency
-- | Observation receipt period
[_msgUartState_obs_period] :: MsgUartState -> !Period
msgUartState_uart_ftdi :: Lens' MsgUartState UARTChannel
msgUartState_uart_b :: Lens' MsgUartState UARTChannel
msgUartState_uart_a :: Lens' MsgUartState UARTChannel
msgUartState_obs_period :: Lens' MsgUartState Period
msgUartState_latency :: Lens' MsgUartState Latency
msgUartStateDepa :: Word16
-- | SBP class for message MSG_UART_STATE_DEPA (0x0018).
--
-- Deprecated
data MsgUartStateDepa
MsgUartStateDepa :: !UARTChannel -> !UARTChannel -> !UARTChannel -> !Latency -> MsgUartStateDepa
-- | State of UART A
[_msgUartStateDepa_uart_a] :: MsgUartStateDepa -> !UARTChannel
-- | State of UART B
[_msgUartStateDepa_uart_b] :: MsgUartStateDepa -> !UARTChannel
-- | State of UART FTDI (USB logger)
[_msgUartStateDepa_uart_ftdi] :: MsgUartStateDepa -> !UARTChannel
-- | UART communication latency
[_msgUartStateDepa_latency] :: MsgUartStateDepa -> !Latency
msgUartStateDepa_uart_ftdi :: Lens' MsgUartStateDepa UARTChannel
msgUartStateDepa_uart_b :: Lens' MsgUartStateDepa UARTChannel
msgUartStateDepa_uart_a :: Lens' MsgUartStateDepa UARTChannel
msgUartStateDepa_latency :: Lens' MsgUartStateDepa Latency
msgIarState :: Word16
-- | SBP class for message MSG_IAR_STATE (0x0019).
--
-- This message reports the state of the Integer Ambiguity Resolution
-- (IAR) process, which resolves unknown integer ambiguities from
-- double-differenced carrier-phase measurements from satellite
-- observations.
data MsgIarState
MsgIarState :: !Word32 -> MsgIarState
-- | Number of integer ambiguity hypotheses remaining
[_msgIarState_num_hyps] :: MsgIarState -> !Word32
msgIarState_num_hyps :: Iso' MsgIarState Word32
msgMaskSatellite :: Word16
-- | SBP class for message MSG_MASK_SATELLITE (0x002B).
--
-- This message allows setting a mask to prevent a particular satellite
-- from being used in various Piksi subsystems.
data MsgMaskSatellite
MsgMaskSatellite :: !Word8 -> !GnssSignal -> MsgMaskSatellite
-- | Mask of systems that should ignore this satellite.
[_msgMaskSatellite_mask] :: MsgMaskSatellite -> !Word8
-- | GNSS signal for which the mask is applied
[_msgMaskSatellite_sid] :: MsgMaskSatellite -> !GnssSignal
msgMaskSatellite_sid :: Lens' MsgMaskSatellite GnssSignal
msgMaskSatellite_mask :: Lens' MsgMaskSatellite Word8
msgMaskSatelliteDep :: Word16
-- | SBP class for message MSG_MASK_SATELLITE_DEP (0x001B).
--
-- Deprecated.
data MsgMaskSatelliteDep
MsgMaskSatelliteDep :: !Word8 -> !GnssSignalDep -> MsgMaskSatelliteDep
-- | Mask of systems that should ignore this satellite.
[_msgMaskSatelliteDep_mask] :: MsgMaskSatelliteDep -> !Word8
-- | GNSS signal for which the mask is applied
[_msgMaskSatelliteDep_sid] :: MsgMaskSatelliteDep -> !GnssSignalDep
msgMaskSatelliteDep_sid :: Lens' MsgMaskSatelliteDep GnssSignalDep
msgMaskSatelliteDep_mask :: Lens' MsgMaskSatelliteDep Word8
msgDeviceMonitor :: Word16
-- | SBP class for message MSG_DEVICE_MONITOR (0x00B5).
--
-- This message contains temperature and voltage level measurements from
-- the processor's monitoring system and the RF frontend die temperature
-- if available.
data MsgDeviceMonitor
MsgDeviceMonitor :: !Int16 -> !Int16 -> !Int16 -> !Int16 -> !Int16 -> MsgDeviceMonitor
-- | Device V_in
[_msgDeviceMonitor_dev_vin] :: MsgDeviceMonitor -> !Int16
-- | Processor V_int
[_msgDeviceMonitor_cpu_vint] :: MsgDeviceMonitor -> !Int16
-- | Processor V_aux
[_msgDeviceMonitor_cpu_vaux] :: MsgDeviceMonitor -> !Int16
-- | Processor temperature
[_msgDeviceMonitor_cpu_temperature] :: MsgDeviceMonitor -> !Int16
-- | Frontend temperature (if available)
[_msgDeviceMonitor_fe_temperature] :: MsgDeviceMonitor -> !Int16
msgDeviceMonitor_fe_temperature :: Lens' MsgDeviceMonitor Int16
msgDeviceMonitor_dev_vin :: Lens' MsgDeviceMonitor Int16
msgDeviceMonitor_cpu_vint :: Lens' MsgDeviceMonitor Int16
msgDeviceMonitor_cpu_vaux :: Lens' MsgDeviceMonitor Int16
msgDeviceMonitor_cpu_temperature :: Lens' MsgDeviceMonitor Int16
msgCommandReq :: Word16
-- | SBP class for message MSG_COMMAND_REQ (0x00B8).
--
-- Request the recipient to execute an command. Output will be sent in
-- MSG_LOG messages, and the exit code will be returned with
-- MSG_COMMAND_RESP.
data MsgCommandReq
MsgCommandReq :: !Word32 -> !Text -> MsgCommandReq
-- | Sequence number
[_msgCommandReq_sequence] :: MsgCommandReq -> !Word32
-- | Command line to execute
[_msgCommandReq_command] :: MsgCommandReq -> !Text
msgCommandReq_sequence :: Lens' MsgCommandReq Word32
msgCommandReq_command :: Lens' MsgCommandReq Text
msgCommandResp :: Word16
-- | SBP class for message MSG_COMMAND_RESP (0x00B9).
--
-- The response to MSG_COMMAND_REQ with the return code of the command. A
-- return code of zero indicates success.
data MsgCommandResp
MsgCommandResp :: !Word32 -> !Int32 -> MsgCommandResp
-- | Sequence number
[_msgCommandResp_sequence] :: MsgCommandResp -> !Word32
-- | Exit code
[_msgCommandResp_code] :: MsgCommandResp -> !Int32
msgCommandResp_sequence :: Lens' MsgCommandResp Word32
msgCommandResp_code :: Lens' MsgCommandResp Int32
msgCommandOutput :: Word16
-- | SBP class for message MSG_COMMAND_OUTPUT (0x00BC).
--
-- Returns the standard output and standard error of the command
-- requested by MSG_COMMAND_REQ. The sequence number can be used to
-- filter for filtering the correct command.
data MsgCommandOutput
MsgCommandOutput :: !Word32 -> !Text -> MsgCommandOutput
-- | Sequence number
[_msgCommandOutput_sequence] :: MsgCommandOutput -> !Word32
-- | Line of standard output or standard error
[_msgCommandOutput_line] :: MsgCommandOutput -> !Text
msgCommandOutput_sequence :: Lens' MsgCommandOutput Word32
msgCommandOutput_line :: Lens' MsgCommandOutput Text
msgNetworkStateReq :: Word16
-- | SBP class for message MSG_NETWORK_STATE_REQ (0x00BA).
--
-- Request state of Piksi network interfaces. Output will be sent in
-- MSG_NETWORK_STATE_RESP messages
data MsgNetworkStateReq
MsgNetworkStateReq :: MsgNetworkStateReq
msgNetworkStateResp :: Word16
-- | SBP class for message MSG_NETWORK_STATE_RESP (0x00BB).
--
-- The state of a network interface on the Piksi. Data is made to reflect
-- output of ifaddrs struct returned by getifaddrs in c.
data MsgNetworkStateResp
MsgNetworkStateResp :: ![Word8] -> !Word8 -> ![Word8] -> !Word8 -> !Word32 -> !Word32 -> !Text -> !Word32 -> MsgNetworkStateResp
-- | IPv4 address (all zero when unavailable)
[_msgNetworkStateResp_ipv4_address] :: MsgNetworkStateResp -> ![Word8]
-- | IPv4 netmask CIDR notation
[_msgNetworkStateResp_ipv4_mask_size] :: MsgNetworkStateResp -> !Word8
-- | IPv6 address (all zero when unavailable)
[_msgNetworkStateResp_ipv6_address] :: MsgNetworkStateResp -> ![Word8]
-- | IPv6 netmask CIDR notation
[_msgNetworkStateResp_ipv6_mask_size] :: MsgNetworkStateResp -> !Word8
-- | Number of Rx bytes
[_msgNetworkStateResp_rx_bytes] :: MsgNetworkStateResp -> !Word32
-- | Number of Tx bytes
[_msgNetworkStateResp_tx_bytes] :: MsgNetworkStateResp -> !Word32
-- | Interface Name
[_msgNetworkStateResp_interface_name] :: MsgNetworkStateResp -> !Text
-- | Interface flags from SIOCGIFFLAGS
[_msgNetworkStateResp_flags] :: MsgNetworkStateResp -> !Word32
msgNetworkStateResp_tx_bytes :: Lens' MsgNetworkStateResp Word32
msgNetworkStateResp_rx_bytes :: Lens' MsgNetworkStateResp Word32
msgNetworkStateResp_ipv6_mask_size :: Lens' MsgNetworkStateResp Word8
msgNetworkStateResp_ipv6_address :: Lens' MsgNetworkStateResp [Word8]
msgNetworkStateResp_ipv4_mask_size :: Lens' MsgNetworkStateResp Word8
msgNetworkStateResp_ipv4_address :: Lens' MsgNetworkStateResp [Word8]
msgNetworkStateResp_interface_name :: Lens' MsgNetworkStateResp Text
msgNetworkStateResp_flags :: Lens' MsgNetworkStateResp Word32
-- | NetworkUsage.
--
-- The bandwidth usage for each interface can be reported within this
-- struct and utilize multiple fields to fully specify the type of
-- traffic that is being tracked. As either the interval of collection or
-- the collection time may vary, both a timestamp and period field is
-- provided, though may not necessarily be populated with a value.
data NetworkUsage
NetworkUsage :: !Word64 -> !Word64 -> !Word32 -> !Word32 -> !Text -> NetworkUsage
-- | Duration over which the measurement was collected
[_networkUsage_duration] :: NetworkUsage -> !Word64
-- | Number of bytes handled in total within period
[_networkUsage_total_bytes] :: NetworkUsage -> !Word64
-- | Number of bytes transmitted within period
[_networkUsage_rx_bytes] :: NetworkUsage -> !Word32
-- | Number of bytes received within period
[_networkUsage_tx_bytes] :: NetworkUsage -> !Word32
-- | Interface Name
[_networkUsage_interface_name] :: NetworkUsage -> !Text
networkUsage_tx_bytes :: Lens' NetworkUsage Word32
networkUsage_total_bytes :: Lens' NetworkUsage Word64
networkUsage_rx_bytes :: Lens' NetworkUsage Word32
networkUsage_interface_name :: Lens' NetworkUsage Text
networkUsage_duration :: Lens' NetworkUsage Word64
msgNetworkBandwidthUsage :: Word16
-- | SBP class for message MSG_NETWORK_BANDWIDTH_USAGE (0x00BD).
--
-- The bandwidth usage, a list of usage by interface.
data MsgNetworkBandwidthUsage
MsgNetworkBandwidthUsage :: ![NetworkUsage] -> MsgNetworkBandwidthUsage
-- | Usage measurement array
[_msgNetworkBandwidthUsage_interfaces] :: MsgNetworkBandwidthUsage -> ![NetworkUsage]
msgNetworkBandwidthUsage_interfaces :: Iso' MsgNetworkBandwidthUsage [NetworkUsage]
msgCellModemStatus :: Word16
-- | SBP class for message MSG_CELL_MODEM_STATUS (0x00BE).
--
-- If a cell modem is present on a piksi device, this message will be
-- send periodically to update the host on the status of the modem and
-- its various parameters.
data MsgCellModemStatus
MsgCellModemStatus :: !Int8 -> !Float -> ![Word8] -> MsgCellModemStatus
-- | Received cell signal strength in dBm, zero translates to unknown
[_msgCellModemStatus_signal_strength] :: MsgCellModemStatus -> !Int8
-- | BER as reported by the modem, zero translates to unknown
[_msgCellModemStatus_signal_error_rate] :: MsgCellModemStatus -> !Float
-- | Unspecified data TBD for this schema
[_msgCellModemStatus_reserved] :: MsgCellModemStatus -> ![Word8]
msgCellModemStatus_signal_strength :: Lens' MsgCellModemStatus Int8
msgCellModemStatus_signal_error_rate :: Lens' MsgCellModemStatus Float
msgCellModemStatus_reserved :: Lens' MsgCellModemStatus [Word8]
msgSpecanDep :: Word16
-- | SBP class for message MSG_SPECAN_DEP (0x0050).
--
-- Deprecated.
data MsgSpecanDep
MsgSpecanDep :: !Word16 -> !GpsTimeDep -> !Float -> !Float -> !Float -> !Float -> ![Word8] -> MsgSpecanDep
-- | Channel ID
[_msgSpecanDep_channel_tag] :: MsgSpecanDep -> !Word16
-- | Receiver time of this observation
[_msgSpecanDep_t] :: MsgSpecanDep -> !GpsTimeDep
-- | Reference frequency of this packet
[_msgSpecanDep_freq_ref] :: MsgSpecanDep -> !Float
-- | Frequency step of points in this packet
[_msgSpecanDep_freq_step] :: MsgSpecanDep -> !Float
-- | Reference amplitude of this packet
[_msgSpecanDep_amplitude_ref] :: MsgSpecanDep -> !Float
-- | Amplitude unit value of points in this packet
[_msgSpecanDep_amplitude_unit] :: MsgSpecanDep -> !Float
-- | Amplitude values (in the above units) of points in this packet
[_msgSpecanDep_amplitude_value] :: MsgSpecanDep -> ![Word8]
msgSpecanDep_t :: Lens' MsgSpecanDep GpsTimeDep
msgSpecanDep_freq_step :: Lens' MsgSpecanDep Float
msgSpecanDep_freq_ref :: Lens' MsgSpecanDep Float
msgSpecanDep_channel_tag :: Lens' MsgSpecanDep Word16
msgSpecanDep_amplitude_value :: Lens' MsgSpecanDep [Word8]
msgSpecanDep_amplitude_unit :: Lens' MsgSpecanDep Float
msgSpecanDep_amplitude_ref :: Lens' MsgSpecanDep Float
msgSpecan :: Word16
-- | SBP class for message MSG_SPECAN (0x0051).
--
-- Spectrum analyzer packet.
data MsgSpecan
MsgSpecan :: !Word16 -> !GpsTime -> !Float -> !Float -> !Float -> !Float -> ![Word8] -> MsgSpecan
-- | Channel ID
[_msgSpecan_channel_tag] :: MsgSpecan -> !Word16
-- | Receiver time of this observation
[_msgSpecan_t] :: MsgSpecan -> !GpsTime
-- | Reference frequency of this packet
[_msgSpecan_freq_ref] :: MsgSpecan -> !Float
-- | Frequency step of points in this packet
[_msgSpecan_freq_step] :: MsgSpecan -> !Float
-- | Reference amplitude of this packet
[_msgSpecan_amplitude_ref] :: MsgSpecan -> !Float
-- | Amplitude unit value of points in this packet
[_msgSpecan_amplitude_unit] :: MsgSpecan -> !Float
-- | Amplitude values (in the above units) of points in this packet
[_msgSpecan_amplitude_value] :: MsgSpecan -> ![Word8]
msgSpecan_t :: Lens' MsgSpecan GpsTime
msgSpecan_freq_step :: Lens' MsgSpecan Float
msgSpecan_freq_ref :: Lens' MsgSpecan Float
msgSpecan_channel_tag :: Lens' MsgSpecan Word16
msgSpecan_amplitude_value :: Lens' MsgSpecan [Word8]
msgSpecan_amplitude_unit :: Lens' MsgSpecan Float
msgSpecan_amplitude_ref :: Lens' MsgSpecan Float
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.MsgSpecan
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.MsgSpecan
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Piksi.MsgSpecan
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.MsgSpecan
instance GHC.Read.Read SwiftNav.SBP.Piksi.MsgSpecan
instance GHC.Show.Show SwiftNav.SBP.Piksi.MsgSpecan
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.MsgSpecan
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.MsgSpecanDep
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.MsgSpecanDep
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Piksi.MsgSpecanDep
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.MsgSpecanDep
instance GHC.Read.Read SwiftNav.SBP.Piksi.MsgSpecanDep
instance GHC.Show.Show SwiftNav.SBP.Piksi.MsgSpecanDep
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.MsgSpecanDep
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.MsgCellModemStatus
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.MsgCellModemStatus
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Piksi.MsgCellModemStatus
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.MsgCellModemStatus
instance GHC.Read.Read SwiftNav.SBP.Piksi.MsgCellModemStatus
instance GHC.Show.Show SwiftNav.SBP.Piksi.MsgCellModemStatus
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.MsgCellModemStatus
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.MsgNetworkBandwidthUsage
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.MsgNetworkBandwidthUsage
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Piksi.MsgNetworkBandwidthUsage
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.MsgNetworkBandwidthUsage
instance GHC.Read.Read SwiftNav.SBP.Piksi.MsgNetworkBandwidthUsage
instance GHC.Show.Show SwiftNav.SBP.Piksi.MsgNetworkBandwidthUsage
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.MsgNetworkBandwidthUsage
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.NetworkUsage
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.NetworkUsage
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.NetworkUsage
instance GHC.Read.Read SwiftNav.SBP.Piksi.NetworkUsage
instance GHC.Show.Show SwiftNav.SBP.Piksi.NetworkUsage
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.NetworkUsage
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.MsgNetworkStateResp
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.MsgNetworkStateResp
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Piksi.MsgNetworkStateResp
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.MsgNetworkStateResp
instance GHC.Read.Read SwiftNav.SBP.Piksi.MsgNetworkStateResp
instance GHC.Show.Show SwiftNav.SBP.Piksi.MsgNetworkStateResp
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.MsgNetworkStateResp
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.MsgNetworkStateReq
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.MsgNetworkStateReq
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Piksi.MsgNetworkStateReq
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.MsgNetworkStateReq
instance GHC.Read.Read SwiftNav.SBP.Piksi.MsgNetworkStateReq
instance GHC.Show.Show SwiftNav.SBP.Piksi.MsgNetworkStateReq
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.MsgNetworkStateReq
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.MsgCommandOutput
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.MsgCommandOutput
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Piksi.MsgCommandOutput
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.MsgCommandOutput
instance GHC.Read.Read SwiftNav.SBP.Piksi.MsgCommandOutput
instance GHC.Show.Show SwiftNav.SBP.Piksi.MsgCommandOutput
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.MsgCommandOutput
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.MsgCommandResp
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.MsgCommandResp
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Piksi.MsgCommandResp
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.MsgCommandResp
instance GHC.Read.Read SwiftNav.SBP.Piksi.MsgCommandResp
instance GHC.Show.Show SwiftNav.SBP.Piksi.MsgCommandResp
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.MsgCommandResp
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.MsgCommandReq
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.MsgCommandReq
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Piksi.MsgCommandReq
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.MsgCommandReq
instance GHC.Read.Read SwiftNav.SBP.Piksi.MsgCommandReq
instance GHC.Show.Show SwiftNav.SBP.Piksi.MsgCommandReq
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.MsgCommandReq
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.MsgDeviceMonitor
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.MsgDeviceMonitor
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Piksi.MsgDeviceMonitor
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.MsgDeviceMonitor
instance GHC.Read.Read SwiftNav.SBP.Piksi.MsgDeviceMonitor
instance GHC.Show.Show SwiftNav.SBP.Piksi.MsgDeviceMonitor
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.MsgDeviceMonitor
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.MsgMaskSatelliteDep
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.MsgMaskSatelliteDep
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Piksi.MsgMaskSatelliteDep
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.MsgMaskSatelliteDep
instance GHC.Read.Read SwiftNav.SBP.Piksi.MsgMaskSatelliteDep
instance GHC.Show.Show SwiftNav.SBP.Piksi.MsgMaskSatelliteDep
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.MsgMaskSatelliteDep
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.MsgMaskSatellite
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.MsgMaskSatellite
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Piksi.MsgMaskSatellite
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.MsgMaskSatellite
instance GHC.Read.Read SwiftNav.SBP.Piksi.MsgMaskSatellite
instance GHC.Show.Show SwiftNav.SBP.Piksi.MsgMaskSatellite
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.MsgMaskSatellite
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.MsgIarState
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.MsgIarState
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Piksi.MsgIarState
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.MsgIarState
instance GHC.Read.Read SwiftNav.SBP.Piksi.MsgIarState
instance GHC.Show.Show SwiftNav.SBP.Piksi.MsgIarState
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.MsgIarState
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.MsgUartStateDepa
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.MsgUartStateDepa
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Piksi.MsgUartStateDepa
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.MsgUartStateDepa
instance GHC.Read.Read SwiftNav.SBP.Piksi.MsgUartStateDepa
instance GHC.Show.Show SwiftNav.SBP.Piksi.MsgUartStateDepa
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.MsgUartStateDepa
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.MsgUartState
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.MsgUartState
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Piksi.MsgUartState
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.MsgUartState
instance GHC.Read.Read SwiftNav.SBP.Piksi.MsgUartState
instance GHC.Show.Show SwiftNav.SBP.Piksi.MsgUartState
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.MsgUartState
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.Latency
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.Latency
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.Latency
instance GHC.Read.Read SwiftNav.SBP.Piksi.Latency
instance GHC.Show.Show SwiftNav.SBP.Piksi.Latency
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.Latency
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.Period
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.Period
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.Period
instance GHC.Read.Read SwiftNav.SBP.Piksi.Period
instance GHC.Show.Show SwiftNav.SBP.Piksi.Period
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.Period
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.UARTChannel
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.UARTChannel
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.UARTChannel
instance GHC.Read.Read SwiftNav.SBP.Piksi.UARTChannel
instance GHC.Show.Show SwiftNav.SBP.Piksi.UARTChannel
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.UARTChannel
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.MsgThreadState
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.MsgThreadState
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Piksi.MsgThreadState
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.MsgThreadState
instance GHC.Read.Read SwiftNav.SBP.Piksi.MsgThreadState
instance GHC.Show.Show SwiftNav.SBP.Piksi.MsgThreadState
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.MsgThreadState
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.MsgInitBase
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.MsgInitBase
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Piksi.MsgInitBase
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.MsgInitBase
instance GHC.Read.Read SwiftNav.SBP.Piksi.MsgInitBase
instance GHC.Show.Show SwiftNav.SBP.Piksi.MsgInitBase
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.MsgInitBase
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.MsgResetFilters
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.MsgResetFilters
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Piksi.MsgResetFilters
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.MsgResetFilters
instance GHC.Read.Read SwiftNav.SBP.Piksi.MsgResetFilters
instance GHC.Show.Show SwiftNav.SBP.Piksi.MsgResetFilters
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.MsgResetFilters
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.MsgCwStart
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.MsgCwStart
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Piksi.MsgCwStart
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.MsgCwStart
instance GHC.Read.Read SwiftNav.SBP.Piksi.MsgCwStart
instance GHC.Show.Show SwiftNav.SBP.Piksi.MsgCwStart
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.MsgCwStart
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.MsgCwResults
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.MsgCwResults
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Piksi.MsgCwResults
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.MsgCwResults
instance GHC.Read.Read SwiftNav.SBP.Piksi.MsgCwResults
instance GHC.Show.Show SwiftNav.SBP.Piksi.MsgCwResults
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.MsgCwResults
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.MsgResetDep
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.MsgResetDep
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Piksi.MsgResetDep
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.MsgResetDep
instance GHC.Read.Read SwiftNav.SBP.Piksi.MsgResetDep
instance GHC.Show.Show SwiftNav.SBP.Piksi.MsgResetDep
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.MsgResetDep
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.MsgReset
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.MsgReset
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Piksi.MsgReset
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.MsgReset
instance GHC.Read.Read SwiftNav.SBP.Piksi.MsgReset
instance GHC.Show.Show SwiftNav.SBP.Piksi.MsgReset
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.MsgReset
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.MsgSetTime
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.MsgSetTime
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Piksi.MsgSetTime
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.MsgSetTime
instance GHC.Read.Read SwiftNav.SBP.Piksi.MsgSetTime
instance GHC.Show.Show SwiftNav.SBP.Piksi.MsgSetTime
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.MsgSetTime
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Piksi.MsgAlmanac
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Piksi.MsgAlmanac
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Piksi.MsgAlmanac
instance GHC.Classes.Eq SwiftNav.SBP.Piksi.MsgAlmanac
instance GHC.Read.Read SwiftNav.SBP.Piksi.MsgAlmanac
instance GHC.Show.Show SwiftNav.SBP.Piksi.MsgAlmanac
instance Data.Binary.Class.Binary SwiftNav.SBP.Piksi.MsgAlmanac
-- | Satellite observation messages from the device.
module SwiftNav.SBP.Observation
-- | ObservationHeader.
--
-- Header of a GNSS observation message.
data ObservationHeader
ObservationHeader :: !GpsTime -> !Word8 -> ObservationHeader
-- | GNSS time of this observation
[_observationHeader_t] :: ObservationHeader -> !GpsTime
-- | Total number of observations. First nibble is the size of the sequence
-- (n), second nibble is the zero-indexed counter (ith packet of n)
[_observationHeader_n_obs] :: ObservationHeader -> !Word8
observationHeader_t :: Lens' ObservationHeader GpsTime
observationHeader_n_obs :: Lens' ObservationHeader Word8
-- | Doppler.
--
-- Doppler measurement in Hz represented as a 24-bit fixed point number
-- with Q16.8 layout, i.e. 16-bits of whole doppler and 8-bits of
-- fractional doppler. This doppler is defined as positive for
-- approaching satellites.
data Doppler
Doppler :: !Int16 -> !Word8 -> Doppler
-- | Doppler whole Hz
[_doppler_i] :: Doppler -> !Int16
-- | Doppler fractional part
[_doppler_f] :: Doppler -> !Word8
doppler_i :: Lens' Doppler Int16
doppler_f :: Lens' Doppler Word8
-- | PackedObsContent.
--
-- Pseudorange and carrier phase observation for a satellite being
-- tracked. The observations are interoperable with 3rd party receivers
-- and conform with typical RTCMv3 GNSS observations.
data PackedObsContent
PackedObsContent :: !Word32 -> !CarrierPhase -> !Doppler -> !Word8 -> !Word8 -> !Word8 -> !GnssSignal -> PackedObsContent
-- | Pseudorange observation
[_packedObsContent_P] :: PackedObsContent -> !Word32
-- | Carrier phase observation with typical sign convention.
[_packedObsContent_L] :: PackedObsContent -> !CarrierPhase
-- | Doppler observation with typical sign convention.
[_packedObsContent_D] :: PackedObsContent -> !Doppler
-- | Carrier-to-Noise density. Zero implies invalid cn0.
[_packedObsContent_cn0] :: PackedObsContent -> !Word8
-- | Lock timer. This value gives an indication of the time for which a
-- signal has maintained continuous phase lock. Whenever a signal has
-- lost and regained lock, this value is reset to zero. It is encoded
-- according to DF402 from the RTCM 10403.2 Amendment 2 specification.
-- Valid values range from 0 to 15 and the most significant nibble is
-- reserved for future use.
[_packedObsContent_lock] :: PackedObsContent -> !Word8
-- | Measurement status flags. A bit field of flags providing the status of
-- this observation. If this field is 0 it means only the Cn0 estimate
-- for the signal is valid.
[_packedObsContent_flags] :: PackedObsContent -> !Word8
-- | GNSS signal identifier (16 bit)
[_packedObsContent_sid] :: PackedObsContent -> !GnssSignal
packedObsContent_sid :: Lens' PackedObsContent GnssSignal
packedObsContent_lock :: Lens' PackedObsContent Word8
packedObsContent_flags :: Lens' PackedObsContent Word8
packedObsContent_cn0 :: Lens' PackedObsContent Word8
packedObsContent_P :: Lens' PackedObsContent Word32
packedObsContent_L :: Lens' PackedObsContent CarrierPhase
packedObsContent_D :: Lens' PackedObsContent Doppler
msgObs :: Word16
-- | SBP class for message MSG_OBS (0x004A).
--
-- The GPS observations message reports all the raw pseudorange and
-- carrier phase observations for the satellites being tracked by the
-- device. Carrier phase observation here is represented as a 40-bit
-- fixed point number with Q32.8 layout (i.e. 32-bits of whole cycles and
-- 8-bits of fractional cycles). The observations are be interoperable
-- with 3rd party receivers and conform with typical RTCMv3 GNSS
-- observations.
data MsgObs
MsgObs :: !ObservationHeader -> ![PackedObsContent] -> MsgObs
-- | Header of a GPS observation message
[_msgObs_header] :: MsgObs -> !ObservationHeader
-- | Pseudorange and carrier phase observation for a satellite being
-- tracked.
[_msgObs_obs] :: MsgObs -> ![PackedObsContent]
msgObs_obs :: Lens' MsgObs [PackedObsContent]
msgObs_header :: Lens' MsgObs ObservationHeader
msgBasePosLlh :: Word16
-- | SBP class for message MSG_BASE_POS_LLH (0x0044).
--
-- The base station position message is the position reported by the base
-- station itself. It is used for pseudo-absolute RTK positioning, and is
-- required to be a high-accuracy surveyed location of the base station.
-- Any error here will result in an error in the pseudo-absolute position
-- output.
data MsgBasePosLlh
MsgBasePosLlh :: !Double -> !Double -> !Double -> MsgBasePosLlh
-- | Latitude
[_msgBasePosLlh_lat] :: MsgBasePosLlh -> !Double
-- | Longitude
[_msgBasePosLlh_lon] :: MsgBasePosLlh -> !Double
-- | Height
[_msgBasePosLlh_height] :: MsgBasePosLlh -> !Double
msgBasePosLlh_lon :: Lens' MsgBasePosLlh Double
msgBasePosLlh_lat :: Lens' MsgBasePosLlh Double
msgBasePosLlh_height :: Lens' MsgBasePosLlh Double
msgBasePosEcef :: Word16
-- | SBP class for message MSG_BASE_POS_ECEF (0x0048).
--
-- The base station position message is the position reported by the base
-- station itself in absolute Earth Centered Earth Fixed coordinates. It
-- is used for pseudo-absolute RTK positioning, and is required to be a
-- high- accuracy surveyed location of the base station. Any error here
-- will result in an error in the pseudo-absolute position output.
data MsgBasePosEcef
MsgBasePosEcef :: !Double -> !Double -> !Double -> MsgBasePosEcef
-- | ECEF X coodinate
[_msgBasePosEcef_x] :: MsgBasePosEcef -> !Double
-- | ECEF Y coordinate
[_msgBasePosEcef_y] :: MsgBasePosEcef -> !Double
-- | ECEF Z coordinate
[_msgBasePosEcef_z] :: MsgBasePosEcef -> !Double
msgBasePosEcef_z :: Lens' MsgBasePosEcef Double
msgBasePosEcef_y :: Lens' MsgBasePosEcef Double
msgBasePosEcef_x :: Lens' MsgBasePosEcef Double
data EphemerisCommonContent
EphemerisCommonContent :: !GnssSignal -> !GpsTimeSec -> !Double -> !Word32 -> !Word8 -> !Word8 -> EphemerisCommonContent
-- | GNSS signal identifier (16 bit)
[_ephemerisCommonContent_sid] :: EphemerisCommonContent -> !GnssSignal
-- | Time of Ephemerides
[_ephemerisCommonContent_toe] :: EphemerisCommonContent -> !GpsTimeSec
-- | User Range Accuracy
[_ephemerisCommonContent_ura] :: EphemerisCommonContent -> !Double
-- | Curve fit interval
[_ephemerisCommonContent_fit_interval] :: EphemerisCommonContent -> !Word32
-- | Status of ephemeris, 1 = valid, 0 = invalid
[_ephemerisCommonContent_valid] :: EphemerisCommonContent -> !Word8
-- | Satellite health status. GPS: ICD-GPS-200, chapter 20.3.3.3.1.4 SBAS:
-- 0 = valid, non-zero = invalid GLO: 0 = valid, non-zero = invalid
[_ephemerisCommonContent_health_bits] :: EphemerisCommonContent -> !Word8
ephemerisCommonContent_valid :: Lens' EphemerisCommonContent Word8
ephemerisCommonContent_ura :: Lens' EphemerisCommonContent Double
ephemerisCommonContent_toe :: Lens' EphemerisCommonContent GpsTimeSec
ephemerisCommonContent_sid :: Lens' EphemerisCommonContent GnssSignal
ephemerisCommonContent_health_bits :: Lens' EphemerisCommonContent Word8
ephemerisCommonContent_fit_interval :: Lens' EphemerisCommonContent Word32
data EphemerisCommonContentDepA
EphemerisCommonContentDepA :: !GnssSignalDep -> !GpsTimeDep -> !Double -> !Word32 -> !Word8 -> !Word8 -> EphemerisCommonContentDepA
-- | GNSS signal identifier
[_ephemerisCommonContentDepA_sid] :: EphemerisCommonContentDepA -> !GnssSignalDep
-- | Time of Ephemerides
[_ephemerisCommonContentDepA_toe] :: EphemerisCommonContentDepA -> !GpsTimeDep
-- | User Range Accuracy
[_ephemerisCommonContentDepA_ura] :: EphemerisCommonContentDepA -> !Double
-- | Curve fit interval
[_ephemerisCommonContentDepA_fit_interval] :: EphemerisCommonContentDepA -> !Word32
-- | Status of ephemeris, 1 = valid, 0 = invalid
[_ephemerisCommonContentDepA_valid] :: EphemerisCommonContentDepA -> !Word8
-- | Satellite health status. GPS: ICD-GPS-200, chapter 20.3.3.3.1.4 SBAS:
-- 0 = valid, non-zero = invalid GLO: 0 = valid, non-zero = invalid
[_ephemerisCommonContentDepA_health_bits] :: EphemerisCommonContentDepA -> !Word8
ephemerisCommonContentDepA_valid :: Lens' EphemerisCommonContentDepA Word8
ephemerisCommonContentDepA_ura :: Lens' EphemerisCommonContentDepA Double
ephemerisCommonContentDepA_toe :: Lens' EphemerisCommonContentDepA GpsTimeDep
ephemerisCommonContentDepA_sid :: Lens' EphemerisCommonContentDepA GnssSignalDep
ephemerisCommonContentDepA_health_bits :: Lens' EphemerisCommonContentDepA Word8
ephemerisCommonContentDepA_fit_interval :: Lens' EphemerisCommonContentDepA Word32
msgEphemerisGpsDepE :: Word16
-- | SBP class for message MSG_EPHEMERIS_GPS_DEP_E (0x0081).
--
-- The ephemeris message returns a set of satellite orbit parameters that
-- is used to calculate GPS satellite position, velocity, and clock
-- offset. Please see the Navstar GPS Space Segment/Navigation user
-- interfaces (ICD-GPS-200, Table 20-III) for more details.
data MsgEphemerisGpsDepE
MsgEphemerisGpsDepE :: !EphemerisCommonContentDepA -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !GpsTimeDep -> !Word8 -> !Word16 -> MsgEphemerisGpsDepE
-- | Values common for all ephemeris types
[_msgEphemerisGpsDepE_common] :: MsgEphemerisGpsDepE -> !EphemerisCommonContentDepA
-- | Group delay differential between L1 and L2
[_msgEphemerisGpsDepE_tgd] :: MsgEphemerisGpsDepE -> !Double
-- | Amplitude of the sine harmonic correction term to the orbit radius
[_msgEphemerisGpsDepE_c_rs] :: MsgEphemerisGpsDepE -> !Double
-- | Amplitude of the cosine harmonic correction term to the orbit radius
[_msgEphemerisGpsDepE_c_rc] :: MsgEphemerisGpsDepE -> !Double
-- | Amplitude of the cosine harmonic correction term to the argument of
-- latitude
[_msgEphemerisGpsDepE_c_uc] :: MsgEphemerisGpsDepE -> !Double
-- | Amplitude of the sine harmonic correction term to the argument of
-- latitude
[_msgEphemerisGpsDepE_c_us] :: MsgEphemerisGpsDepE -> !Double
-- | Amplitude of the cosine harmonic correction term to the angle of
-- inclination
[_msgEphemerisGpsDepE_c_ic] :: MsgEphemerisGpsDepE -> !Double
-- | Amplitude of the sine harmonic correction term to the angle of
-- inclination
[_msgEphemerisGpsDepE_c_is] :: MsgEphemerisGpsDepE -> !Double
-- | Mean motion difference
[_msgEphemerisGpsDepE_dn] :: MsgEphemerisGpsDepE -> !Double
-- | Mean anomaly at reference time
[_msgEphemerisGpsDepE_m0] :: MsgEphemerisGpsDepE -> !Double
-- | Eccentricity of satellite orbit
[_msgEphemerisGpsDepE_ecc] :: MsgEphemerisGpsDepE -> !Double
-- | Square root of the semi-major axis of orbit
[_msgEphemerisGpsDepE_sqrta] :: MsgEphemerisGpsDepE -> !Double
-- | Longitude of ascending node of orbit plane at weekly epoch
[_msgEphemerisGpsDepE_omega0] :: MsgEphemerisGpsDepE -> !Double
-- | Rate of right ascension
[_msgEphemerisGpsDepE_omegadot] :: MsgEphemerisGpsDepE -> !Double
-- | Argument of perigee
[_msgEphemerisGpsDepE_w] :: MsgEphemerisGpsDepE -> !Double
-- | Inclination
[_msgEphemerisGpsDepE_inc] :: MsgEphemerisGpsDepE -> !Double
-- | Inclination first derivative
[_msgEphemerisGpsDepE_inc_dot] :: MsgEphemerisGpsDepE -> !Double
-- | Polynomial clock correction coefficient (clock bias)
[_msgEphemerisGpsDepE_af0] :: MsgEphemerisGpsDepE -> !Double
-- | Polynomial clock correction coefficient (clock drift)
[_msgEphemerisGpsDepE_af1] :: MsgEphemerisGpsDepE -> !Double
-- | Polynomial clock correction coefficient (rate of clock drift)
[_msgEphemerisGpsDepE_af2] :: MsgEphemerisGpsDepE -> !Double
-- | Clock reference
[_msgEphemerisGpsDepE_toc] :: MsgEphemerisGpsDepE -> !GpsTimeDep
-- | Issue of ephemeris data
[_msgEphemerisGpsDepE_iode] :: MsgEphemerisGpsDepE -> !Word8
-- | Issue of clock data
[_msgEphemerisGpsDepE_iodc] :: MsgEphemerisGpsDepE -> !Word16
msgEphemerisGpsDepE_w :: Lens' MsgEphemerisGpsDepE Double
msgEphemerisGpsDepE_toc :: Lens' MsgEphemerisGpsDepE GpsTimeDep
msgEphemerisGpsDepE_tgd :: Lens' MsgEphemerisGpsDepE Double
msgEphemerisGpsDepE_sqrta :: Lens' MsgEphemerisGpsDepE Double
msgEphemerisGpsDepE_omegadot :: Lens' MsgEphemerisGpsDepE Double
msgEphemerisGpsDepE_omega0 :: Lens' MsgEphemerisGpsDepE Double
msgEphemerisGpsDepE_m0 :: Lens' MsgEphemerisGpsDepE Double
msgEphemerisGpsDepE_iode :: Lens' MsgEphemerisGpsDepE Word8
msgEphemerisGpsDepE_iodc :: Lens' MsgEphemerisGpsDepE Word16
msgEphemerisGpsDepE_inc_dot :: Lens' MsgEphemerisGpsDepE Double
msgEphemerisGpsDepE_inc :: Lens' MsgEphemerisGpsDepE Double
msgEphemerisGpsDepE_ecc :: Lens' MsgEphemerisGpsDepE Double
msgEphemerisGpsDepE_dn :: Lens' MsgEphemerisGpsDepE Double
msgEphemerisGpsDepE_common :: Lens' MsgEphemerisGpsDepE EphemerisCommonContentDepA
msgEphemerisGpsDepE_c_us :: Lens' MsgEphemerisGpsDepE Double
msgEphemerisGpsDepE_c_uc :: Lens' MsgEphemerisGpsDepE Double
msgEphemerisGpsDepE_c_rs :: Lens' MsgEphemerisGpsDepE Double
msgEphemerisGpsDepE_c_rc :: Lens' MsgEphemerisGpsDepE Double
msgEphemerisGpsDepE_c_is :: Lens' MsgEphemerisGpsDepE Double
msgEphemerisGpsDepE_c_ic :: Lens' MsgEphemerisGpsDepE Double
msgEphemerisGpsDepE_af2 :: Lens' MsgEphemerisGpsDepE Double
msgEphemerisGpsDepE_af1 :: Lens' MsgEphemerisGpsDepE Double
msgEphemerisGpsDepE_af0 :: Lens' MsgEphemerisGpsDepE Double
msgEphemerisGps :: Word16
-- | SBP class for message MSG_EPHEMERIS_GPS (0x0086).
--
-- The ephemeris message returns a set of satellite orbit parameters that
-- is used to calculate GPS satellite position, velocity, and clock
-- offset. Please see the Navstar GPS Space Segment/Navigation user
-- interfaces (ICD-GPS-200, Table 20-III) for more details.
data MsgEphemerisGps
MsgEphemerisGps :: !EphemerisCommonContent -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !GpsTimeSec -> !Word8 -> !Word16 -> MsgEphemerisGps
-- | Values common for all ephemeris types
[_msgEphemerisGps_common] :: MsgEphemerisGps -> !EphemerisCommonContent
-- | Group delay differential between L1 and L2
[_msgEphemerisGps_tgd] :: MsgEphemerisGps -> !Double
-- | Amplitude of the sine harmonic correction term to the orbit radius
[_msgEphemerisGps_c_rs] :: MsgEphemerisGps -> !Double
-- | Amplitude of the cosine harmonic correction term to the orbit radius
[_msgEphemerisGps_c_rc] :: MsgEphemerisGps -> !Double
-- | Amplitude of the cosine harmonic correction term to the argument of
-- latitude
[_msgEphemerisGps_c_uc] :: MsgEphemerisGps -> !Double
-- | Amplitude of the sine harmonic correction term to the argument of
-- latitude
[_msgEphemerisGps_c_us] :: MsgEphemerisGps -> !Double
-- | Amplitude of the cosine harmonic correction term to the angle of
-- inclination
[_msgEphemerisGps_c_ic] :: MsgEphemerisGps -> !Double
-- | Amplitude of the sine harmonic correction term to the angle of
-- inclination
[_msgEphemerisGps_c_is] :: MsgEphemerisGps -> !Double
-- | Mean motion difference
[_msgEphemerisGps_dn] :: MsgEphemerisGps -> !Double
-- | Mean anomaly at reference time
[_msgEphemerisGps_m0] :: MsgEphemerisGps -> !Double
-- | Eccentricity of satellite orbit
[_msgEphemerisGps_ecc] :: MsgEphemerisGps -> !Double
-- | Square root of the semi-major axis of orbit
[_msgEphemerisGps_sqrta] :: MsgEphemerisGps -> !Double
-- | Longitude of ascending node of orbit plane at weekly epoch
[_msgEphemerisGps_omega0] :: MsgEphemerisGps -> !Double
-- | Rate of right ascension
[_msgEphemerisGps_omegadot] :: MsgEphemerisGps -> !Double
-- | Argument of perigee
[_msgEphemerisGps_w] :: MsgEphemerisGps -> !Double
-- | Inclination
[_msgEphemerisGps_inc] :: MsgEphemerisGps -> !Double
-- | Inclination first derivative
[_msgEphemerisGps_inc_dot] :: MsgEphemerisGps -> !Double
-- | Polynomial clock correction coefficient (clock bias)
[_msgEphemerisGps_af0] :: MsgEphemerisGps -> !Double
-- | Polynomial clock correction coefficient (clock drift)
[_msgEphemerisGps_af1] :: MsgEphemerisGps -> !Double
-- | Polynomial clock correction coefficient (rate of clock drift)
[_msgEphemerisGps_af2] :: MsgEphemerisGps -> !Double
-- | Clock reference
[_msgEphemerisGps_toc] :: MsgEphemerisGps -> !GpsTimeSec
-- | Issue of ephemeris data
[_msgEphemerisGps_iode] :: MsgEphemerisGps -> !Word8
-- | Issue of clock data
[_msgEphemerisGps_iodc] :: MsgEphemerisGps -> !Word16
msgEphemerisGps_w :: Lens' MsgEphemerisGps Double
msgEphemerisGps_toc :: Lens' MsgEphemerisGps GpsTimeSec
msgEphemerisGps_tgd :: Lens' MsgEphemerisGps Double
msgEphemerisGps_sqrta :: Lens' MsgEphemerisGps Double
msgEphemerisGps_omegadot :: Lens' MsgEphemerisGps Double
msgEphemerisGps_omega0 :: Lens' MsgEphemerisGps Double
msgEphemerisGps_m0 :: Lens' MsgEphemerisGps Double
msgEphemerisGps_iode :: Lens' MsgEphemerisGps Word8
msgEphemerisGps_iodc :: Lens' MsgEphemerisGps Word16
msgEphemerisGps_inc_dot :: Lens' MsgEphemerisGps Double
msgEphemerisGps_inc :: Lens' MsgEphemerisGps Double
msgEphemerisGps_ecc :: Lens' MsgEphemerisGps Double
msgEphemerisGps_dn :: Lens' MsgEphemerisGps Double
msgEphemerisGps_common :: Lens' MsgEphemerisGps EphemerisCommonContent
msgEphemerisGps_c_us :: Lens' MsgEphemerisGps Double
msgEphemerisGps_c_uc :: Lens' MsgEphemerisGps Double
msgEphemerisGps_c_rs :: Lens' MsgEphemerisGps Double
msgEphemerisGps_c_rc :: Lens' MsgEphemerisGps Double
msgEphemerisGps_c_is :: Lens' MsgEphemerisGps Double
msgEphemerisGps_c_ic :: Lens' MsgEphemerisGps Double
msgEphemerisGps_af2 :: Lens' MsgEphemerisGps Double
msgEphemerisGps_af1 :: Lens' MsgEphemerisGps Double
msgEphemerisGps_af0 :: Lens' MsgEphemerisGps Double
msgEphemerisSbasDepA :: Word16
data MsgEphemerisSbasDepA
MsgEphemerisSbasDepA :: !EphemerisCommonContentDepA -> ![Double] -> ![Double] -> ![Double] -> !Double -> !Double -> MsgEphemerisSbasDepA
-- | Values common for all ephemeris types
[_msgEphemerisSbasDepA_common] :: MsgEphemerisSbasDepA -> !EphemerisCommonContentDepA
-- | Position of the GEO at time toe
[_msgEphemerisSbasDepA_pos] :: MsgEphemerisSbasDepA -> ![Double]
-- | Velocity of the GEO at time toe
[_msgEphemerisSbasDepA_vel] :: MsgEphemerisSbasDepA -> ![Double]
-- | Acceleration of the GEO at time toe
[_msgEphemerisSbasDepA_acc] :: MsgEphemerisSbasDepA -> ![Double]
-- | Time offset of the GEO clock w.r.t. SBAS Network Time
[_msgEphemerisSbasDepA_a_gf0] :: MsgEphemerisSbasDepA -> !Double
-- | Drift of the GEO clock w.r.t. SBAS Network Time
[_msgEphemerisSbasDepA_a_gf1] :: MsgEphemerisSbasDepA -> !Double
msgEphemerisSbasDepA_vel :: Lens' MsgEphemerisSbasDepA [Double]
msgEphemerisSbasDepA_pos :: Lens' MsgEphemerisSbasDepA [Double]
msgEphemerisSbasDepA_common :: Lens' MsgEphemerisSbasDepA EphemerisCommonContentDepA
msgEphemerisSbasDepA_acc :: Lens' MsgEphemerisSbasDepA [Double]
msgEphemerisSbasDepA_a_gf1 :: Lens' MsgEphemerisSbasDepA Double
msgEphemerisSbasDepA_a_gf0 :: Lens' MsgEphemerisSbasDepA Double
msgEphemerisGloDepA :: Word16
-- | SBP class for message MSG_EPHEMERIS_GLO_DEP_A (0x0083).
--
-- The ephemeris message returns a set of satellite orbit parameters that
-- is used to calculate GLO satellite position, velocity, and clock
-- offset. Please see the GLO ICD 5.1 "Table 4.5 Characteristics of words
-- of immediate information (ephemeris parameters)" for more details.
data MsgEphemerisGloDepA
MsgEphemerisGloDepA :: !EphemerisCommonContentDepA -> !Double -> !Double -> ![Double] -> ![Double] -> ![Double] -> MsgEphemerisGloDepA
-- | Values common for all ephemeris types
[_msgEphemerisGloDepA_common] :: MsgEphemerisGloDepA -> !EphemerisCommonContentDepA
-- | Relative deviation of predicted carrier frequency from nominal
[_msgEphemerisGloDepA_gamma] :: MsgEphemerisGloDepA -> !Double
-- | Correction to the SV time
[_msgEphemerisGloDepA_tau] :: MsgEphemerisGloDepA -> !Double
-- | Position of the SV at tb in PZ-90.02 coordinates system
[_msgEphemerisGloDepA_pos] :: MsgEphemerisGloDepA -> ![Double]
-- | Velocity vector of the SV at tb in PZ-90.02 coordinates system
[_msgEphemerisGloDepA_vel] :: MsgEphemerisGloDepA -> ![Double]
-- | Acceleration vector of the SV at tb in PZ-90.02 coordinates sys
[_msgEphemerisGloDepA_acc] :: MsgEphemerisGloDepA -> ![Double]
msgEphemerisGloDepA_vel :: Lens' MsgEphemerisGloDepA [Double]
msgEphemerisGloDepA_tau :: Lens' MsgEphemerisGloDepA Double
msgEphemerisGloDepA_pos :: Lens' MsgEphemerisGloDepA [Double]
msgEphemerisGloDepA_gamma :: Lens' MsgEphemerisGloDepA Double
msgEphemerisGloDepA_common :: Lens' MsgEphemerisGloDepA EphemerisCommonContentDepA
msgEphemerisGloDepA_acc :: Lens' MsgEphemerisGloDepA [Double]
msgEphemerisSbas :: Word16
data MsgEphemerisSbas
MsgEphemerisSbas :: !EphemerisCommonContent -> ![Double] -> ![Double] -> ![Double] -> !Double -> !Double -> MsgEphemerisSbas
-- | Values common for all ephemeris types
[_msgEphemerisSbas_common] :: MsgEphemerisSbas -> !EphemerisCommonContent
-- | Position of the GEO at time toe
[_msgEphemerisSbas_pos] :: MsgEphemerisSbas -> ![Double]
-- | Velocity of the GEO at time toe
[_msgEphemerisSbas_vel] :: MsgEphemerisSbas -> ![Double]
-- | Acceleration of the GEO at time toe
[_msgEphemerisSbas_acc] :: MsgEphemerisSbas -> ![Double]
-- | Time offset of the GEO clock w.r.t. SBAS Network Time
[_msgEphemerisSbas_a_gf0] :: MsgEphemerisSbas -> !Double
-- | Drift of the GEO clock w.r.t. SBAS Network Time
[_msgEphemerisSbas_a_gf1] :: MsgEphemerisSbas -> !Double
msgEphemerisSbas_vel :: Lens' MsgEphemerisSbas [Double]
msgEphemerisSbas_pos :: Lens' MsgEphemerisSbas [Double]
msgEphemerisSbas_common :: Lens' MsgEphemerisSbas EphemerisCommonContent
msgEphemerisSbas_acc :: Lens' MsgEphemerisSbas [Double]
msgEphemerisSbas_a_gf1 :: Lens' MsgEphemerisSbas Double
msgEphemerisSbas_a_gf0 :: Lens' MsgEphemerisSbas Double
msgEphemerisGloDepB :: Word16
-- | SBP class for message MSG_EPHEMERIS_GLO_DEP_B (0x0085).
--
-- The ephemeris message returns a set of satellite orbit parameters that
-- is used to calculate GLO satellite position, velocity, and clock
-- offset. Please see the GLO ICD 5.1 "Table 4.5 Characteristics of words
-- of immediate information (ephemeris parameters)" for more details.
data MsgEphemerisGloDepB
MsgEphemerisGloDepB :: !EphemerisCommonContent -> !Double -> !Double -> ![Double] -> ![Double] -> ![Double] -> MsgEphemerisGloDepB
-- | Values common for all ephemeris types
[_msgEphemerisGloDepB_common] :: MsgEphemerisGloDepB -> !EphemerisCommonContent
-- | Relative deviation of predicted carrier frequency from nominal
[_msgEphemerisGloDepB_gamma] :: MsgEphemerisGloDepB -> !Double
-- | Correction to the SV time
[_msgEphemerisGloDepB_tau] :: MsgEphemerisGloDepB -> !Double
-- | Position of the SV at tb in PZ-90.02 coordinates system
[_msgEphemerisGloDepB_pos] :: MsgEphemerisGloDepB -> ![Double]
-- | Velocity vector of the SV at tb in PZ-90.02 coordinates system
[_msgEphemerisGloDepB_vel] :: MsgEphemerisGloDepB -> ![Double]
-- | Acceleration vector of the SV at tb in PZ-90.02 coordinates sys
[_msgEphemerisGloDepB_acc] :: MsgEphemerisGloDepB -> ![Double]
msgEphemerisGloDepB_vel :: Lens' MsgEphemerisGloDepB [Double]
msgEphemerisGloDepB_tau :: Lens' MsgEphemerisGloDepB Double
msgEphemerisGloDepB_pos :: Lens' MsgEphemerisGloDepB [Double]
msgEphemerisGloDepB_gamma :: Lens' MsgEphemerisGloDepB Double
msgEphemerisGloDepB_common :: Lens' MsgEphemerisGloDepB EphemerisCommonContent
msgEphemerisGloDepB_acc :: Lens' MsgEphemerisGloDepB [Double]
msgEphemerisGloDepC :: Word16
-- | SBP class for message MSG_EPHEMERIS_GLO_DEP_C (0x0087).
--
-- The ephemeris message returns a set of satellite orbit parameters that
-- is used to calculate GLO satellite position, velocity, and clock
-- offset. Please see the GLO ICD 5.1 "Table 4.5 Characteristics of words
-- of immediate information (ephemeris parameters)" for more details.
data MsgEphemerisGloDepC
MsgEphemerisGloDepC :: !EphemerisCommonContent -> !Double -> !Double -> !Double -> ![Double] -> ![Double] -> ![Double] -> !Word8 -> MsgEphemerisGloDepC
-- | Values common for all ephemeris types
[_msgEphemerisGloDepC_common] :: MsgEphemerisGloDepC -> !EphemerisCommonContent
-- | Relative deviation of predicted carrier frequency from nominal
[_msgEphemerisGloDepC_gamma] :: MsgEphemerisGloDepC -> !Double
-- | Correction to the SV time
[_msgEphemerisGloDepC_tau] :: MsgEphemerisGloDepC -> !Double
-- | Equipment delay between L1 and L2
[_msgEphemerisGloDepC_d_tau] :: MsgEphemerisGloDepC -> !Double
-- | Position of the SV at tb in PZ-90.02 coordinates system
[_msgEphemerisGloDepC_pos] :: MsgEphemerisGloDepC -> ![Double]
-- | Velocity vector of the SV at tb in PZ-90.02 coordinates system
[_msgEphemerisGloDepC_vel] :: MsgEphemerisGloDepC -> ![Double]
-- | Acceleration vector of the SV at tb in PZ-90.02 coordinates sys
[_msgEphemerisGloDepC_acc] :: MsgEphemerisGloDepC -> ![Double]
-- | Frequency slot. FCN+8 (that is [1..14]). 0 or 0xFF for invalid
[_msgEphemerisGloDepC_fcn] :: MsgEphemerisGloDepC -> !Word8
msgEphemerisGloDepC_vel :: Lens' MsgEphemerisGloDepC [Double]
msgEphemerisGloDepC_tau :: Lens' MsgEphemerisGloDepC Double
msgEphemerisGloDepC_pos :: Lens' MsgEphemerisGloDepC [Double]
msgEphemerisGloDepC_gamma :: Lens' MsgEphemerisGloDepC Double
msgEphemerisGloDepC_fcn :: Lens' MsgEphemerisGloDepC Word8
msgEphemerisGloDepC_d_tau :: Lens' MsgEphemerisGloDepC Double
msgEphemerisGloDepC_common :: Lens' MsgEphemerisGloDepC EphemerisCommonContent
msgEphemerisGloDepC_acc :: Lens' MsgEphemerisGloDepC [Double]
msgEphemerisGlo :: Word16
-- | SBP class for message MSG_EPHEMERIS_GLO (0x0088).
--
-- The ephemeris message returns a set of satellite orbit parameters that
-- is used to calculate GLO satellite position, velocity, and clock
-- offset. Please see the GLO ICD 5.1 "Table 4.5 Characteristics of words
-- of immediate information (ephemeris parameters)" for more details.
data MsgEphemerisGlo
MsgEphemerisGlo :: !EphemerisCommonContent -> !Double -> !Double -> !Double -> ![Double] -> ![Double] -> ![Double] -> !Word8 -> !Word8 -> MsgEphemerisGlo
-- | Values common for all ephemeris types
[_msgEphemerisGlo_common] :: MsgEphemerisGlo -> !EphemerisCommonContent
-- | Relative deviation of predicted carrier frequency from nominal
[_msgEphemerisGlo_gamma] :: MsgEphemerisGlo -> !Double
-- | Correction to the SV time
[_msgEphemerisGlo_tau] :: MsgEphemerisGlo -> !Double
-- | Equipment delay between L1 and L2
[_msgEphemerisGlo_d_tau] :: MsgEphemerisGlo -> !Double
-- | Position of the SV at tb in PZ-90.02 coordinates system
[_msgEphemerisGlo_pos] :: MsgEphemerisGlo -> ![Double]
-- | Velocity vector of the SV at tb in PZ-90.02 coordinates system
[_msgEphemerisGlo_vel] :: MsgEphemerisGlo -> ![Double]
-- | Acceleration vector of the SV at tb in PZ-90.02 coordinates sys
[_msgEphemerisGlo_acc] :: MsgEphemerisGlo -> ![Double]
-- | Frequency slot. FCN+8 (that is [1..14]). 0 or 0xFF for invalid
[_msgEphemerisGlo_fcn] :: MsgEphemerisGlo -> !Word8
-- | Issue of ephemeris data
[_msgEphemerisGlo_iod] :: MsgEphemerisGlo -> !Word8
msgEphemerisGlo_vel :: Lens' MsgEphemerisGlo [Double]
msgEphemerisGlo_tau :: Lens' MsgEphemerisGlo Double
msgEphemerisGlo_pos :: Lens' MsgEphemerisGlo [Double]
msgEphemerisGlo_iod :: Lens' MsgEphemerisGlo Word8
msgEphemerisGlo_gamma :: Lens' MsgEphemerisGlo Double
msgEphemerisGlo_fcn :: Lens' MsgEphemerisGlo Word8
msgEphemerisGlo_d_tau :: Lens' MsgEphemerisGlo Double
msgEphemerisGlo_common :: Lens' MsgEphemerisGlo EphemerisCommonContent
msgEphemerisGlo_acc :: Lens' MsgEphemerisGlo [Double]
msgEphemerisDepD :: Word16
-- | SBP class for message MSG_EPHEMERIS_DEP_D (0x0080).
--
-- The ephemeris message returns a set of satellite orbit parameters that
-- is used to calculate GPS satellite position, velocity, and clock
-- offset. Please see the Navstar GPS Space Segment/Navigation user
-- interfaces (ICD-GPS-200, Table 20-III) for more details.
data MsgEphemerisDepD
MsgEphemerisDepD :: !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Word16 -> !Double -> !Word16 -> !Word8 -> !Word8 -> !GnssSignalDep -> !Word8 -> !Word16 -> !Word32 -> MsgEphemerisDepD
-- | Group delay differential between L1 and L2
[_msgEphemerisDepD_tgd] :: MsgEphemerisDepD -> !Double
-- | Amplitude of the sine harmonic correction term to the orbit radius
[_msgEphemerisDepD_c_rs] :: MsgEphemerisDepD -> !Double
-- | Amplitude of the cosine harmonic correction term to the orbit radius
[_msgEphemerisDepD_c_rc] :: MsgEphemerisDepD -> !Double
-- | Amplitude of the cosine harmonic correction term to the argument of
-- latitude
[_msgEphemerisDepD_c_uc] :: MsgEphemerisDepD -> !Double
-- | Amplitude of the sine harmonic correction term to the argument of
-- latitude
[_msgEphemerisDepD_c_us] :: MsgEphemerisDepD -> !Double
-- | Amplitude of the cosine harmonic correction term to the angle of
-- inclination
[_msgEphemerisDepD_c_ic] :: MsgEphemerisDepD -> !Double
-- | Amplitude of the sine harmonic correction term to the angle of
-- inclination
[_msgEphemerisDepD_c_is] :: MsgEphemerisDepD -> !Double
-- | Mean motion difference
[_msgEphemerisDepD_dn] :: MsgEphemerisDepD -> !Double
-- | Mean anomaly at reference time
[_msgEphemerisDepD_m0] :: MsgEphemerisDepD -> !Double
-- | Eccentricity of satellite orbit
[_msgEphemerisDepD_ecc] :: MsgEphemerisDepD -> !Double
-- | Square root of the semi-major axis of orbit
[_msgEphemerisDepD_sqrta] :: MsgEphemerisDepD -> !Double
-- | Longitude of ascending node of orbit plane at weekly epoch
[_msgEphemerisDepD_omega0] :: MsgEphemerisDepD -> !Double
-- | Rate of right ascension
[_msgEphemerisDepD_omegadot] :: MsgEphemerisDepD -> !Double
-- | Argument of perigee
[_msgEphemerisDepD_w] :: MsgEphemerisDepD -> !Double
-- | Inclination
[_msgEphemerisDepD_inc] :: MsgEphemerisDepD -> !Double
-- | Inclination first derivative
[_msgEphemerisDepD_inc_dot] :: MsgEphemerisDepD -> !Double
-- | Polynomial clock correction coefficient (clock bias)
[_msgEphemerisDepD_af0] :: MsgEphemerisDepD -> !Double
-- | Polynomial clock correction coefficient (clock drift)
[_msgEphemerisDepD_af1] :: MsgEphemerisDepD -> !Double
-- | Polynomial clock correction coefficient (rate of clock drift)
[_msgEphemerisDepD_af2] :: MsgEphemerisDepD -> !Double
-- | Time of week
[_msgEphemerisDepD_toe_tow] :: MsgEphemerisDepD -> !Double
-- | Week number
[_msgEphemerisDepD_toe_wn] :: MsgEphemerisDepD -> !Word16
-- | Clock reference time of week
[_msgEphemerisDepD_toc_tow] :: MsgEphemerisDepD -> !Double
-- | Clock reference week number
[_msgEphemerisDepD_toc_wn] :: MsgEphemerisDepD -> !Word16
-- | Is valid?
[_msgEphemerisDepD_valid] :: MsgEphemerisDepD -> !Word8
-- | Satellite is healthy?
[_msgEphemerisDepD_healthy] :: MsgEphemerisDepD -> !Word8
-- | GNSS signal identifier
[_msgEphemerisDepD_sid] :: MsgEphemerisDepD -> !GnssSignalDep
-- | Issue of ephemeris data
[_msgEphemerisDepD_iode] :: MsgEphemerisDepD -> !Word8
-- | Issue of clock data
[_msgEphemerisDepD_iodc] :: MsgEphemerisDepD -> !Word16
-- | Reserved field
[_msgEphemerisDepD_reserved] :: MsgEphemerisDepD -> !Word32
msgEphemerisDepD_w :: Lens' MsgEphemerisDepD Double
msgEphemerisDepD_valid :: Lens' MsgEphemerisDepD Word8
msgEphemerisDepD_toe_wn :: Lens' MsgEphemerisDepD Word16
msgEphemerisDepD_toe_tow :: Lens' MsgEphemerisDepD Double
msgEphemerisDepD_toc_wn :: Lens' MsgEphemerisDepD Word16
msgEphemerisDepD_toc_tow :: Lens' MsgEphemerisDepD Double
msgEphemerisDepD_tgd :: Lens' MsgEphemerisDepD Double
msgEphemerisDepD_sqrta :: Lens' MsgEphemerisDepD Double
msgEphemerisDepD_sid :: Lens' MsgEphemerisDepD GnssSignalDep
msgEphemerisDepD_reserved :: Lens' MsgEphemerisDepD Word32
msgEphemerisDepD_omegadot :: Lens' MsgEphemerisDepD Double
msgEphemerisDepD_omega0 :: Lens' MsgEphemerisDepD Double
msgEphemerisDepD_m0 :: Lens' MsgEphemerisDepD Double
msgEphemerisDepD_iode :: Lens' MsgEphemerisDepD Word8
msgEphemerisDepD_iodc :: Lens' MsgEphemerisDepD Word16
msgEphemerisDepD_inc_dot :: Lens' MsgEphemerisDepD Double
msgEphemerisDepD_inc :: Lens' MsgEphemerisDepD Double
msgEphemerisDepD_healthy :: Lens' MsgEphemerisDepD Word8
msgEphemerisDepD_ecc :: Lens' MsgEphemerisDepD Double
msgEphemerisDepD_dn :: Lens' MsgEphemerisDepD Double
msgEphemerisDepD_c_us :: Lens' MsgEphemerisDepD Double
msgEphemerisDepD_c_uc :: Lens' MsgEphemerisDepD Double
msgEphemerisDepD_c_rs :: Lens' MsgEphemerisDepD Double
msgEphemerisDepD_c_rc :: Lens' MsgEphemerisDepD Double
msgEphemerisDepD_c_is :: Lens' MsgEphemerisDepD Double
msgEphemerisDepD_c_ic :: Lens' MsgEphemerisDepD Double
msgEphemerisDepD_af2 :: Lens' MsgEphemerisDepD Double
msgEphemerisDepD_af1 :: Lens' MsgEphemerisDepD Double
msgEphemerisDepD_af0 :: Lens' MsgEphemerisDepD Double
msgEphemerisDepA :: Word16
-- | SBP class for message MSG_EPHEMERIS_DEP_A (0x001A).
--
-- Deprecated.
data MsgEphemerisDepA
MsgEphemerisDepA :: !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Word16 -> !Double -> !Word16 -> !Word8 -> !Word8 -> !Word8 -> MsgEphemerisDepA
-- | Group delay differential between L1 and L2
[_msgEphemerisDepA_tgd] :: MsgEphemerisDepA -> !Double
-- | Amplitude of the sine harmonic correction term to the orbit radius
[_msgEphemerisDepA_c_rs] :: MsgEphemerisDepA -> !Double
-- | Amplitude of the cosine harmonic correction term to the orbit radius
[_msgEphemerisDepA_c_rc] :: MsgEphemerisDepA -> !Double
-- | Amplitude of the cosine harmonic correction term to the argument of
-- latitude
[_msgEphemerisDepA_c_uc] :: MsgEphemerisDepA -> !Double
-- | Amplitude of the sine harmonic correction term to the argument of
-- latitude
[_msgEphemerisDepA_c_us] :: MsgEphemerisDepA -> !Double
-- | Amplitude of the cosine harmonic correction term to the angle of
-- inclination
[_msgEphemerisDepA_c_ic] :: MsgEphemerisDepA -> !Double
-- | Amplitude of the sine harmonic correction term to the angle of
-- inclination
[_msgEphemerisDepA_c_is] :: MsgEphemerisDepA -> !Double
-- | Mean motion difference
[_msgEphemerisDepA_dn] :: MsgEphemerisDepA -> !Double
-- | Mean anomaly at reference time
[_msgEphemerisDepA_m0] :: MsgEphemerisDepA -> !Double
-- | Eccentricity of satellite orbit
[_msgEphemerisDepA_ecc] :: MsgEphemerisDepA -> !Double
-- | Square root of the semi-major axis of orbit
[_msgEphemerisDepA_sqrta] :: MsgEphemerisDepA -> !Double
-- | Longitude of ascending node of orbit plane at weekly epoch
[_msgEphemerisDepA_omega0] :: MsgEphemerisDepA -> !Double
-- | Rate of right ascension
[_msgEphemerisDepA_omegadot] :: MsgEphemerisDepA -> !Double
-- | Argument of perigee
[_msgEphemerisDepA_w] :: MsgEphemerisDepA -> !Double
-- | Inclination
[_msgEphemerisDepA_inc] :: MsgEphemerisDepA -> !Double
-- | Inclination first derivative
[_msgEphemerisDepA_inc_dot] :: MsgEphemerisDepA -> !Double
-- | Polynomial clock correction coefficient (clock bias)
[_msgEphemerisDepA_af0] :: MsgEphemerisDepA -> !Double
-- | Polynomial clock correction coefficient (clock drift)
[_msgEphemerisDepA_af1] :: MsgEphemerisDepA -> !Double
-- | Polynomial clock correction coefficient (rate of clock drift)
[_msgEphemerisDepA_af2] :: MsgEphemerisDepA -> !Double
-- | Time of week
[_msgEphemerisDepA_toe_tow] :: MsgEphemerisDepA -> !Double
-- | Week number
[_msgEphemerisDepA_toe_wn] :: MsgEphemerisDepA -> !Word16
-- | Clock reference time of week
[_msgEphemerisDepA_toc_tow] :: MsgEphemerisDepA -> !Double
-- | Clock reference week number
[_msgEphemerisDepA_toc_wn] :: MsgEphemerisDepA -> !Word16
-- | Is valid?
[_msgEphemerisDepA_valid] :: MsgEphemerisDepA -> !Word8
-- | Satellite is healthy?
[_msgEphemerisDepA_healthy] :: MsgEphemerisDepA -> !Word8
-- | PRN being tracked
[_msgEphemerisDepA_prn] :: MsgEphemerisDepA -> !Word8
msgEphemerisDepA_w :: Lens' MsgEphemerisDepA Double
msgEphemerisDepA_valid :: Lens' MsgEphemerisDepA Word8
msgEphemerisDepA_toe_wn :: Lens' MsgEphemerisDepA Word16
msgEphemerisDepA_toe_tow :: Lens' MsgEphemerisDepA Double
msgEphemerisDepA_toc_wn :: Lens' MsgEphemerisDepA Word16
msgEphemerisDepA_toc_tow :: Lens' MsgEphemerisDepA Double
msgEphemerisDepA_tgd :: Lens' MsgEphemerisDepA Double
msgEphemerisDepA_sqrta :: Lens' MsgEphemerisDepA Double
msgEphemerisDepA_prn :: Lens' MsgEphemerisDepA Word8
msgEphemerisDepA_omegadot :: Lens' MsgEphemerisDepA Double
msgEphemerisDepA_omega0 :: Lens' MsgEphemerisDepA Double
msgEphemerisDepA_m0 :: Lens' MsgEphemerisDepA Double
msgEphemerisDepA_inc_dot :: Lens' MsgEphemerisDepA Double
msgEphemerisDepA_inc :: Lens' MsgEphemerisDepA Double
msgEphemerisDepA_healthy :: Lens' MsgEphemerisDepA Word8
msgEphemerisDepA_ecc :: Lens' MsgEphemerisDepA Double
msgEphemerisDepA_dn :: Lens' MsgEphemerisDepA Double
msgEphemerisDepA_c_us :: Lens' MsgEphemerisDepA Double
msgEphemerisDepA_c_uc :: Lens' MsgEphemerisDepA Double
msgEphemerisDepA_c_rs :: Lens' MsgEphemerisDepA Double
msgEphemerisDepA_c_rc :: Lens' MsgEphemerisDepA Double
msgEphemerisDepA_c_is :: Lens' MsgEphemerisDepA Double
msgEphemerisDepA_c_ic :: Lens' MsgEphemerisDepA Double
msgEphemerisDepA_af2 :: Lens' MsgEphemerisDepA Double
msgEphemerisDepA_af1 :: Lens' MsgEphemerisDepA Double
msgEphemerisDepA_af0 :: Lens' MsgEphemerisDepA Double
msgEphemerisDepB :: Word16
-- | SBP class for message MSG_EPHEMERIS_DEP_B (0x0046).
--
-- Deprecated.
data MsgEphemerisDepB
MsgEphemerisDepB :: !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Word16 -> !Double -> !Word16 -> !Word8 -> !Word8 -> !Word8 -> !Word8 -> MsgEphemerisDepB
-- | Group delay differential between L1 and L2
[_msgEphemerisDepB_tgd] :: MsgEphemerisDepB -> !Double
-- | Amplitude of the sine harmonic correction term to the orbit radius
[_msgEphemerisDepB_c_rs] :: MsgEphemerisDepB -> !Double
-- | Amplitude of the cosine harmonic correction term to the orbit radius
[_msgEphemerisDepB_c_rc] :: MsgEphemerisDepB -> !Double
-- | Amplitude of the cosine harmonic correction term to the argument of
-- latitude
[_msgEphemerisDepB_c_uc] :: MsgEphemerisDepB -> !Double
-- | Amplitude of the sine harmonic correction term to the argument of
-- latitude
[_msgEphemerisDepB_c_us] :: MsgEphemerisDepB -> !Double
-- | Amplitude of the cosine harmonic correction term to the angle of
-- inclination
[_msgEphemerisDepB_c_ic] :: MsgEphemerisDepB -> !Double
-- | Amplitude of the sine harmonic correction term to the angle of
-- inclination
[_msgEphemerisDepB_c_is] :: MsgEphemerisDepB -> !Double
-- | Mean motion difference
[_msgEphemerisDepB_dn] :: MsgEphemerisDepB -> !Double
-- | Mean anomaly at reference time
[_msgEphemerisDepB_m0] :: MsgEphemerisDepB -> !Double
-- | Eccentricity of satellite orbit
[_msgEphemerisDepB_ecc] :: MsgEphemerisDepB -> !Double
-- | Square root of the semi-major axis of orbit
[_msgEphemerisDepB_sqrta] :: MsgEphemerisDepB -> !Double
-- | Longitude of ascending node of orbit plane at weekly epoch
[_msgEphemerisDepB_omega0] :: MsgEphemerisDepB -> !Double
-- | Rate of right ascension
[_msgEphemerisDepB_omegadot] :: MsgEphemerisDepB -> !Double
-- | Argument of perigee
[_msgEphemerisDepB_w] :: MsgEphemerisDepB -> !Double
-- | Inclination
[_msgEphemerisDepB_inc] :: MsgEphemerisDepB -> !Double
-- | Inclination first derivative
[_msgEphemerisDepB_inc_dot] :: MsgEphemerisDepB -> !Double
-- | Polynomial clock correction coefficient (clock bias)
[_msgEphemerisDepB_af0] :: MsgEphemerisDepB -> !Double
-- | Polynomial clock correction coefficient (clock drift)
[_msgEphemerisDepB_af1] :: MsgEphemerisDepB -> !Double
-- | Polynomial clock correction coefficient (rate of clock drift)
[_msgEphemerisDepB_af2] :: MsgEphemerisDepB -> !Double
-- | Time of week
[_msgEphemerisDepB_toe_tow] :: MsgEphemerisDepB -> !Double
-- | Week number
[_msgEphemerisDepB_toe_wn] :: MsgEphemerisDepB -> !Word16
-- | Clock reference time of week
[_msgEphemerisDepB_toc_tow] :: MsgEphemerisDepB -> !Double
-- | Clock reference week number
[_msgEphemerisDepB_toc_wn] :: MsgEphemerisDepB -> !Word16
-- | Is valid?
[_msgEphemerisDepB_valid] :: MsgEphemerisDepB -> !Word8
-- | Satellite is healthy?
[_msgEphemerisDepB_healthy] :: MsgEphemerisDepB -> !Word8
-- | PRN being tracked
[_msgEphemerisDepB_prn] :: MsgEphemerisDepB -> !Word8
-- | Issue of ephemeris data
[_msgEphemerisDepB_iode] :: MsgEphemerisDepB -> !Word8
msgEphemerisDepB_w :: Lens' MsgEphemerisDepB Double
msgEphemerisDepB_valid :: Lens' MsgEphemerisDepB Word8
msgEphemerisDepB_toe_wn :: Lens' MsgEphemerisDepB Word16
msgEphemerisDepB_toe_tow :: Lens' MsgEphemerisDepB Double
msgEphemerisDepB_toc_wn :: Lens' MsgEphemerisDepB Word16
msgEphemerisDepB_toc_tow :: Lens' MsgEphemerisDepB Double
msgEphemerisDepB_tgd :: Lens' MsgEphemerisDepB Double
msgEphemerisDepB_sqrta :: Lens' MsgEphemerisDepB Double
msgEphemerisDepB_prn :: Lens' MsgEphemerisDepB Word8
msgEphemerisDepB_omegadot :: Lens' MsgEphemerisDepB Double
msgEphemerisDepB_omega0 :: Lens' MsgEphemerisDepB Double
msgEphemerisDepB_m0 :: Lens' MsgEphemerisDepB Double
msgEphemerisDepB_iode :: Lens' MsgEphemerisDepB Word8
msgEphemerisDepB_inc_dot :: Lens' MsgEphemerisDepB Double
msgEphemerisDepB_inc :: Lens' MsgEphemerisDepB Double
msgEphemerisDepB_healthy :: Lens' MsgEphemerisDepB Word8
msgEphemerisDepB_ecc :: Lens' MsgEphemerisDepB Double
msgEphemerisDepB_dn :: Lens' MsgEphemerisDepB Double
msgEphemerisDepB_c_us :: Lens' MsgEphemerisDepB Double
msgEphemerisDepB_c_uc :: Lens' MsgEphemerisDepB Double
msgEphemerisDepB_c_rs :: Lens' MsgEphemerisDepB Double
msgEphemerisDepB_c_rc :: Lens' MsgEphemerisDepB Double
msgEphemerisDepB_c_is :: Lens' MsgEphemerisDepB Double
msgEphemerisDepB_c_ic :: Lens' MsgEphemerisDepB Double
msgEphemerisDepB_af2 :: Lens' MsgEphemerisDepB Double
msgEphemerisDepB_af1 :: Lens' MsgEphemerisDepB Double
msgEphemerisDepB_af0 :: Lens' MsgEphemerisDepB Double
msgEphemerisDepC :: Word16
-- | SBP class for message MSG_EPHEMERIS_DEP_C (0x0047).
--
-- The ephemeris message returns a set of satellite orbit parameters that
-- is used to calculate GPS satellite position, velocity, and clock
-- offset. Please see the Navstar GPS Space Segment/Navigation user
-- interfaces (ICD-GPS-200, Table 20-III) for more details.
data MsgEphemerisDepC
MsgEphemerisDepC :: !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Word16 -> !Double -> !Word16 -> !Word8 -> !Word8 -> !GnssSignalDep -> !Word8 -> !Word16 -> !Word32 -> MsgEphemerisDepC
-- | Group delay differential between L1 and L2
[_msgEphemerisDepC_tgd] :: MsgEphemerisDepC -> !Double
-- | Amplitude of the sine harmonic correction term to the orbit radius
[_msgEphemerisDepC_c_rs] :: MsgEphemerisDepC -> !Double
-- | Amplitude of the cosine harmonic correction term to the orbit radius
[_msgEphemerisDepC_c_rc] :: MsgEphemerisDepC -> !Double
-- | Amplitude of the cosine harmonic correction term to the argument of
-- latitude
[_msgEphemerisDepC_c_uc] :: MsgEphemerisDepC -> !Double
-- | Amplitude of the sine harmonic correction term to the argument of
-- latitude
[_msgEphemerisDepC_c_us] :: MsgEphemerisDepC -> !Double
-- | Amplitude of the cosine harmonic correction term to the angle of
-- inclination
[_msgEphemerisDepC_c_ic] :: MsgEphemerisDepC -> !Double
-- | Amplitude of the sine harmonic correction term to the angle of
-- inclination
[_msgEphemerisDepC_c_is] :: MsgEphemerisDepC -> !Double
-- | Mean motion difference
[_msgEphemerisDepC_dn] :: MsgEphemerisDepC -> !Double
-- | Mean anomaly at reference time
[_msgEphemerisDepC_m0] :: MsgEphemerisDepC -> !Double
-- | Eccentricity of satellite orbit
[_msgEphemerisDepC_ecc] :: MsgEphemerisDepC -> !Double
-- | Square root of the semi-major axis of orbit
[_msgEphemerisDepC_sqrta] :: MsgEphemerisDepC -> !Double
-- | Longitude of ascending node of orbit plane at weekly epoch
[_msgEphemerisDepC_omega0] :: MsgEphemerisDepC -> !Double
-- | Rate of right ascension
[_msgEphemerisDepC_omegadot] :: MsgEphemerisDepC -> !Double
-- | Argument of perigee
[_msgEphemerisDepC_w] :: MsgEphemerisDepC -> !Double
-- | Inclination
[_msgEphemerisDepC_inc] :: MsgEphemerisDepC -> !Double
-- | Inclination first derivative
[_msgEphemerisDepC_inc_dot] :: MsgEphemerisDepC -> !Double
-- | Polynomial clock correction coefficient (clock bias)
[_msgEphemerisDepC_af0] :: MsgEphemerisDepC -> !Double
-- | Polynomial clock correction coefficient (clock drift)
[_msgEphemerisDepC_af1] :: MsgEphemerisDepC -> !Double
-- | Polynomial clock correction coefficient (rate of clock drift)
[_msgEphemerisDepC_af2] :: MsgEphemerisDepC -> !Double
-- | Time of week
[_msgEphemerisDepC_toe_tow] :: MsgEphemerisDepC -> !Double
-- | Week number
[_msgEphemerisDepC_toe_wn] :: MsgEphemerisDepC -> !Word16
-- | Clock reference time of week
[_msgEphemerisDepC_toc_tow] :: MsgEphemerisDepC -> !Double
-- | Clock reference week number
[_msgEphemerisDepC_toc_wn] :: MsgEphemerisDepC -> !Word16
-- | Is valid?
[_msgEphemerisDepC_valid] :: MsgEphemerisDepC -> !Word8
-- | Satellite is healthy?
[_msgEphemerisDepC_healthy] :: MsgEphemerisDepC -> !Word8
-- | GNSS signal identifier
[_msgEphemerisDepC_sid] :: MsgEphemerisDepC -> !GnssSignalDep
-- | Issue of ephemeris data
[_msgEphemerisDepC_iode] :: MsgEphemerisDepC -> !Word8
-- | Issue of clock data
[_msgEphemerisDepC_iodc] :: MsgEphemerisDepC -> !Word16
-- | Reserved field
[_msgEphemerisDepC_reserved] :: MsgEphemerisDepC -> !Word32
msgEphemerisDepC_w :: Lens' MsgEphemerisDepC Double
msgEphemerisDepC_valid :: Lens' MsgEphemerisDepC Word8
msgEphemerisDepC_toe_wn :: Lens' MsgEphemerisDepC Word16
msgEphemerisDepC_toe_tow :: Lens' MsgEphemerisDepC Double
msgEphemerisDepC_toc_wn :: Lens' MsgEphemerisDepC Word16
msgEphemerisDepC_toc_tow :: Lens' MsgEphemerisDepC Double
msgEphemerisDepC_tgd :: Lens' MsgEphemerisDepC Double
msgEphemerisDepC_sqrta :: Lens' MsgEphemerisDepC Double
msgEphemerisDepC_sid :: Lens' MsgEphemerisDepC GnssSignalDep
msgEphemerisDepC_reserved :: Lens' MsgEphemerisDepC Word32
msgEphemerisDepC_omegadot :: Lens' MsgEphemerisDepC Double
msgEphemerisDepC_omega0 :: Lens' MsgEphemerisDepC Double
msgEphemerisDepC_m0 :: Lens' MsgEphemerisDepC Double
msgEphemerisDepC_iode :: Lens' MsgEphemerisDepC Word8
msgEphemerisDepC_iodc :: Lens' MsgEphemerisDepC Word16
msgEphemerisDepC_inc_dot :: Lens' MsgEphemerisDepC Double
msgEphemerisDepC_inc :: Lens' MsgEphemerisDepC Double
msgEphemerisDepC_healthy :: Lens' MsgEphemerisDepC Word8
msgEphemerisDepC_ecc :: Lens' MsgEphemerisDepC Double
msgEphemerisDepC_dn :: Lens' MsgEphemerisDepC Double
msgEphemerisDepC_c_us :: Lens' MsgEphemerisDepC Double
msgEphemerisDepC_c_uc :: Lens' MsgEphemerisDepC Double
msgEphemerisDepC_c_rs :: Lens' MsgEphemerisDepC Double
msgEphemerisDepC_c_rc :: Lens' MsgEphemerisDepC Double
msgEphemerisDepC_c_is :: Lens' MsgEphemerisDepC Double
msgEphemerisDepC_c_ic :: Lens' MsgEphemerisDepC Double
msgEphemerisDepC_af2 :: Lens' MsgEphemerisDepC Double
msgEphemerisDepC_af1 :: Lens' MsgEphemerisDepC Double
msgEphemerisDepC_af0 :: Lens' MsgEphemerisDepC Double
-- | ObservationHeaderDep.
--
-- Header of a GPS observation message.
data ObservationHeaderDep
ObservationHeaderDep :: !GpsTimeDep -> !Word8 -> ObservationHeaderDep
-- | GPS time of this observation
[_observationHeaderDep_t] :: ObservationHeaderDep -> !GpsTimeDep
-- | Total number of observations. First nibble is the size of the sequence
-- (n), second nibble is the zero-indexed counter (ith packet of n)
[_observationHeaderDep_n_obs] :: ObservationHeaderDep -> !Word8
observationHeaderDep_t :: Lens' ObservationHeaderDep GpsTimeDep
observationHeaderDep_n_obs :: Lens' ObservationHeaderDep Word8
-- | CarrierPhaseDepA.
--
-- Carrier phase measurement in cycles represented as a 40-bit fixed
-- point number with Q32.8 layout, i.e. 32-bits of whole cycles and
-- 8-bits of fractional cycles. This has the opposite sign convention
-- than a typical GPS receiver and the phase has the opposite sign as the
-- pseudorange.
data CarrierPhaseDepA
CarrierPhaseDepA :: !Int32 -> !Word8 -> CarrierPhaseDepA
-- | Carrier phase whole cycles
[_carrierPhaseDepA_i] :: CarrierPhaseDepA -> !Int32
-- | Carrier phase fractional part
[_carrierPhaseDepA_f] :: CarrierPhaseDepA -> !Word8
carrierPhaseDepA_i :: Lens' CarrierPhaseDepA Int32
carrierPhaseDepA_f :: Lens' CarrierPhaseDepA Word8
-- | PackedObsContentDepA.
--
-- Deprecated.
data PackedObsContentDepA
PackedObsContentDepA :: !Word32 -> !CarrierPhaseDepA -> !Word8 -> !Word16 -> !Word8 -> PackedObsContentDepA
-- | Pseudorange observation
[_packedObsContentDepA_P] :: PackedObsContentDepA -> !Word32
-- | Carrier phase observation with opposite sign from typical convention
[_packedObsContentDepA_L] :: PackedObsContentDepA -> !CarrierPhaseDepA
-- | Carrier-to-Noise density
[_packedObsContentDepA_cn0] :: PackedObsContentDepA -> !Word8
-- | Lock indicator. This value changes whenever a satellite signal has
-- lost and regained lock, indicating that the carrier phase ambiguity
-- may have changed.
[_packedObsContentDepA_lock] :: PackedObsContentDepA -> !Word16
-- | PRN-1 identifier of the satellite signal
[_packedObsContentDepA_prn] :: PackedObsContentDepA -> !Word8
packedObsContentDepA_prn :: Lens' PackedObsContentDepA Word8
packedObsContentDepA_lock :: Lens' PackedObsContentDepA Word16
packedObsContentDepA_cn0 :: Lens' PackedObsContentDepA Word8
packedObsContentDepA_P :: Lens' PackedObsContentDepA Word32
packedObsContentDepA_L :: Lens' PackedObsContentDepA CarrierPhaseDepA
-- | PackedObsContentDepB.
--
-- Pseudorange and carrier phase observation for a satellite being
-- tracked. Pseudoranges are referenced to a nominal pseudorange.
data PackedObsContentDepB
PackedObsContentDepB :: !Word32 -> !CarrierPhaseDepA -> !Word8 -> !Word16 -> !GnssSignalDep -> PackedObsContentDepB
-- | Pseudorange observation
[_packedObsContentDepB_P] :: PackedObsContentDepB -> !Word32
-- | Carrier phase observation with opposite sign from typical convention.
[_packedObsContentDepB_L] :: PackedObsContentDepB -> !CarrierPhaseDepA
-- | Carrier-to-Noise density
[_packedObsContentDepB_cn0] :: PackedObsContentDepB -> !Word8
-- | Lock indicator. This value changes whenever a satellite signal has
-- lost and regained lock, indicating that the carrier phase ambiguity
-- may have changed.
[_packedObsContentDepB_lock] :: PackedObsContentDepB -> !Word16
-- | GNSS signal identifier
[_packedObsContentDepB_sid] :: PackedObsContentDepB -> !GnssSignalDep
packedObsContentDepB_sid :: Lens' PackedObsContentDepB GnssSignalDep
packedObsContentDepB_lock :: Lens' PackedObsContentDepB Word16
packedObsContentDepB_cn0 :: Lens' PackedObsContentDepB Word8
packedObsContentDepB_P :: Lens' PackedObsContentDepB Word32
packedObsContentDepB_L :: Lens' PackedObsContentDepB CarrierPhaseDepA
-- | PackedObsContentDepC.
--
-- Pseudorange and carrier phase observation for a satellite being
-- tracked. The observations are be interoperable with 3rd party
-- receivers and conform with typical RTCMv3 GNSS observations.
data PackedObsContentDepC
PackedObsContentDepC :: !Word32 -> !CarrierPhase -> !Word8 -> !Word16 -> !GnssSignalDep -> PackedObsContentDepC
-- | Pseudorange observation
[_packedObsContentDepC_P] :: PackedObsContentDepC -> !Word32
-- | Carrier phase observation with typical sign convention.
[_packedObsContentDepC_L] :: PackedObsContentDepC -> !CarrierPhase
-- | Carrier-to-Noise density
[_packedObsContentDepC_cn0] :: PackedObsContentDepC -> !Word8
-- | Lock indicator. This value changes whenever a satellite signal has
-- lost and regained lock, indicating that the carrier phase ambiguity
-- may have changed.
[_packedObsContentDepC_lock] :: PackedObsContentDepC -> !Word16
-- | GNSS signal identifier
[_packedObsContentDepC_sid] :: PackedObsContentDepC -> !GnssSignalDep
packedObsContentDepC_sid :: Lens' PackedObsContentDepC GnssSignalDep
packedObsContentDepC_lock :: Lens' PackedObsContentDepC Word16
packedObsContentDepC_cn0 :: Lens' PackedObsContentDepC Word8
packedObsContentDepC_P :: Lens' PackedObsContentDepC Word32
packedObsContentDepC_L :: Lens' PackedObsContentDepC CarrierPhase
msgObsDepA :: Word16
-- | SBP class for message MSG_OBS_DEP_A (0x0045).
--
-- Deprecated.
data MsgObsDepA
MsgObsDepA :: !ObservationHeaderDep -> ![PackedObsContentDepA] -> MsgObsDepA
-- | Header of a GPS observation message
[_msgObsDepA_header] :: MsgObsDepA -> !ObservationHeaderDep
-- | Pseudorange and carrier phase observation for a satellite being
-- tracked.
[_msgObsDepA_obs] :: MsgObsDepA -> ![PackedObsContentDepA]
msgObsDepA_obs :: Lens' MsgObsDepA [PackedObsContentDepA]
msgObsDepA_header :: Lens' MsgObsDepA ObservationHeaderDep
msgObsDepB :: Word16
-- | SBP class for message MSG_OBS_DEP_B (0x0043).
--
-- This observation message has been deprecated in favor of observations
-- that are more interoperable. This message should be used for
-- observations referenced to a nominal pseudorange which are not
-- interoperable with most 3rd party GNSS receievers or typical RTCMv3
-- observations.
data MsgObsDepB
MsgObsDepB :: !ObservationHeaderDep -> ![PackedObsContentDepB] -> MsgObsDepB
-- | Header of a GPS observation message
[_msgObsDepB_header] :: MsgObsDepB -> !ObservationHeaderDep
-- | Pseudorange and carrier phase observation for a satellite being
-- tracked.
[_msgObsDepB_obs] :: MsgObsDepB -> ![PackedObsContentDepB]
msgObsDepB_obs :: Lens' MsgObsDepB [PackedObsContentDepB]
msgObsDepB_header :: Lens' MsgObsDepB ObservationHeaderDep
msgObsDepC :: Word16
-- | SBP class for message MSG_OBS_DEP_C (0x0049).
--
-- The GPS observations message reports all the raw pseudorange and
-- carrier phase observations for the satellites being tracked by the
-- device. Carrier phase observation here is represented as a 40-bit
-- fixed point number with Q32.8 layout (i.e. 32-bits of whole cycles and
-- 8-bits of fractional cycles). The observations are interoperable with
-- 3rd party receivers and conform with typical RTCMv3 GNSS observations.
data MsgObsDepC
MsgObsDepC :: !ObservationHeaderDep -> ![PackedObsContentDepC] -> MsgObsDepC
-- | Header of a GPS observation message
[_msgObsDepC_header] :: MsgObsDepC -> !ObservationHeaderDep
-- | Pseudorange and carrier phase observation for a satellite being
-- tracked.
[_msgObsDepC_obs] :: MsgObsDepC -> ![PackedObsContentDepC]
msgObsDepC_obs :: Lens' MsgObsDepC [PackedObsContentDepC]
msgObsDepC_header :: Lens' MsgObsDepC ObservationHeaderDep
msgIono :: Word16
-- | SBP class for message MSG_IONO (0x0090).
--
-- The ionospheric parameters which allow the "L1 only" or "L2 only" user
-- to utilize the ionospheric model for computation of the ionospheric
-- delay. Please see ICD-GPS-200 (Chapter 20.3.3.5.1.7) for more details.
data MsgIono
MsgIono :: !GpsTimeSec -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> MsgIono
-- | Navigation Message Correction Table Valitidy Time
[_msgIono_t_nmct] :: MsgIono -> !GpsTimeSec
[_msgIono_a0] :: MsgIono -> !Double
[_msgIono_a1] :: MsgIono -> !Double
[_msgIono_a2] :: MsgIono -> !Double
[_msgIono_a3] :: MsgIono -> !Double
[_msgIono_b0] :: MsgIono -> !Double
[_msgIono_b1] :: MsgIono -> !Double
[_msgIono_b2] :: MsgIono -> !Double
[_msgIono_b3] :: MsgIono -> !Double
msgIono_t_nmct :: Lens' MsgIono GpsTimeSec
msgIono_b3 :: Lens' MsgIono Double
msgIono_b2 :: Lens' MsgIono Double
msgIono_b1 :: Lens' MsgIono Double
msgIono_b0 :: Lens' MsgIono Double
msgIono_a3 :: Lens' MsgIono Double
msgIono_a2 :: Lens' MsgIono Double
msgIono_a1 :: Lens' MsgIono Double
msgIono_a0 :: Lens' MsgIono Double
msgSvConfigurationGps :: Word16
-- | SBP class for message MSG_SV_CONFIGURATION_GPS (0x0091).
--
-- Please see ICD-GPS-200 (Chapter 20.3.3.5.1.4) for more details.
data MsgSvConfigurationGps
MsgSvConfigurationGps :: !GpsTimeSec -> !Word32 -> MsgSvConfigurationGps
-- | Navigation Message Correction Table Valitidy Time
[_msgSvConfigurationGps_t_nmct] :: MsgSvConfigurationGps -> !GpsTimeSec
-- | L2C capability mask, SV32 bit being MSB, SV1 bit being LSB
[_msgSvConfigurationGps_l2c_mask] :: MsgSvConfigurationGps -> !Word32
msgSvConfigurationGps_t_nmct :: Lens' MsgSvConfigurationGps GpsTimeSec
msgSvConfigurationGps_l2c_mask :: Lens' MsgSvConfigurationGps Word32
msgGroupDelayDepA :: Word16
-- | SBP class for message MSG_GROUP_DELAY_DEP_A (0x0092).
--
-- Please see ICD-GPS-200 (30.3.3.3.1.1) for more details.
data MsgGroupDelayDepA
MsgGroupDelayDepA :: !GpsTimeDep -> !Word8 -> !Word8 -> !Int16 -> !Int16 -> !Int16 -> MsgGroupDelayDepA
-- | Data Predict Time of Week
[_msgGroupDelayDepA_t_op] :: MsgGroupDelayDepA -> !GpsTimeDep
-- | Satellite number
[_msgGroupDelayDepA_prn] :: MsgGroupDelayDepA -> !Word8
-- | bit-field indicating validity of the values, LSB indicating tgd
-- validity etc. 1 = value is valid, 0 = value is not valid.
[_msgGroupDelayDepA_valid] :: MsgGroupDelayDepA -> !Word8
[_msgGroupDelayDepA_tgd] :: MsgGroupDelayDepA -> !Int16
[_msgGroupDelayDepA_isc_l1ca] :: MsgGroupDelayDepA -> !Int16
[_msgGroupDelayDepA_isc_l2c] :: MsgGroupDelayDepA -> !Int16
msgGroupDelayDepA_valid :: Lens' MsgGroupDelayDepA Word8
msgGroupDelayDepA_tgd :: Lens' MsgGroupDelayDepA Int16
msgGroupDelayDepA_t_op :: Lens' MsgGroupDelayDepA GpsTimeDep
msgGroupDelayDepA_prn :: Lens' MsgGroupDelayDepA Word8
msgGroupDelayDepA_isc_l2c :: Lens' MsgGroupDelayDepA Int16
msgGroupDelayDepA_isc_l1ca :: Lens' MsgGroupDelayDepA Int16
msgGroupDelayDepB :: Word16
-- | SBP class for message MSG_GROUP_DELAY_DEP_B (0x0093).
--
-- Please see ICD-GPS-200 (30.3.3.3.1.1) for more details.
data MsgGroupDelayDepB
MsgGroupDelayDepB :: !GpsTimeSec -> !GnssSignalDep -> !Word8 -> !Int16 -> !Int16 -> !Int16 -> MsgGroupDelayDepB
-- | Data Predict Time of Week
[_msgGroupDelayDepB_t_op] :: MsgGroupDelayDepB -> !GpsTimeSec
-- | GNSS signal identifier
[_msgGroupDelayDepB_sid] :: MsgGroupDelayDepB -> !GnssSignalDep
-- | bit-field indicating validity of the values, LSB indicating tgd
-- validity etc. 1 = value is valid, 0 = value is not valid.
[_msgGroupDelayDepB_valid] :: MsgGroupDelayDepB -> !Word8
[_msgGroupDelayDepB_tgd] :: MsgGroupDelayDepB -> !Int16
[_msgGroupDelayDepB_isc_l1ca] :: MsgGroupDelayDepB -> !Int16
[_msgGroupDelayDepB_isc_l2c] :: MsgGroupDelayDepB -> !Int16
msgGroupDelayDepB_valid :: Lens' MsgGroupDelayDepB Word8
msgGroupDelayDepB_tgd :: Lens' MsgGroupDelayDepB Int16
msgGroupDelayDepB_t_op :: Lens' MsgGroupDelayDepB GpsTimeSec
msgGroupDelayDepB_sid :: Lens' MsgGroupDelayDepB GnssSignalDep
msgGroupDelayDepB_isc_l2c :: Lens' MsgGroupDelayDepB Int16
msgGroupDelayDepB_isc_l1ca :: Lens' MsgGroupDelayDepB Int16
msgGroupDelay :: Word16
-- | SBP class for message MSG_GROUP_DELAY (0x0094).
--
-- Please see ICD-GPS-200 (30.3.3.3.1.1) for more details.
data MsgGroupDelay
MsgGroupDelay :: !GpsTimeSec -> !GnssSignal -> !Word8 -> !Int16 -> !Int16 -> !Int16 -> MsgGroupDelay
-- | Data Predict Time of Week
[_msgGroupDelay_t_op] :: MsgGroupDelay -> !GpsTimeSec
-- | GNSS signal identifier
[_msgGroupDelay_sid] :: MsgGroupDelay -> !GnssSignal
-- | bit-field indicating validity of the values, LSB indicating tgd
-- validity etc. 1 = value is valid, 0 = value is not valid.
[_msgGroupDelay_valid] :: MsgGroupDelay -> !Word8
[_msgGroupDelay_tgd] :: MsgGroupDelay -> !Int16
[_msgGroupDelay_isc_l1ca] :: MsgGroupDelay -> !Int16
[_msgGroupDelay_isc_l2c] :: MsgGroupDelay -> !Int16
msgGroupDelay_valid :: Lens' MsgGroupDelay Word8
msgGroupDelay_tgd :: Lens' MsgGroupDelay Int16
msgGroupDelay_t_op :: Lens' MsgGroupDelay GpsTimeSec
msgGroupDelay_sid :: Lens' MsgGroupDelay GnssSignal
msgGroupDelay_isc_l2c :: Lens' MsgGroupDelay Int16
msgGroupDelay_isc_l1ca :: Lens' MsgGroupDelay Int16
data AlmanacCommonContent
AlmanacCommonContent :: !GnssSignal -> !GpsTimeSec -> !Double -> !Word32 -> !Word8 -> !Word8 -> AlmanacCommonContent
-- | GNSS signal identifier
[_almanacCommonContent_sid] :: AlmanacCommonContent -> !GnssSignal
-- | Reference time of almanac
[_almanacCommonContent_toa] :: AlmanacCommonContent -> !GpsTimeSec
-- | User Range Accuracy
[_almanacCommonContent_ura] :: AlmanacCommonContent -> !Double
-- | Curve fit interval
[_almanacCommonContent_fit_interval] :: AlmanacCommonContent -> !Word32
-- | Status of almanac, 1 = valid, 0 = invalid
[_almanacCommonContent_valid] :: AlmanacCommonContent -> !Word8
-- | Satellite health status for GPS: - bits 5-7: NAV data health status.
-- See IS-GPS-200H Table 20-VII: NAV Data Health Indications. - bits 0-4:
-- Signal health status. See IS-GPS-200H Table 20-VIII. Codes for Health
-- of SV Signal Components. Satellite health status for GLO: See GLO ICD
-- 5.1 table 5.1 for details - bit 0: C(n), "unhealthy" flag that is
-- transmitted within non-immediate data and indicates overall
-- constellation status at the moment of almanac uploading. '0' indicates
-- malfunction of n-satellite. '1' indicates that n-satellite is
-- operational. - bit 1: Bn(ln), '0' indicates the satellite is
-- operational and suitable for navigation.
[_almanacCommonContent_health_bits] :: AlmanacCommonContent -> !Word8
almanacCommonContent_valid :: Lens' AlmanacCommonContent Word8
almanacCommonContent_ura :: Lens' AlmanacCommonContent Double
almanacCommonContent_toa :: Lens' AlmanacCommonContent GpsTimeSec
almanacCommonContent_sid :: Lens' AlmanacCommonContent GnssSignal
almanacCommonContent_health_bits :: Lens' AlmanacCommonContent Word8
almanacCommonContent_fit_interval :: Lens' AlmanacCommonContent Word32
data AlmanacCommonContentDep
AlmanacCommonContentDep :: !GnssSignalDep -> !GpsTimeSec -> !Double -> !Word32 -> !Word8 -> !Word8 -> AlmanacCommonContentDep
-- | GNSS signal identifier
[_almanacCommonContentDep_sid] :: AlmanacCommonContentDep -> !GnssSignalDep
-- | Reference time of almanac
[_almanacCommonContentDep_toa] :: AlmanacCommonContentDep -> !GpsTimeSec
-- | User Range Accuracy
[_almanacCommonContentDep_ura] :: AlmanacCommonContentDep -> !Double
-- | Curve fit interval
[_almanacCommonContentDep_fit_interval] :: AlmanacCommonContentDep -> !Word32
-- | Status of almanac, 1 = valid, 0 = invalid
[_almanacCommonContentDep_valid] :: AlmanacCommonContentDep -> !Word8
-- | Satellite health status for GPS: - bits 5-7: NAV data health status.
-- See IS-GPS-200H Table 20-VII: NAV Data Health Indications. - bits 0-4:
-- Signal health status. See IS-GPS-200H Table 20-VIII. Codes for Health
-- of SV Signal Components. Satellite health status for GLO: See GLO ICD
-- 5.1 table 5.1 for details - bit 0: C(n), "unhealthy" flag that is
-- transmitted within non-immediate data and indicates overall
-- constellation status at the moment of almanac uploading. '0' indicates
-- malfunction of n-satellite. '1' indicates that n-satellite is
-- operational. - bit 1: Bn(ln), '0' indicates the satellite is
-- operational and suitable for navigation.
[_almanacCommonContentDep_health_bits] :: AlmanacCommonContentDep -> !Word8
almanacCommonContentDep_valid :: Lens' AlmanacCommonContentDep Word8
almanacCommonContentDep_ura :: Lens' AlmanacCommonContentDep Double
almanacCommonContentDep_toa :: Lens' AlmanacCommonContentDep GpsTimeSec
almanacCommonContentDep_sid :: Lens' AlmanacCommonContentDep GnssSignalDep
almanacCommonContentDep_health_bits :: Lens' AlmanacCommonContentDep Word8
almanacCommonContentDep_fit_interval :: Lens' AlmanacCommonContentDep Word32
msgAlmanacGpsDep :: Word16
-- | SBP class for message MSG_ALMANAC_GPS_DEP (0x0070).
--
-- The almanac message returns a set of satellite orbit parameters.
-- Almanac data is not very precise and is considered valid for up to
-- several months. Please see the Navstar GPS Space Segment/Navigation
-- user interfaces (ICD- GPS-200, Chapter 20.3.3.5.1.2 Almanac Data) for
-- more details.
data MsgAlmanacGpsDep
MsgAlmanacGpsDep :: !AlmanacCommonContentDep -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> MsgAlmanacGpsDep
-- | Values common for all almanac types
[_msgAlmanacGpsDep_common] :: MsgAlmanacGpsDep -> !AlmanacCommonContentDep
-- | Mean anomaly at reference time
[_msgAlmanacGpsDep_m0] :: MsgAlmanacGpsDep -> !Double
-- | Eccentricity of satellite orbit
[_msgAlmanacGpsDep_ecc] :: MsgAlmanacGpsDep -> !Double
-- | Square root of the semi-major axis of orbit
[_msgAlmanacGpsDep_sqrta] :: MsgAlmanacGpsDep -> !Double
-- | Longitude of ascending node of orbit plane at weekly epoch
[_msgAlmanacGpsDep_omega0] :: MsgAlmanacGpsDep -> !Double
-- | Rate of right ascension
[_msgAlmanacGpsDep_omegadot] :: MsgAlmanacGpsDep -> !Double
-- | Argument of perigee
[_msgAlmanacGpsDep_w] :: MsgAlmanacGpsDep -> !Double
-- | Inclination
[_msgAlmanacGpsDep_inc] :: MsgAlmanacGpsDep -> !Double
-- | Polynomial clock correction coefficient (clock bias)
[_msgAlmanacGpsDep_af0] :: MsgAlmanacGpsDep -> !Double
-- | Polynomial clock correction coefficient (clock drift)
[_msgAlmanacGpsDep_af1] :: MsgAlmanacGpsDep -> !Double
msgAlmanacGpsDep_w :: Lens' MsgAlmanacGpsDep Double
msgAlmanacGpsDep_sqrta :: Lens' MsgAlmanacGpsDep Double
msgAlmanacGpsDep_omegadot :: Lens' MsgAlmanacGpsDep Double
msgAlmanacGpsDep_omega0 :: Lens' MsgAlmanacGpsDep Double
msgAlmanacGpsDep_m0 :: Lens' MsgAlmanacGpsDep Double
msgAlmanacGpsDep_inc :: Lens' MsgAlmanacGpsDep Double
msgAlmanacGpsDep_ecc :: Lens' MsgAlmanacGpsDep Double
msgAlmanacGpsDep_common :: Lens' MsgAlmanacGpsDep AlmanacCommonContentDep
msgAlmanacGpsDep_af1 :: Lens' MsgAlmanacGpsDep Double
msgAlmanacGpsDep_af0 :: Lens' MsgAlmanacGpsDep Double
msgAlmanacGps :: Word16
-- | SBP class for message MSG_ALMANAC_GPS (0x0072).
--
-- The almanac message returns a set of satellite orbit parameters.
-- Almanac data is not very precise and is considered valid for up to
-- several months. Please see the Navstar GPS Space Segment/Navigation
-- user interfaces (ICD- GPS-200, Chapter 20.3.3.5.1.2 Almanac Data) for
-- more details.
data MsgAlmanacGps
MsgAlmanacGps :: !AlmanacCommonContent -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> MsgAlmanacGps
-- | Values common for all almanac types
[_msgAlmanacGps_common] :: MsgAlmanacGps -> !AlmanacCommonContent
-- | Mean anomaly at reference time
[_msgAlmanacGps_m0] :: MsgAlmanacGps -> !Double
-- | Eccentricity of satellite orbit
[_msgAlmanacGps_ecc] :: MsgAlmanacGps -> !Double
-- | Square root of the semi-major axis of orbit
[_msgAlmanacGps_sqrta] :: MsgAlmanacGps -> !Double
-- | Longitude of ascending node of orbit plane at weekly epoch
[_msgAlmanacGps_omega0] :: MsgAlmanacGps -> !Double
-- | Rate of right ascension
[_msgAlmanacGps_omegadot] :: MsgAlmanacGps -> !Double
-- | Argument of perigee
[_msgAlmanacGps_w] :: MsgAlmanacGps -> !Double
-- | Inclination
[_msgAlmanacGps_inc] :: MsgAlmanacGps -> !Double
-- | Polynomial clock correction coefficient (clock bias)
[_msgAlmanacGps_af0] :: MsgAlmanacGps -> !Double
-- | Polynomial clock correction coefficient (clock drift)
[_msgAlmanacGps_af1] :: MsgAlmanacGps -> !Double
msgAlmanacGps_w :: Lens' MsgAlmanacGps Double
msgAlmanacGps_sqrta :: Lens' MsgAlmanacGps Double
msgAlmanacGps_omegadot :: Lens' MsgAlmanacGps Double
msgAlmanacGps_omega0 :: Lens' MsgAlmanacGps Double
msgAlmanacGps_m0 :: Lens' MsgAlmanacGps Double
msgAlmanacGps_inc :: Lens' MsgAlmanacGps Double
msgAlmanacGps_ecc :: Lens' MsgAlmanacGps Double
msgAlmanacGps_common :: Lens' MsgAlmanacGps AlmanacCommonContent
msgAlmanacGps_af1 :: Lens' MsgAlmanacGps Double
msgAlmanacGps_af0 :: Lens' MsgAlmanacGps Double
msgAlmanacGloDep :: Word16
-- | SBP class for message MSG_ALMANAC_GLO_DEP (0x0071).
--
-- The almanac message returns a set of satellite orbit parameters.
-- Almanac data is not very precise and is considered valid for up to
-- several months. Please see the GLO ICD 5.1 "Chapter 4.5 Non-immediate
-- information and almanac" for details.
data MsgAlmanacGloDep
MsgAlmanacGloDep :: !AlmanacCommonContentDep -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> MsgAlmanacGloDep
-- | Values common for all almanac types
[_msgAlmanacGloDep_common] :: MsgAlmanacGloDep -> !AlmanacCommonContentDep
-- | Longitude of the first ascending node of the orbit in PZ-90.02
-- coordinate system
[_msgAlmanacGloDep_lambda_na] :: MsgAlmanacGloDep -> !Double
-- | Time of the first ascending node passage
[_msgAlmanacGloDep_t_lambda_na] :: MsgAlmanacGloDep -> !Double
-- | Value of inclination at instant of t_lambda
[_msgAlmanacGloDep_i] :: MsgAlmanacGloDep -> !Double
-- | Value of Draconian period at instant of t_lambda
[_msgAlmanacGloDep_t] :: MsgAlmanacGloDep -> !Double
-- | Rate of change of the Draconian period
[_msgAlmanacGloDep_t_dot] :: MsgAlmanacGloDep -> !Double
-- | Eccentricity at instant of t_lambda
[_msgAlmanacGloDep_epsilon] :: MsgAlmanacGloDep -> !Double
-- | Argument of perigee at instant of t_lambda
[_msgAlmanacGloDep_omega] :: MsgAlmanacGloDep -> !Double
msgAlmanacGloDep_t_lambda_na :: Lens' MsgAlmanacGloDep Double
msgAlmanacGloDep_t_dot :: Lens' MsgAlmanacGloDep Double
msgAlmanacGloDep_t :: Lens' MsgAlmanacGloDep Double
msgAlmanacGloDep_omega :: Lens' MsgAlmanacGloDep Double
msgAlmanacGloDep_lambda_na :: Lens' MsgAlmanacGloDep Double
msgAlmanacGloDep_i :: Lens' MsgAlmanacGloDep Double
msgAlmanacGloDep_epsilon :: Lens' MsgAlmanacGloDep Double
msgAlmanacGloDep_common :: Lens' MsgAlmanacGloDep AlmanacCommonContentDep
msgAlmanacGlo :: Word16
-- | SBP class for message MSG_ALMANAC_GLO (0x0073).
--
-- The almanac message returns a set of satellite orbit parameters.
-- Almanac data is not very precise and is considered valid for up to
-- several months. Please see the GLO ICD 5.1 "Chapter 4.5 Non-immediate
-- information and almanac" for details.
data MsgAlmanacGlo
MsgAlmanacGlo :: !AlmanacCommonContent -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> !Double -> MsgAlmanacGlo
-- | Values common for all almanac types
[_msgAlmanacGlo_common] :: MsgAlmanacGlo -> !AlmanacCommonContent
-- | Longitude of the first ascending node of the orbit in PZ-90.02
-- coordinate system
[_msgAlmanacGlo_lambda_na] :: MsgAlmanacGlo -> !Double
-- | Time of the first ascending node passage
[_msgAlmanacGlo_t_lambda_na] :: MsgAlmanacGlo -> !Double
-- | Value of inclination at instant of t_lambda
[_msgAlmanacGlo_i] :: MsgAlmanacGlo -> !Double
-- | Value of Draconian period at instant of t_lambda
[_msgAlmanacGlo_t] :: MsgAlmanacGlo -> !Double
-- | Rate of change of the Draconian period
[_msgAlmanacGlo_t_dot] :: MsgAlmanacGlo -> !Double
-- | Eccentricity at instant of t_lambda
[_msgAlmanacGlo_epsilon] :: MsgAlmanacGlo -> !Double
-- | Argument of perigee at instant of t_lambda
[_msgAlmanacGlo_omega] :: MsgAlmanacGlo -> !Double
msgAlmanacGlo_t_lambda_na :: Lens' MsgAlmanacGlo Double
msgAlmanacGlo_t_dot :: Lens' MsgAlmanacGlo Double
msgAlmanacGlo_t :: Lens' MsgAlmanacGlo Double
msgAlmanacGlo_omega :: Lens' MsgAlmanacGlo Double
msgAlmanacGlo_lambda_na :: Lens' MsgAlmanacGlo Double
msgAlmanacGlo_i :: Lens' MsgAlmanacGlo Double
msgAlmanacGlo_epsilon :: Lens' MsgAlmanacGlo Double
msgAlmanacGlo_common :: Lens' MsgAlmanacGlo AlmanacCommonContent
msgGloBiases :: Word16
-- | SBP class for message MSG_GLO_BIASES (0x0075).
--
-- The GLONASS L1/L2 Code-Phase biases allows to perform GPS+GLONASS
-- integer ambiguity resolution for baselines with mixed receiver types
-- (e.g. receiver of different manufacturers)
data MsgGloBiases
MsgGloBiases :: !Word8 -> !Int16 -> !Int16 -> !Int16 -> !Int16 -> MsgGloBiases
-- | GLONASS FDMA signals mask
[_msgGloBiases_mask] :: MsgGloBiases -> !Word8
-- | GLONASS L1 C/A Code-Phase Bias
[_msgGloBiases_l1ca_bias] :: MsgGloBiases -> !Int16
-- | GLONASS L1 P Code-Phase Bias
[_msgGloBiases_l1p_bias] :: MsgGloBiases -> !Int16
-- | GLONASS L2 C/A Code-Phase Bias
[_msgGloBiases_l2ca_bias] :: MsgGloBiases -> !Int16
-- | GLONASS L2 P Code-Phase Bias
[_msgGloBiases_l2p_bias] :: MsgGloBiases -> !Int16
msgGloBiases_mask :: Lens' MsgGloBiases Word8
msgGloBiases_l2p_bias :: Lens' MsgGloBiases Int16
msgGloBiases_l2ca_bias :: Lens' MsgGloBiases Int16
msgGloBiases_l1p_bias :: Lens' MsgGloBiases Int16
msgGloBiases_l1ca_bias :: Lens' MsgGloBiases Int16
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgGloBiases
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgGloBiases
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgGloBiases
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgGloBiases
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgGloBiases
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgGloBiases
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgGloBiases
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgAlmanacGlo
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgAlmanacGlo
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgAlmanacGlo
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgAlmanacGlo
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgAlmanacGlo
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgAlmanacGlo
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgAlmanacGlo
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgAlmanacGloDep
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgAlmanacGloDep
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgAlmanacGloDep
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgAlmanacGloDep
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgAlmanacGloDep
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgAlmanacGloDep
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgAlmanacGloDep
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgAlmanacGps
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgAlmanacGps
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgAlmanacGps
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgAlmanacGps
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgAlmanacGps
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgAlmanacGps
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgAlmanacGps
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgAlmanacGpsDep
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgAlmanacGpsDep
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgAlmanacGpsDep
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgAlmanacGpsDep
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgAlmanacGpsDep
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgAlmanacGpsDep
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgAlmanacGpsDep
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.AlmanacCommonContentDep
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.AlmanacCommonContentDep
instance GHC.Classes.Eq SwiftNav.SBP.Observation.AlmanacCommonContentDep
instance GHC.Read.Read SwiftNav.SBP.Observation.AlmanacCommonContentDep
instance GHC.Show.Show SwiftNav.SBP.Observation.AlmanacCommonContentDep
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.AlmanacCommonContentDep
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.AlmanacCommonContent
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.AlmanacCommonContent
instance GHC.Classes.Eq SwiftNav.SBP.Observation.AlmanacCommonContent
instance GHC.Read.Read SwiftNav.SBP.Observation.AlmanacCommonContent
instance GHC.Show.Show SwiftNav.SBP.Observation.AlmanacCommonContent
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.AlmanacCommonContent
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgGroupDelay
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgGroupDelay
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgGroupDelay
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgGroupDelay
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgGroupDelay
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgGroupDelay
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgGroupDelay
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgGroupDelayDepB
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgGroupDelayDepB
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgGroupDelayDepB
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgGroupDelayDepB
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgGroupDelayDepB
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgGroupDelayDepB
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgGroupDelayDepB
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgGroupDelayDepA
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgGroupDelayDepA
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgGroupDelayDepA
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgGroupDelayDepA
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgGroupDelayDepA
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgGroupDelayDepA
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgGroupDelayDepA
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgSvConfigurationGps
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgSvConfigurationGps
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgSvConfigurationGps
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgSvConfigurationGps
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgSvConfigurationGps
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgSvConfigurationGps
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgSvConfigurationGps
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgIono
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgIono
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgIono
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgIono
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgIono
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgIono
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgIono
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgObsDepC
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgObsDepC
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgObsDepC
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgObsDepC
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgObsDepC
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgObsDepC
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgObsDepC
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgObsDepB
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgObsDepB
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgObsDepB
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgObsDepB
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgObsDepB
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgObsDepB
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgObsDepB
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgObsDepA
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgObsDepA
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgObsDepA
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgObsDepA
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgObsDepA
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgObsDepA
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgObsDepA
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.PackedObsContentDepC
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.PackedObsContentDepC
instance GHC.Classes.Eq SwiftNav.SBP.Observation.PackedObsContentDepC
instance GHC.Read.Read SwiftNav.SBP.Observation.PackedObsContentDepC
instance GHC.Show.Show SwiftNav.SBP.Observation.PackedObsContentDepC
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.PackedObsContentDepC
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.PackedObsContentDepB
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.PackedObsContentDepB
instance GHC.Classes.Eq SwiftNav.SBP.Observation.PackedObsContentDepB
instance GHC.Read.Read SwiftNav.SBP.Observation.PackedObsContentDepB
instance GHC.Show.Show SwiftNav.SBP.Observation.PackedObsContentDepB
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.PackedObsContentDepB
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.PackedObsContentDepA
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.PackedObsContentDepA
instance GHC.Classes.Eq SwiftNav.SBP.Observation.PackedObsContentDepA
instance GHC.Read.Read SwiftNav.SBP.Observation.PackedObsContentDepA
instance GHC.Show.Show SwiftNav.SBP.Observation.PackedObsContentDepA
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.PackedObsContentDepA
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.CarrierPhaseDepA
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.CarrierPhaseDepA
instance GHC.Classes.Eq SwiftNav.SBP.Observation.CarrierPhaseDepA
instance GHC.Read.Read SwiftNav.SBP.Observation.CarrierPhaseDepA
instance GHC.Show.Show SwiftNav.SBP.Observation.CarrierPhaseDepA
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.CarrierPhaseDepA
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.ObservationHeaderDep
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.ObservationHeaderDep
instance GHC.Classes.Eq SwiftNav.SBP.Observation.ObservationHeaderDep
instance GHC.Read.Read SwiftNav.SBP.Observation.ObservationHeaderDep
instance GHC.Show.Show SwiftNav.SBP.Observation.ObservationHeaderDep
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.ObservationHeaderDep
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgEphemerisDepC
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgEphemerisDepC
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgEphemerisDepC
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgEphemerisDepC
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgEphemerisDepC
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgEphemerisDepC
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgEphemerisDepC
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgEphemerisDepB
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgEphemerisDepB
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgEphemerisDepB
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgEphemerisDepB
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgEphemerisDepB
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgEphemerisDepB
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgEphemerisDepB
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgEphemerisDepA
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgEphemerisDepA
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgEphemerisDepA
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgEphemerisDepA
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgEphemerisDepA
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgEphemerisDepA
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgEphemerisDepA
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgEphemerisDepD
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgEphemerisDepD
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgEphemerisDepD
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgEphemerisDepD
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgEphemerisDepD
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgEphemerisDepD
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgEphemerisDepD
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgEphemerisGlo
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgEphemerisGlo
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgEphemerisGlo
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgEphemerisGlo
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgEphemerisGlo
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgEphemerisGlo
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgEphemerisGlo
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgEphemerisGloDepC
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgEphemerisGloDepC
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgEphemerisGloDepC
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgEphemerisGloDepC
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgEphemerisGloDepC
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgEphemerisGloDepC
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgEphemerisGloDepC
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgEphemerisGloDepB
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgEphemerisGloDepB
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgEphemerisGloDepB
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgEphemerisGloDepB
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgEphemerisGloDepB
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgEphemerisGloDepB
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgEphemerisGloDepB
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgEphemerisSbas
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgEphemerisSbas
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgEphemerisSbas
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgEphemerisSbas
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgEphemerisSbas
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgEphemerisSbas
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgEphemerisSbas
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgEphemerisGloDepA
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgEphemerisGloDepA
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgEphemerisGloDepA
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgEphemerisGloDepA
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgEphemerisGloDepA
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgEphemerisGloDepA
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgEphemerisGloDepA
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgEphemerisSbasDepA
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgEphemerisSbasDepA
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgEphemerisSbasDepA
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgEphemerisSbasDepA
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgEphemerisSbasDepA
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgEphemerisSbasDepA
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgEphemerisSbasDepA
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgEphemerisGps
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgEphemerisGps
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgEphemerisGps
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgEphemerisGps
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgEphemerisGps
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgEphemerisGps
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgEphemerisGps
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgEphemerisGpsDepE
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgEphemerisGpsDepE
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgEphemerisGpsDepE
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgEphemerisGpsDepE
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgEphemerisGpsDepE
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgEphemerisGpsDepE
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgEphemerisGpsDepE
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.EphemerisCommonContentDepA
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.EphemerisCommonContentDepA
instance GHC.Classes.Eq SwiftNav.SBP.Observation.EphemerisCommonContentDepA
instance GHC.Read.Read SwiftNav.SBP.Observation.EphemerisCommonContentDepA
instance GHC.Show.Show SwiftNav.SBP.Observation.EphemerisCommonContentDepA
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.EphemerisCommonContentDepA
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.EphemerisCommonContent
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.EphemerisCommonContent
instance GHC.Classes.Eq SwiftNav.SBP.Observation.EphemerisCommonContent
instance GHC.Read.Read SwiftNav.SBP.Observation.EphemerisCommonContent
instance GHC.Show.Show SwiftNav.SBP.Observation.EphemerisCommonContent
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.EphemerisCommonContent
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgBasePosEcef
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgBasePosEcef
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgBasePosEcef
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgBasePosEcef
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgBasePosEcef
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgBasePosEcef
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgBasePosEcef
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgBasePosLlh
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgBasePosLlh
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgBasePosLlh
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgBasePosLlh
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgBasePosLlh
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgBasePosLlh
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgBasePosLlh
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.MsgObs
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.MsgObs
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Observation.MsgObs
instance GHC.Classes.Eq SwiftNav.SBP.Observation.MsgObs
instance GHC.Read.Read SwiftNav.SBP.Observation.MsgObs
instance GHC.Show.Show SwiftNav.SBP.Observation.MsgObs
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.MsgObs
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.PackedObsContent
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.PackedObsContent
instance GHC.Classes.Eq SwiftNav.SBP.Observation.PackedObsContent
instance GHC.Read.Read SwiftNav.SBP.Observation.PackedObsContent
instance GHC.Show.Show SwiftNav.SBP.Observation.PackedObsContent
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.PackedObsContent
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.Doppler
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.Doppler
instance GHC.Classes.Eq SwiftNav.SBP.Observation.Doppler
instance GHC.Read.Read SwiftNav.SBP.Observation.Doppler
instance GHC.Show.Show SwiftNav.SBP.Observation.Doppler
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.Doppler
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Observation.ObservationHeader
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Observation.ObservationHeader
instance GHC.Classes.Eq SwiftNav.SBP.Observation.ObservationHeader
instance GHC.Read.Read SwiftNav.SBP.Observation.ObservationHeader
instance GHC.Show.Show SwiftNav.SBP.Observation.ObservationHeader
instance Data.Binary.Class.Binary SwiftNav.SBP.Observation.ObservationHeader
-- | Messages for logging NDB events.
module SwiftNav.SBP.Ndb
msgNdbEvent :: Word16
-- | SBP class for message MSG_NDB_EVENT (0x0400).
--
-- This message is sent out when an object is stored into NDB. If needed
-- message could also be sent out when fetching an object from NDB.
data MsgNdbEvent
MsgNdbEvent :: !Word64 -> !Word8 -> !Word8 -> !Word8 -> !Word8 -> !GnssSignal -> !GnssSignal -> !Word16 -> MsgNdbEvent
-- | HW time in milliseconds.
[_msgNdbEvent_recv_time] :: MsgNdbEvent -> !Word64
-- | Event type.
[_msgNdbEvent_event] :: MsgNdbEvent -> !Word8
-- | Event object type.
[_msgNdbEvent_object_type] :: MsgNdbEvent -> !Word8
-- | Event result.
[_msgNdbEvent_result] :: MsgNdbEvent -> !Word8
-- | Data source for STORE event, reserved for other events.
[_msgNdbEvent_data_source] :: MsgNdbEvent -> !Word8
-- | GNSS signal identifier, If object_type is Ephemeris OR Almanac, sid
-- indicates for which signal the object belongs to. Reserved in other
-- cases.
[_msgNdbEvent_object_sid] :: MsgNdbEvent -> !GnssSignal
-- | GNSS signal identifier, If object_type is Almanac, Almanac WN, Iono OR
-- L2C capabilities AND data_source is NDB_DS_RECEIVER sid indicates from
-- which SV data was decoded. Reserved in other cases.
[_msgNdbEvent_src_sid] :: MsgNdbEvent -> !GnssSignal
-- | A unique identifier of the sending hardware. For v1.0, set to the 2
-- least significant bytes of the device serial number, valid only if
-- data_source is NDB_DS_SBP. Reserved in case of other data_source.
[_msgNdbEvent_original_sender] :: MsgNdbEvent -> !Word16
msgNdbEvent_src_sid :: Lens' MsgNdbEvent GnssSignal
msgNdbEvent_result :: Lens' MsgNdbEvent Word8
msgNdbEvent_recv_time :: Lens' MsgNdbEvent Word64
msgNdbEvent_original_sender :: Lens' MsgNdbEvent Word16
msgNdbEvent_object_type :: Lens' MsgNdbEvent Word8
msgNdbEvent_object_sid :: Lens' MsgNdbEvent GnssSignal
msgNdbEvent_event :: Lens' MsgNdbEvent Word8
msgNdbEvent_data_source :: Lens' MsgNdbEvent Word8
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Ndb.MsgNdbEvent
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Ndb.MsgNdbEvent
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Ndb.MsgNdbEvent
instance GHC.Classes.Eq SwiftNav.SBP.Ndb.MsgNdbEvent
instance GHC.Read.Read SwiftNav.SBP.Ndb.MsgNdbEvent
instance GHC.Show.Show SwiftNav.SBP.Ndb.MsgNdbEvent
instance Data.Binary.Class.Binary SwiftNav.SBP.Ndb.MsgNdbEvent
-- | Messages for reading/writing the device's onboard flash memory. Many
-- of these messages target specific flash memory peripherals used in
-- Swift Navigation devices: the STM32 flash and the M25Pxx FPGA
-- configuration flash from Piksi 2.3.1. This module does not apply to
-- Piksi Multi.
module SwiftNav.SBP.Flash
msgFlashProgram :: Word16
-- | SBP class for message MSG_FLASH_PROGRAM (0x00E6).
--
-- The flash program message programs a set of addresses of either the
-- STM or M25 flash. The device replies with either a MSG_FLASH_DONE
-- message containing the return code FLASH_OK (0) on success, or
-- FLASH_INVALID_LEN (2) if the maximum write size is exceeded. Note that
-- the sector-containing addresses must be erased before addresses can be
-- programmed.
data MsgFlashProgram
MsgFlashProgram :: !Word8 -> ![Word8] -> !Word8 -> ![Word8] -> MsgFlashProgram
-- | Target flags
[_msgFlashProgram_target] :: MsgFlashProgram -> !Word8
-- | Starting address offset to program
[_msgFlashProgram_addr_start] :: MsgFlashProgram -> ![Word8]
-- | Length of set of addresses to program, counting up from starting
-- address
[_msgFlashProgram_addr_len] :: MsgFlashProgram -> !Word8
-- | Data to program addresses with, with length N=addr_len
[_msgFlashProgram_data] :: MsgFlashProgram -> ![Word8]
msgFlashProgram_target :: Lens' MsgFlashProgram Word8
msgFlashProgram_data :: Lens' MsgFlashProgram [Word8]
msgFlashProgram_addr_start :: Lens' MsgFlashProgram [Word8]
msgFlashProgram_addr_len :: Lens' MsgFlashProgram Word8
msgFlashDone :: Word16
-- | SBP class for message MSG_FLASH_DONE (0x00E0).
--
-- This message defines success or failure codes for a variety of flash
-- memory requests from the host to the device. Flash read and write
-- messages, such as MSG_FLASH_READ_REQ, or MSG_FLASH_PROGRAM, may return
-- this message on failure.
data MsgFlashDone
MsgFlashDone :: !Word8 -> MsgFlashDone
-- | Response flags
[_msgFlashDone_response] :: MsgFlashDone -> !Word8
msgFlashDone_response :: Iso' MsgFlashDone Word8
msgFlashReadReq :: Word16
-- | SBP class for message MSG_FLASH_READ_REQ (0x00E7).
--
-- The flash read message reads a set of addresses of either the STM or
-- M25 onboard flash. The device replies with a MSG_FLASH_READ_RESP
-- message containing either the read data on success or a MSG_FLASH_DONE
-- message containing the return code FLASH_INVALID_LEN (2) if the
-- maximum read size is exceeded or FLASH_INVALID_ADDR (3) if the address
-- is outside of the allowed range.
data MsgFlashReadReq
MsgFlashReadReq :: !Word8 -> ![Word8] -> !Word8 -> MsgFlashReadReq
-- | Target flags
[_msgFlashReadReq_target] :: MsgFlashReadReq -> !Word8
-- | Starting address offset to read from
[_msgFlashReadReq_addr_start] :: MsgFlashReadReq -> ![Word8]
-- | Length of set of addresses to read, counting up from starting address
[_msgFlashReadReq_addr_len] :: MsgFlashReadReq -> !Word8
msgFlashReadReq_target :: Lens' MsgFlashReadReq Word8
msgFlashReadReq_addr_start :: Lens' MsgFlashReadReq [Word8]
msgFlashReadReq_addr_len :: Lens' MsgFlashReadReq Word8
msgFlashReadResp :: Word16
-- | SBP class for message MSG_FLASH_READ_RESP (0x00E1).
--
-- The flash read message reads a set of addresses of either the STM or
-- M25 onboard flash. The device replies with a MSG_FLASH_READ_RESP
-- message containing either the read data on success or a MSG_FLASH_DONE
-- message containing the return code FLASH_INVALID_LEN (2) if the
-- maximum read size is exceeded or FLASH_INVALID_ADDR (3) if the address
-- is outside of the allowed range.
data MsgFlashReadResp
MsgFlashReadResp :: !Word8 -> ![Word8] -> !Word8 -> MsgFlashReadResp
-- | Target flags
[_msgFlashReadResp_target] :: MsgFlashReadResp -> !Word8
-- | Starting address offset to read from
[_msgFlashReadResp_addr_start] :: MsgFlashReadResp -> ![Word8]
-- | Length of set of addresses to read, counting up from starting address
[_msgFlashReadResp_addr_len] :: MsgFlashReadResp -> !Word8
msgFlashReadResp_target :: Lens' MsgFlashReadResp Word8
msgFlashReadResp_addr_start :: Lens' MsgFlashReadResp [Word8]
msgFlashReadResp_addr_len :: Lens' MsgFlashReadResp Word8
msgFlashErase :: Word16
-- | SBP class for message MSG_FLASH_ERASE (0x00E2).
--
-- The flash erase message from the host erases a sector of either the
-- STM or M25 onboard flash memory. The device will reply with a
-- MSG_FLASH_DONE message containing the return code - FLASH_OK (0) on
-- success or FLASH_INVALID_FLASH (1) if the flash specified is invalid.
data MsgFlashErase
MsgFlashErase :: !Word8 -> !Word32 -> MsgFlashErase
-- | Target flags
[_msgFlashErase_target] :: MsgFlashErase -> !Word8
-- | Flash sector number to erase (0-11 for the STM, 0-15 for the M25)
[_msgFlashErase_sector_num] :: MsgFlashErase -> !Word32
msgFlashErase_target :: Lens' MsgFlashErase Word8
msgFlashErase_sector_num :: Lens' MsgFlashErase Word32
msgStmFlashLockSector :: Word16
-- | SBP class for message MSG_STM_FLASH_LOCK_SECTOR (0x00E3).
--
-- The flash lock message locks a sector of the STM flash memory. The
-- device replies with a MSG_FLASH_DONE message.
data MsgStmFlashLockSector
MsgStmFlashLockSector :: !Word32 -> MsgStmFlashLockSector
-- | Flash sector number to lock
[_msgStmFlashLockSector_sector] :: MsgStmFlashLockSector -> !Word32
msgStmFlashLockSector_sector :: Iso' MsgStmFlashLockSector Word32
msgStmFlashUnlockSector :: Word16
-- | SBP class for message MSG_STM_FLASH_UNLOCK_SECTOR (0x00E4).
--
-- The flash unlock message unlocks a sector of the STM flash memory. The
-- device replies with a MSG_FLASH_DONE message.
data MsgStmFlashUnlockSector
MsgStmFlashUnlockSector :: !Word32 -> MsgStmFlashUnlockSector
-- | Flash sector number to unlock
[_msgStmFlashUnlockSector_sector] :: MsgStmFlashUnlockSector -> !Word32
msgStmFlashUnlockSector_sector :: Iso' MsgStmFlashUnlockSector Word32
msgStmUniqueIdReq :: Word16
-- | SBP class for message MSG_STM_UNIQUE_ID_REQ (0x00E8).
--
-- This message reads the device's hardcoded unique ID. The host requests
-- the ID by sending a MSG_STM_UNIQUE_ID_REQ. The device responds with a
-- MSG_STM_UNIQUE_ID_RESP with the 12-byte unique ID in the payload.
data MsgStmUniqueIdReq
MsgStmUniqueIdReq :: MsgStmUniqueIdReq
msgStmUniqueIdResp :: Word16
-- | SBP class for message MSG_STM_UNIQUE_ID_RESP (0x00E5).
--
-- This message reads the device's hardcoded unique ID. The host requests
-- the ID by sending a MSG_STM_UNIQUE_ID_REQ. The device responds with a
-- MSG_STM_UNIQUE_ID_RESP with the 12-byte unique ID in the payload..
data MsgStmUniqueIdResp
MsgStmUniqueIdResp :: ![Word8] -> MsgStmUniqueIdResp
-- | Device unique ID
[_msgStmUniqueIdResp_stm_id] :: MsgStmUniqueIdResp -> ![Word8]
msgStmUniqueIdResp_stm_id :: Iso' MsgStmUniqueIdResp [Word8]
msgM25FlashWriteStatus :: Word16
-- | SBP class for message MSG_M25_FLASH_WRITE_STATUS (0x00F3).
--
-- The flash status message writes to the 8-bit M25 flash status
-- register. The device replies with a MSG_FLASH_DONE message.
data MsgM25FlashWriteStatus
MsgM25FlashWriteStatus :: ![Word8] -> MsgM25FlashWriteStatus
-- | Byte to write to the M25 flash status register
[_msgM25FlashWriteStatus_status] :: MsgM25FlashWriteStatus -> ![Word8]
msgM25FlashWriteStatus_status :: Iso' MsgM25FlashWriteStatus [Word8]
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Flash.MsgM25FlashWriteStatus
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Flash.MsgM25FlashWriteStatus
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Flash.MsgM25FlashWriteStatus
instance GHC.Classes.Eq SwiftNav.SBP.Flash.MsgM25FlashWriteStatus
instance GHC.Read.Read SwiftNav.SBP.Flash.MsgM25FlashWriteStatus
instance GHC.Show.Show SwiftNav.SBP.Flash.MsgM25FlashWriteStatus
instance Data.Binary.Class.Binary SwiftNav.SBP.Flash.MsgM25FlashWriteStatus
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Flash.MsgStmUniqueIdResp
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Flash.MsgStmUniqueIdResp
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Flash.MsgStmUniqueIdResp
instance GHC.Classes.Eq SwiftNav.SBP.Flash.MsgStmUniqueIdResp
instance GHC.Read.Read SwiftNav.SBP.Flash.MsgStmUniqueIdResp
instance GHC.Show.Show SwiftNav.SBP.Flash.MsgStmUniqueIdResp
instance Data.Binary.Class.Binary SwiftNav.SBP.Flash.MsgStmUniqueIdResp
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Flash.MsgStmUniqueIdReq
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Flash.MsgStmUniqueIdReq
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Flash.MsgStmUniqueIdReq
instance GHC.Classes.Eq SwiftNav.SBP.Flash.MsgStmUniqueIdReq
instance GHC.Read.Read SwiftNav.SBP.Flash.MsgStmUniqueIdReq
instance GHC.Show.Show SwiftNav.SBP.Flash.MsgStmUniqueIdReq
instance Data.Binary.Class.Binary SwiftNav.SBP.Flash.MsgStmUniqueIdReq
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Flash.MsgStmFlashUnlockSector
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Flash.MsgStmFlashUnlockSector
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Flash.MsgStmFlashUnlockSector
instance GHC.Classes.Eq SwiftNav.SBP.Flash.MsgStmFlashUnlockSector
instance GHC.Read.Read SwiftNav.SBP.Flash.MsgStmFlashUnlockSector
instance GHC.Show.Show SwiftNav.SBP.Flash.MsgStmFlashUnlockSector
instance Data.Binary.Class.Binary SwiftNav.SBP.Flash.MsgStmFlashUnlockSector
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Flash.MsgStmFlashLockSector
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Flash.MsgStmFlashLockSector
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Flash.MsgStmFlashLockSector
instance GHC.Classes.Eq SwiftNav.SBP.Flash.MsgStmFlashLockSector
instance GHC.Read.Read SwiftNav.SBP.Flash.MsgStmFlashLockSector
instance GHC.Show.Show SwiftNav.SBP.Flash.MsgStmFlashLockSector
instance Data.Binary.Class.Binary SwiftNav.SBP.Flash.MsgStmFlashLockSector
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Flash.MsgFlashErase
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Flash.MsgFlashErase
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Flash.MsgFlashErase
instance GHC.Classes.Eq SwiftNav.SBP.Flash.MsgFlashErase
instance GHC.Read.Read SwiftNav.SBP.Flash.MsgFlashErase
instance GHC.Show.Show SwiftNav.SBP.Flash.MsgFlashErase
instance Data.Binary.Class.Binary SwiftNav.SBP.Flash.MsgFlashErase
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Flash.MsgFlashReadResp
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Flash.MsgFlashReadResp
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Flash.MsgFlashReadResp
instance GHC.Classes.Eq SwiftNav.SBP.Flash.MsgFlashReadResp
instance GHC.Read.Read SwiftNav.SBP.Flash.MsgFlashReadResp
instance GHC.Show.Show SwiftNav.SBP.Flash.MsgFlashReadResp
instance Data.Binary.Class.Binary SwiftNav.SBP.Flash.MsgFlashReadResp
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Flash.MsgFlashReadReq
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Flash.MsgFlashReadReq
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Flash.MsgFlashReadReq
instance GHC.Classes.Eq SwiftNav.SBP.Flash.MsgFlashReadReq
instance GHC.Read.Read SwiftNav.SBP.Flash.MsgFlashReadReq
instance GHC.Show.Show SwiftNav.SBP.Flash.MsgFlashReadReq
instance Data.Binary.Class.Binary SwiftNav.SBP.Flash.MsgFlashReadReq
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Flash.MsgFlashDone
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Flash.MsgFlashDone
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Flash.MsgFlashDone
instance GHC.Classes.Eq SwiftNav.SBP.Flash.MsgFlashDone
instance GHC.Read.Read SwiftNav.SBP.Flash.MsgFlashDone
instance GHC.Show.Show SwiftNav.SBP.Flash.MsgFlashDone
instance Data.Binary.Class.Binary SwiftNav.SBP.Flash.MsgFlashDone
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Flash.MsgFlashProgram
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Flash.MsgFlashProgram
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Flash.MsgFlashProgram
instance GHC.Classes.Eq SwiftNav.SBP.Flash.MsgFlashProgram
instance GHC.Read.Read SwiftNav.SBP.Flash.MsgFlashProgram
instance GHC.Show.Show SwiftNav.SBP.Flash.MsgFlashProgram
instance Data.Binary.Class.Binary SwiftNav.SBP.Flash.MsgFlashProgram
-- | Messages for using device's onboard flash filesystem functionality.
-- This allows data to be stored persistently in the device's program
-- flash with wear-levelling using a simple filesystem interface. The
-- file system interface (CFS) defines an abstract API for reading
-- directories and for reading and writing files. Note that some of these
-- messages share the same message type ID for both the host request and
-- the device response.
module SwiftNav.SBP.FileIo
msgFileioReadReq :: Word16
-- | SBP class for message MSG_FILEIO_READ_REQ (0x00A8).
--
-- The file read message reads a certain length (up to 255 bytes) from a
-- given offset into a file, and returns the data in a
-- MSG_FILEIO_READ_RESP message where the message length field indicates
-- how many bytes were succesfully read.The sequence number in the
-- request will be returned in the response. If the message is invalid, a
-- followup MSG_PRINT message will print "Invalid fileio read message". A
-- device will only respond to this message when it is received from
-- sender ID 0x42.
data MsgFileioReadReq
MsgFileioReadReq :: !Word32 -> !Word32 -> !Word8 -> !Text -> MsgFileioReadReq
-- | Read sequence number
[_msgFileioReadReq_sequence] :: MsgFileioReadReq -> !Word32
-- | File offset
[_msgFileioReadReq_offset] :: MsgFileioReadReq -> !Word32
-- | Chunk size to read
[_msgFileioReadReq_chunk_size] :: MsgFileioReadReq -> !Word8
-- | Name of the file to read from
[_msgFileioReadReq_filename] :: MsgFileioReadReq -> !Text
msgFileioReadReq_sequence :: Lens' MsgFileioReadReq Word32
msgFileioReadReq_offset :: Lens' MsgFileioReadReq Word32
msgFileioReadReq_filename :: Lens' MsgFileioReadReq Text
msgFileioReadReq_chunk_size :: Lens' MsgFileioReadReq Word8
msgFileioReadResp :: Word16
-- | SBP class for message MSG_FILEIO_READ_RESP (0x00A3).
--
-- The file read message reads a certain length (up to 255 bytes) from a
-- given offset into a file, and returns the data in a message where the
-- message length field indicates how many bytes were succesfully read.
-- The sequence number in the response is preserved from the request.
data MsgFileioReadResp
MsgFileioReadResp :: !Word32 -> ![Word8] -> MsgFileioReadResp
-- | Read sequence number
[_msgFileioReadResp_sequence] :: MsgFileioReadResp -> !Word32
-- | Contents of read file
[_msgFileioReadResp_contents] :: MsgFileioReadResp -> ![Word8]
msgFileioReadResp_sequence :: Lens' MsgFileioReadResp Word32
msgFileioReadResp_contents :: Lens' MsgFileioReadResp [Word8]
msgFileioReadDirReq :: Word16
-- | SBP class for message MSG_FILEIO_READ_DIR_REQ (0x00A9).
--
-- The read directory message lists the files in a directory on the
-- device's onboard flash file system. The offset parameter can be used
-- to skip the first n elements of the file list. Returns a
-- MSG_FILEIO_READ_DIR_RESP message containing the directory listings as
-- a NULL delimited list. The listing is chunked over multiple SBP
-- packets. The sequence number in the request will be returned in the
-- response. If message is invalid, a followup MSG_PRINT message will
-- print "Invalid fileio read message". A device will only respond to
-- this message when it is received from sender ID 0x42.
data MsgFileioReadDirReq
MsgFileioReadDirReq :: !Word32 -> !Word32 -> !Text -> MsgFileioReadDirReq
-- | Read sequence number
[_msgFileioReadDirReq_sequence] :: MsgFileioReadDirReq -> !Word32
-- | The offset to skip the first n elements of the file list
[_msgFileioReadDirReq_offset] :: MsgFileioReadDirReq -> !Word32
-- | Name of the directory to list
[_msgFileioReadDirReq_dirname] :: MsgFileioReadDirReq -> !Text
msgFileioReadDirReq_sequence :: Lens' MsgFileioReadDirReq Word32
msgFileioReadDirReq_offset :: Lens' MsgFileioReadDirReq Word32
msgFileioReadDirReq_dirname :: Lens' MsgFileioReadDirReq Text
msgFileioReadDirResp :: Word16
-- | SBP class for message MSG_FILEIO_READ_DIR_RESP (0x00AA).
--
-- The read directory message lists the files in a directory on the
-- device's onboard flash file system. Message contains the directory
-- listings as a NULL delimited list. The listing is chunked over
-- multiple SBP packets and the end of the list is identified by an entry
-- containing just the character 0xFF. The sequence number in the
-- response is preserved from the request.
data MsgFileioReadDirResp
MsgFileioReadDirResp :: !Word32 -> ![Word8] -> MsgFileioReadDirResp
-- | Read sequence number
[_msgFileioReadDirResp_sequence] :: MsgFileioReadDirResp -> !Word32
-- | Contents of read directory
[_msgFileioReadDirResp_contents] :: MsgFileioReadDirResp -> ![Word8]
msgFileioReadDirResp_sequence :: Lens' MsgFileioReadDirResp Word32
msgFileioReadDirResp_contents :: Lens' MsgFileioReadDirResp [Word8]
msgFileioRemove :: Word16
-- | SBP class for message MSG_FILEIO_REMOVE (0x00AC).
--
-- The file remove message deletes a file from the file system. If the
-- message is invalid, a followup MSG_PRINT message will print "Invalid
-- fileio remove message". A device will only process this message when
-- it is received from sender ID 0x42.
data MsgFileioRemove
MsgFileioRemove :: !Text -> MsgFileioRemove
-- | Name of the file to delete
[_msgFileioRemove_filename] :: MsgFileioRemove -> !Text
msgFileioRemove_filename :: Iso' MsgFileioRemove Text
msgFileioWriteReq :: Word16
-- | SBP class for message MSG_FILEIO_WRITE_REQ (0x00AD).
--
-- The file write message writes a certain length (up to 255 bytes) of
-- data to a file at a given offset. Returns a copy of the original
-- MSG_FILEIO_WRITE_RESP message to check integrity of the write. The
-- sequence number in the request will be returned in the response. If
-- message is invalid, a followup MSG_PRINT message will print "Invalid
-- fileio write message". A device will only process this message when it
-- is received from sender ID 0x42.
data MsgFileioWriteReq
MsgFileioWriteReq :: !Word32 -> !Word32 -> !Text -> ![Word8] -> MsgFileioWriteReq
-- | Write sequence number
[_msgFileioWriteReq_sequence] :: MsgFileioWriteReq -> !Word32
-- | Offset into the file at which to start writing in bytes
[_msgFileioWriteReq_offset] :: MsgFileioWriteReq -> !Word32
-- | Name of the file to write to
[_msgFileioWriteReq_filename] :: MsgFileioWriteReq -> !Text
-- | Variable-length array of data to write
[_msgFileioWriteReq_data] :: MsgFileioWriteReq -> ![Word8]
msgFileioWriteReq_sequence :: Lens' MsgFileioWriteReq Word32
msgFileioWriteReq_offset :: Lens' MsgFileioWriteReq Word32
msgFileioWriteReq_filename :: Lens' MsgFileioWriteReq Text
msgFileioWriteReq_data :: Lens' MsgFileioWriteReq [Word8]
msgFileioWriteResp :: Word16
-- | SBP class for message MSG_FILEIO_WRITE_RESP (0x00AB).
--
-- The file write message writes a certain length (up to 255 bytes) of
-- data to a file at a given offset. The message is a copy of the
-- original MSG_FILEIO_WRITE_REQ message to check integrity of the write.
-- The sequence number in the response is preserved from the request.
data MsgFileioWriteResp
MsgFileioWriteResp :: !Word32 -> MsgFileioWriteResp
-- | Write sequence number
[_msgFileioWriteResp_sequence] :: MsgFileioWriteResp -> !Word32
msgFileioWriteResp_sequence :: Iso' MsgFileioWriteResp Word32
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.FileIo.MsgFileioWriteResp
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.FileIo.MsgFileioWriteResp
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.FileIo.MsgFileioWriteResp
instance GHC.Classes.Eq SwiftNav.SBP.FileIo.MsgFileioWriteResp
instance GHC.Read.Read SwiftNav.SBP.FileIo.MsgFileioWriteResp
instance GHC.Show.Show SwiftNav.SBP.FileIo.MsgFileioWriteResp
instance Data.Binary.Class.Binary SwiftNav.SBP.FileIo.MsgFileioWriteResp
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.FileIo.MsgFileioWriteReq
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.FileIo.MsgFileioWriteReq
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.FileIo.MsgFileioWriteReq
instance GHC.Classes.Eq SwiftNav.SBP.FileIo.MsgFileioWriteReq
instance GHC.Read.Read SwiftNav.SBP.FileIo.MsgFileioWriteReq
instance GHC.Show.Show SwiftNav.SBP.FileIo.MsgFileioWriteReq
instance Data.Binary.Class.Binary SwiftNav.SBP.FileIo.MsgFileioWriteReq
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.FileIo.MsgFileioRemove
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.FileIo.MsgFileioRemove
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.FileIo.MsgFileioRemove
instance GHC.Classes.Eq SwiftNav.SBP.FileIo.MsgFileioRemove
instance GHC.Read.Read SwiftNav.SBP.FileIo.MsgFileioRemove
instance GHC.Show.Show SwiftNav.SBP.FileIo.MsgFileioRemove
instance Data.Binary.Class.Binary SwiftNav.SBP.FileIo.MsgFileioRemove
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.FileIo.MsgFileioReadDirResp
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.FileIo.MsgFileioReadDirResp
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.FileIo.MsgFileioReadDirResp
instance GHC.Classes.Eq SwiftNav.SBP.FileIo.MsgFileioReadDirResp
instance GHC.Read.Read SwiftNav.SBP.FileIo.MsgFileioReadDirResp
instance GHC.Show.Show SwiftNav.SBP.FileIo.MsgFileioReadDirResp
instance Data.Binary.Class.Binary SwiftNav.SBP.FileIo.MsgFileioReadDirResp
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.FileIo.MsgFileioReadDirReq
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.FileIo.MsgFileioReadDirReq
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.FileIo.MsgFileioReadDirReq
instance GHC.Classes.Eq SwiftNav.SBP.FileIo.MsgFileioReadDirReq
instance GHC.Read.Read SwiftNav.SBP.FileIo.MsgFileioReadDirReq
instance GHC.Show.Show SwiftNav.SBP.FileIo.MsgFileioReadDirReq
instance Data.Binary.Class.Binary SwiftNav.SBP.FileIo.MsgFileioReadDirReq
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.FileIo.MsgFileioReadResp
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.FileIo.MsgFileioReadResp
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.FileIo.MsgFileioReadResp
instance GHC.Classes.Eq SwiftNav.SBP.FileIo.MsgFileioReadResp
instance GHC.Read.Read SwiftNav.SBP.FileIo.MsgFileioReadResp
instance GHC.Show.Show SwiftNav.SBP.FileIo.MsgFileioReadResp
instance Data.Binary.Class.Binary SwiftNav.SBP.FileIo.MsgFileioReadResp
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.FileIo.MsgFileioReadReq
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.FileIo.MsgFileioReadReq
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.FileIo.MsgFileioReadReq
instance GHC.Classes.Eq SwiftNav.SBP.FileIo.MsgFileioReadReq
instance GHC.Read.Read SwiftNav.SBP.FileIo.MsgFileioReadReq
instance GHC.Show.Show SwiftNav.SBP.FileIo.MsgFileioReadReq
instance Data.Binary.Class.Binary SwiftNav.SBP.FileIo.MsgFileioReadReq
-- | Messages reporting accurately-timestamped external events, e.g. camera
-- shutter time.
module SwiftNav.SBP.ExtEvents
msgExtEvent :: Word16
-- | SBP class for message MSG_EXT_EVENT (0x0101).
--
-- Reports detection of an external event, the GPS time it occurred,
-- which pin it was and whether it was rising or falling.
data MsgExtEvent
MsgExtEvent :: !Word16 -> !Word32 -> !Int32 -> !Word8 -> !Word8 -> MsgExtEvent
-- | GPS week number
[_msgExtEvent_wn] :: MsgExtEvent -> !Word16
-- | GPS time of week rounded to the nearest millisecond
[_msgExtEvent_tow] :: MsgExtEvent -> !Word32
-- | Nanosecond residual of millisecond-rounded TOW (ranges from -500000 to
-- 500000)
[_msgExtEvent_ns_residual] :: MsgExtEvent -> !Int32
-- | Flags
[_msgExtEvent_flags] :: MsgExtEvent -> !Word8
-- | Pin number. 0..9 = DEBUG0..9.
[_msgExtEvent_pin] :: MsgExtEvent -> !Word8
msgExtEvent_wn :: Lens' MsgExtEvent Word16
msgExtEvent_tow :: Lens' MsgExtEvent Word32
msgExtEvent_pin :: Lens' MsgExtEvent Word8
msgExtEvent_ns_residual :: Lens' MsgExtEvent Int32
msgExtEvent_flags :: Lens' MsgExtEvent Word8
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.ExtEvents.MsgExtEvent
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.ExtEvents.MsgExtEvent
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.ExtEvents.MsgExtEvent
instance GHC.Classes.Eq SwiftNav.SBP.ExtEvents.MsgExtEvent
instance GHC.Read.Read SwiftNav.SBP.ExtEvents.MsgExtEvent
instance GHC.Show.Show SwiftNav.SBP.ExtEvents.MsgExtEvent
instance Data.Binary.Class.Binary SwiftNav.SBP.ExtEvents.MsgExtEvent
-- | Messages for the bootloading configuration of a Piksi 2.3.1. This
-- message group does not apply to Piksi Multi. Note that some of these
-- messages share the same message type ID for both the host request and
-- the device response.
module SwiftNav.SBP.Bootload
msgBootloaderHandshakeReq :: Word16
-- | SBP class for message MSG_BOOTLOADER_HANDSHAKE_REQ (0x00B3).
--
-- The handshake message request from the host establishes a handshake
-- between the device bootloader and the host. The response from the
-- device is MSG_BOOTLOADER_HANDSHAKE_RESP.
data MsgBootloaderHandshakeReq
MsgBootloaderHandshakeReq :: MsgBootloaderHandshakeReq
msgBootloaderHandshakeResp :: Word16
-- | SBP class for message MSG_BOOTLOADER_HANDSHAKE_RESP (0x00B4).
--
-- The handshake message response from the device establishes a handshake
-- between the device bootloader and the host. The request from the host
-- is MSG_BOOTLOADER_HANDSHAKE_REQ. The payload contains the bootloader
-- version number and the SBP protocol version number.
data MsgBootloaderHandshakeResp
MsgBootloaderHandshakeResp :: !Word32 -> !Text -> MsgBootloaderHandshakeResp
-- | Bootloader flags
[_msgBootloaderHandshakeResp_flags] :: MsgBootloaderHandshakeResp -> !Word32
-- | Bootloader version number
[_msgBootloaderHandshakeResp_version] :: MsgBootloaderHandshakeResp -> !Text
msgBootloaderHandshakeResp_version :: Lens' MsgBootloaderHandshakeResp Text
msgBootloaderHandshakeResp_flags :: Lens' MsgBootloaderHandshakeResp Word32
msgBootloaderJumpToApp :: Word16
-- | SBP class for message MSG_BOOTLOADER_JUMP_TO_APP (0x00B1).
--
-- The host initiates the bootloader to jump to the application.
data MsgBootloaderJumpToApp
MsgBootloaderJumpToApp :: !Word8 -> MsgBootloaderJumpToApp
-- | Ignored by the device
[_msgBootloaderJumpToApp_jump] :: MsgBootloaderJumpToApp -> !Word8
msgBootloaderJumpToApp_jump :: Iso' MsgBootloaderJumpToApp Word8
msgNapDeviceDnaReq :: Word16
-- | SBP class for message MSG_NAP_DEVICE_DNA_REQ (0x00DE).
--
-- The device message from the host reads a unique device identifier from
-- the SwiftNAP, an FPGA. The host requests the ID by sending a
-- MSG_NAP_DEVICE_DNA_REQ message. The device responds with a
-- MSG_NAP_DEVICE_DNA_RESP message with the device ID in the payload.
-- Note that this ID is tied to the FPGA, and not related to the Piksi's
-- serial number.
data MsgNapDeviceDnaReq
MsgNapDeviceDnaReq :: MsgNapDeviceDnaReq
msgNapDeviceDnaResp :: Word16
-- | SBP class for message MSG_NAP_DEVICE_DNA_RESP (0x00DD).
--
-- The device message from the host reads a unique device identifier from
-- the SwiftNAP, an FPGA. The host requests the ID by sending a
-- MSG_NAP_DEVICE_DNA_REQ message. The device responds with a
-- MSG_NAP_DEVICE_DNA_RESP messagage with the device ID in the payload.
-- Note that this ID is tied to the FPGA, and not related to the Piksi's
-- serial number.
data MsgNapDeviceDnaResp
MsgNapDeviceDnaResp :: ![Word8] -> MsgNapDeviceDnaResp
-- | 57-bit SwiftNAP FPGA Device ID. Remaining bits are padded on the
-- right.
[_msgNapDeviceDnaResp_dna] :: MsgNapDeviceDnaResp -> ![Word8]
msgNapDeviceDnaResp_dna :: Iso' MsgNapDeviceDnaResp [Word8]
msgBootloaderHandshakeDepA :: Word16
-- | SBP class for message MSG_BOOTLOADER_HANDSHAKE_DEP_A (0x00B0).
--
-- Deprecated.
data MsgBootloaderHandshakeDepA
MsgBootloaderHandshakeDepA :: ![Word8] -> MsgBootloaderHandshakeDepA
-- | Version number string (not NULL terminated)
[_msgBootloaderHandshakeDepA_handshake] :: MsgBootloaderHandshakeDepA -> ![Word8]
msgBootloaderHandshakeDepA_handshake :: Iso' MsgBootloaderHandshakeDepA [Word8]
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Bootload.MsgBootloaderHandshakeDepA
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Bootload.MsgBootloaderHandshakeDepA
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Bootload.MsgBootloaderHandshakeDepA
instance GHC.Classes.Eq SwiftNav.SBP.Bootload.MsgBootloaderHandshakeDepA
instance GHC.Read.Read SwiftNav.SBP.Bootload.MsgBootloaderHandshakeDepA
instance GHC.Show.Show SwiftNav.SBP.Bootload.MsgBootloaderHandshakeDepA
instance Data.Binary.Class.Binary SwiftNav.SBP.Bootload.MsgBootloaderHandshakeDepA
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Bootload.MsgNapDeviceDnaResp
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Bootload.MsgNapDeviceDnaResp
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Bootload.MsgNapDeviceDnaResp
instance GHC.Classes.Eq SwiftNav.SBP.Bootload.MsgNapDeviceDnaResp
instance GHC.Read.Read SwiftNav.SBP.Bootload.MsgNapDeviceDnaResp
instance GHC.Show.Show SwiftNav.SBP.Bootload.MsgNapDeviceDnaResp
instance Data.Binary.Class.Binary SwiftNav.SBP.Bootload.MsgNapDeviceDnaResp
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Bootload.MsgNapDeviceDnaReq
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Bootload.MsgNapDeviceDnaReq
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Bootload.MsgNapDeviceDnaReq
instance GHC.Classes.Eq SwiftNav.SBP.Bootload.MsgNapDeviceDnaReq
instance GHC.Read.Read SwiftNav.SBP.Bootload.MsgNapDeviceDnaReq
instance GHC.Show.Show SwiftNav.SBP.Bootload.MsgNapDeviceDnaReq
instance Data.Binary.Class.Binary SwiftNav.SBP.Bootload.MsgNapDeviceDnaReq
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Bootload.MsgBootloaderJumpToApp
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Bootload.MsgBootloaderJumpToApp
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Bootload.MsgBootloaderJumpToApp
instance GHC.Classes.Eq SwiftNav.SBP.Bootload.MsgBootloaderJumpToApp
instance GHC.Read.Read SwiftNav.SBP.Bootload.MsgBootloaderJumpToApp
instance GHC.Show.Show SwiftNav.SBP.Bootload.MsgBootloaderJumpToApp
instance Data.Binary.Class.Binary SwiftNav.SBP.Bootload.MsgBootloaderJumpToApp
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Bootload.MsgBootloaderHandshakeResp
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Bootload.MsgBootloaderHandshakeResp
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Bootload.MsgBootloaderHandshakeResp
instance GHC.Classes.Eq SwiftNav.SBP.Bootload.MsgBootloaderHandshakeResp
instance GHC.Read.Read SwiftNav.SBP.Bootload.MsgBootloaderHandshakeResp
instance GHC.Show.Show SwiftNav.SBP.Bootload.MsgBootloaderHandshakeResp
instance Data.Binary.Class.Binary SwiftNav.SBP.Bootload.MsgBootloaderHandshakeResp
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Bootload.MsgBootloaderHandshakeReq
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Bootload.MsgBootloaderHandshakeReq
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Bootload.MsgBootloaderHandshakeReq
instance GHC.Classes.Eq SwiftNav.SBP.Bootload.MsgBootloaderHandshakeReq
instance GHC.Read.Read SwiftNav.SBP.Bootload.MsgBootloaderHandshakeReq
instance GHC.Show.Show SwiftNav.SBP.Bootload.MsgBootloaderHandshakeReq
instance Data.Binary.Class.Binary SwiftNav.SBP.Bootload.MsgBootloaderHandshakeReq
-- | Satellite acquisition messages from the device.
module SwiftNav.SBP.Acquisition
msgAcqResult :: Word16
-- | SBP class for message MSG_ACQ_RESULT (0x002F).
--
-- This message describes the results from an attempted GPS signal
-- acquisition search for a satellite PRN over a code phase/carrier
-- frequency range. It contains the parameters of the point in the
-- acquisition search space with the best carrier-to-noise (CN/0) ratio.
data MsgAcqResult
MsgAcqResult :: !Float -> !Float -> !Float -> !GnssSignal -> MsgAcqResult
-- | CN/0 of best point
[_msgAcqResult_cn0] :: MsgAcqResult -> !Float
-- | Code phase of best point
[_msgAcqResult_cp] :: MsgAcqResult -> !Float
-- | Carrier frequency of best point
[_msgAcqResult_cf] :: MsgAcqResult -> !Float
-- | GNSS signal for which acquisition was attempted
[_msgAcqResult_sid] :: MsgAcqResult -> !GnssSignal
msgAcqResult_sid :: Lens' MsgAcqResult GnssSignal
msgAcqResult_cp :: Lens' MsgAcqResult Float
msgAcqResult_cn0 :: Lens' MsgAcqResult Float
msgAcqResult_cf :: Lens' MsgAcqResult Float
msgAcqResultDepC :: Word16
-- | SBP class for message MSG_ACQ_RESULT_DEP_C (0x001F).
--
-- Deprecated.
data MsgAcqResultDepC
MsgAcqResultDepC :: !Float -> !Float -> !Float -> !GnssSignalDep -> MsgAcqResultDepC
-- | CN/0 of best point
[_msgAcqResultDepC_cn0] :: MsgAcqResultDepC -> !Float
-- | Code phase of best point
[_msgAcqResultDepC_cp] :: MsgAcqResultDepC -> !Float
-- | Carrier frequency of best point
[_msgAcqResultDepC_cf] :: MsgAcqResultDepC -> !Float
-- | GNSS signal for which acquisition was attempted
[_msgAcqResultDepC_sid] :: MsgAcqResultDepC -> !GnssSignalDep
msgAcqResultDepC_sid :: Lens' MsgAcqResultDepC GnssSignalDep
msgAcqResultDepC_cp :: Lens' MsgAcqResultDepC Float
msgAcqResultDepC_cn0 :: Lens' MsgAcqResultDepC Float
msgAcqResultDepC_cf :: Lens' MsgAcqResultDepC Float
msgAcqResultDepB :: Word16
-- | SBP class for message MSG_ACQ_RESULT_DEP_B (0x0014).
--
-- Deprecated.
data MsgAcqResultDepB
MsgAcqResultDepB :: !Float -> !Float -> !Float -> !GnssSignalDep -> MsgAcqResultDepB
-- | SNR of best point. Currently in arbitrary SNR points, but will be in
-- units of dB Hz in a later revision of this message.
[_msgAcqResultDepB_snr] :: MsgAcqResultDepB -> !Float
-- | Code phase of best point
[_msgAcqResultDepB_cp] :: MsgAcqResultDepB -> !Float
-- | Carrier frequency of best point
[_msgAcqResultDepB_cf] :: MsgAcqResultDepB -> !Float
-- | GNSS signal for which acquisition was attempted
[_msgAcqResultDepB_sid] :: MsgAcqResultDepB -> !GnssSignalDep
msgAcqResultDepB_snr :: Lens' MsgAcqResultDepB Float
msgAcqResultDepB_sid :: Lens' MsgAcqResultDepB GnssSignalDep
msgAcqResultDepB_cp :: Lens' MsgAcqResultDepB Float
msgAcqResultDepB_cf :: Lens' MsgAcqResultDepB Float
msgAcqResultDepA :: Word16
-- | SBP class for message MSG_ACQ_RESULT_DEP_A (0x0015).
--
-- Deprecated.
data MsgAcqResultDepA
MsgAcqResultDepA :: !Float -> !Float -> !Float -> !Word8 -> MsgAcqResultDepA
-- | SNR of best point. Currently dimensonless, but will have units of dB
-- Hz in the revision of this message.
[_msgAcqResultDepA_snr] :: MsgAcqResultDepA -> !Float
-- | Code phase of best point
[_msgAcqResultDepA_cp] :: MsgAcqResultDepA -> !Float
-- | Carrier frequency of best point
[_msgAcqResultDepA_cf] :: MsgAcqResultDepA -> !Float
-- | PRN-1 identifier of the satellite signal for which acquisition was
-- attempted
[_msgAcqResultDepA_prn] :: MsgAcqResultDepA -> !Word8
msgAcqResultDepA_snr :: Lens' MsgAcqResultDepA Float
msgAcqResultDepA_prn :: Lens' MsgAcqResultDepA Word8
msgAcqResultDepA_cp :: Lens' MsgAcqResultDepA Float
msgAcqResultDepA_cf :: Lens' MsgAcqResultDepA Float
-- | AcqSvProfile.
--
-- Profile for a specific SV for debugging purposes The message describes
-- SV profile during acquisition time. The message is used to debug and
-- measure the performance.
data AcqSvProfile
AcqSvProfile :: !Word8 -> !Word8 -> !Word16 -> !Word8 -> !GnssSignal -> !Word16 -> !Word32 -> !Word32 -> !Int32 -> !Int32 -> !Int32 -> !Word32 -> AcqSvProfile
-- | SV search job type (deep, fallback, etc)
[_acqSvProfile_job_type] :: AcqSvProfile -> !Word8
-- | Acquisition status 1 is Success, 0 is Failure
[_acqSvProfile_status] :: AcqSvProfile -> !Word8
-- | CN0 value. Only valid if status is '1'
[_acqSvProfile_cn0] :: AcqSvProfile -> !Word16
-- | Acquisition integration time
[_acqSvProfile_int_time] :: AcqSvProfile -> !Word8
-- | GNSS signal for which acquisition was attempted
[_acqSvProfile_sid] :: AcqSvProfile -> !GnssSignal
-- | Acq frequency bin width
[_acqSvProfile_bin_width] :: AcqSvProfile -> !Word16
-- | Timestamp of the job complete event
[_acqSvProfile_timestamp] :: AcqSvProfile -> !Word32
-- | Time spent to search for sid.code
[_acqSvProfile_time_spent] :: AcqSvProfile -> !Word32
-- | Doppler range lowest frequency
[_acqSvProfile_cf_min] :: AcqSvProfile -> !Int32
-- | Doppler range highest frequency
[_acqSvProfile_cf_max] :: AcqSvProfile -> !Int32
-- | Doppler value of detected peak. Only valid if status is '1'
[_acqSvProfile_cf] :: AcqSvProfile -> !Int32
-- | Codephase of detected peak. Only valid if status is '1'
[_acqSvProfile_cp] :: AcqSvProfile -> !Word32
acqSvProfile_timestamp :: Lens' AcqSvProfile Word32
acqSvProfile_time_spent :: Lens' AcqSvProfile Word32
acqSvProfile_status :: Lens' AcqSvProfile Word8
acqSvProfile_sid :: Lens' AcqSvProfile GnssSignal
acqSvProfile_job_type :: Lens' AcqSvProfile Word8
acqSvProfile_int_time :: Lens' AcqSvProfile Word8
acqSvProfile_cp :: Lens' AcqSvProfile Word32
acqSvProfile_cn0 :: Lens' AcqSvProfile Word16
acqSvProfile_cf_min :: Lens' AcqSvProfile Int32
acqSvProfile_cf_max :: Lens' AcqSvProfile Int32
acqSvProfile_cf :: Lens' AcqSvProfile Int32
acqSvProfile_bin_width :: Lens' AcqSvProfile Word16
-- | AcqSvProfileDep.
--
-- Deprecated.
data AcqSvProfileDep
AcqSvProfileDep :: !Word8 -> !Word8 -> !Word16 -> !Word8 -> !GnssSignalDep -> !Word16 -> !Word32 -> !Word32 -> !Int32 -> !Int32 -> !Int32 -> !Word32 -> AcqSvProfileDep
-- | SV search job type (deep, fallback, etc)
[_acqSvProfileDep_job_type] :: AcqSvProfileDep -> !Word8
-- | Acquisition status 1 is Success, 0 is Failure
[_acqSvProfileDep_status] :: AcqSvProfileDep -> !Word8
-- | CN0 value. Only valid if status is '1'
[_acqSvProfileDep_cn0] :: AcqSvProfileDep -> !Word16
-- | Acquisition integration time
[_acqSvProfileDep_int_time] :: AcqSvProfileDep -> !Word8
-- | GNSS signal for which acquisition was attempted
[_acqSvProfileDep_sid] :: AcqSvProfileDep -> !GnssSignalDep
-- | Acq frequency bin width
[_acqSvProfileDep_bin_width] :: AcqSvProfileDep -> !Word16
-- | Timestamp of the job complete event
[_acqSvProfileDep_timestamp] :: AcqSvProfileDep -> !Word32
-- | Time spent to search for sid.code
[_acqSvProfileDep_time_spent] :: AcqSvProfileDep -> !Word32
-- | Doppler range lowest frequency
[_acqSvProfileDep_cf_min] :: AcqSvProfileDep -> !Int32
-- | Doppler range highest frequency
[_acqSvProfileDep_cf_max] :: AcqSvProfileDep -> !Int32
-- | Doppler value of detected peak. Only valid if status is '1'
[_acqSvProfileDep_cf] :: AcqSvProfileDep -> !Int32
-- | Codephase of detected peak. Only valid if status is '1'
[_acqSvProfileDep_cp] :: AcqSvProfileDep -> !Word32
acqSvProfileDep_timestamp :: Lens' AcqSvProfileDep Word32
acqSvProfileDep_time_spent :: Lens' AcqSvProfileDep Word32
acqSvProfileDep_status :: Lens' AcqSvProfileDep Word8
acqSvProfileDep_sid :: Lens' AcqSvProfileDep GnssSignalDep
acqSvProfileDep_job_type :: Lens' AcqSvProfileDep Word8
acqSvProfileDep_int_time :: Lens' AcqSvProfileDep Word8
acqSvProfileDep_cp :: Lens' AcqSvProfileDep Word32
acqSvProfileDep_cn0 :: Lens' AcqSvProfileDep Word16
acqSvProfileDep_cf_min :: Lens' AcqSvProfileDep Int32
acqSvProfileDep_cf_max :: Lens' AcqSvProfileDep Int32
acqSvProfileDep_cf :: Lens' AcqSvProfileDep Int32
acqSvProfileDep_bin_width :: Lens' AcqSvProfileDep Word16
msgAcqSvProfile :: Word16
-- | SBP class for message MSG_ACQ_SV_PROFILE (0x002E).
--
-- The message describes all SV profiles during acquisition time. The
-- message is used to debug and measure the performance.
data MsgAcqSvProfile
MsgAcqSvProfile :: ![AcqSvProfile] -> MsgAcqSvProfile
-- | SV profiles during acquisition time
[_msgAcqSvProfile_acq_sv_profile] :: MsgAcqSvProfile -> ![AcqSvProfile]
msgAcqSvProfile_acq_sv_profile :: Iso' MsgAcqSvProfile [AcqSvProfile]
msgAcqSvProfileDep :: Word16
-- | SBP class for message MSG_ACQ_SV_PROFILE_DEP (0x001E).
--
-- Deprecated.
data MsgAcqSvProfileDep
MsgAcqSvProfileDep :: ![AcqSvProfileDep] -> MsgAcqSvProfileDep
-- | SV profiles during acquisition time
[_msgAcqSvProfileDep_acq_sv_profile] :: MsgAcqSvProfileDep -> ![AcqSvProfileDep]
msgAcqSvProfileDep_acq_sv_profile :: Iso' MsgAcqSvProfileDep [AcqSvProfileDep]
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Acquisition.MsgAcqSvProfileDep
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Acquisition.MsgAcqSvProfileDep
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Acquisition.MsgAcqSvProfileDep
instance GHC.Classes.Eq SwiftNav.SBP.Acquisition.MsgAcqSvProfileDep
instance GHC.Read.Read SwiftNav.SBP.Acquisition.MsgAcqSvProfileDep
instance GHC.Show.Show SwiftNav.SBP.Acquisition.MsgAcqSvProfileDep
instance Data.Binary.Class.Binary SwiftNav.SBP.Acquisition.MsgAcqSvProfileDep
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Acquisition.MsgAcqSvProfile
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Acquisition.MsgAcqSvProfile
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Acquisition.MsgAcqSvProfile
instance GHC.Classes.Eq SwiftNav.SBP.Acquisition.MsgAcqSvProfile
instance GHC.Read.Read SwiftNav.SBP.Acquisition.MsgAcqSvProfile
instance GHC.Show.Show SwiftNav.SBP.Acquisition.MsgAcqSvProfile
instance Data.Binary.Class.Binary SwiftNav.SBP.Acquisition.MsgAcqSvProfile
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Acquisition.AcqSvProfileDep
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Acquisition.AcqSvProfileDep
instance GHC.Classes.Eq SwiftNav.SBP.Acquisition.AcqSvProfileDep
instance GHC.Read.Read SwiftNav.SBP.Acquisition.AcqSvProfileDep
instance GHC.Show.Show SwiftNav.SBP.Acquisition.AcqSvProfileDep
instance Data.Binary.Class.Binary SwiftNav.SBP.Acquisition.AcqSvProfileDep
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Acquisition.AcqSvProfile
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Acquisition.AcqSvProfile
instance GHC.Classes.Eq SwiftNav.SBP.Acquisition.AcqSvProfile
instance GHC.Read.Read SwiftNav.SBP.Acquisition.AcqSvProfile
instance GHC.Show.Show SwiftNav.SBP.Acquisition.AcqSvProfile
instance Data.Binary.Class.Binary SwiftNav.SBP.Acquisition.AcqSvProfile
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Acquisition.MsgAcqResultDepA
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Acquisition.MsgAcqResultDepA
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Acquisition.MsgAcqResultDepA
instance GHC.Classes.Eq SwiftNav.SBP.Acquisition.MsgAcqResultDepA
instance GHC.Read.Read SwiftNav.SBP.Acquisition.MsgAcqResultDepA
instance GHC.Show.Show SwiftNav.SBP.Acquisition.MsgAcqResultDepA
instance Data.Binary.Class.Binary SwiftNav.SBP.Acquisition.MsgAcqResultDepA
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Acquisition.MsgAcqResultDepB
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Acquisition.MsgAcqResultDepB
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Acquisition.MsgAcqResultDepB
instance GHC.Classes.Eq SwiftNav.SBP.Acquisition.MsgAcqResultDepB
instance GHC.Read.Read SwiftNav.SBP.Acquisition.MsgAcqResultDepB
instance GHC.Show.Show SwiftNav.SBP.Acquisition.MsgAcqResultDepB
instance Data.Binary.Class.Binary SwiftNav.SBP.Acquisition.MsgAcqResultDepB
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Acquisition.MsgAcqResultDepC
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Acquisition.MsgAcqResultDepC
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Acquisition.MsgAcqResultDepC
instance GHC.Classes.Eq SwiftNav.SBP.Acquisition.MsgAcqResultDepC
instance GHC.Read.Read SwiftNav.SBP.Acquisition.MsgAcqResultDepC
instance GHC.Show.Show SwiftNav.SBP.Acquisition.MsgAcqResultDepC
instance Data.Binary.Class.Binary SwiftNav.SBP.Acquisition.MsgAcqResultDepC
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Acquisition.MsgAcqResult
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Acquisition.MsgAcqResult
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Acquisition.MsgAcqResult
instance GHC.Classes.Eq SwiftNav.SBP.Acquisition.MsgAcqResult
instance GHC.Read.Read SwiftNav.SBP.Acquisition.MsgAcqResult
instance GHC.Show.Show SwiftNav.SBP.Acquisition.MsgAcqResult
instance Data.Binary.Class.Binary SwiftNav.SBP.Acquisition.MsgAcqResult
-- | Messages reserved for use by the user.
module SwiftNav.SBP.User
msgUserData :: Word16
-- | SBP class for message MSG_USER_DATA (0x0800).
--
-- This message can contain any application specific user data up to a
-- maximum length of 255 bytes per message.
data MsgUserData
MsgUserData :: ![Word8] -> MsgUserData
-- | User data payload
[_msgUserData_contents] :: MsgUserData -> ![Word8]
msgUserData_contents :: Iso' MsgUserData [Word8]
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.User.MsgUserData
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.User.MsgUserData
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.User.MsgUserData
instance GHC.Classes.Eq SwiftNav.SBP.User.MsgUserData
instance GHC.Read.Read SwiftNav.SBP.User.MsgUserData
instance GHC.Show.Show SwiftNav.SBP.User.MsgUserData
instance Data.Binary.Class.Binary SwiftNav.SBP.User.MsgUserData
-- | Messages from a vehicle.
module SwiftNav.SBP.Vehicle
msgOdometry :: Word16
-- | SBP class for message MSG_ODOMETRY (0x0903).
--
-- Message representing the x component of vehicle velocity in the user
-- frame at the odometry reference point(s) specified by the user. The
-- offset for the odometry reference point and the definition and origin
-- of the user frame are defined through the device settings interface.
-- There are 4 possible user-defined sources of this message which are
-- labeled arbitrarily source 0 through 3.
data MsgOdometry
MsgOdometry :: !Word32 -> !Int32 -> !Word8 -> MsgOdometry
-- | Time field representing either milliseconds in the GPS Week or local
-- CPU time from the producing system in milliseconds. See the tow_source
-- flag for the exact source of this timestamp.
[_msgOdometry_tow] :: MsgOdometry -> !Word32
-- | The signed forward component of vehicle velocity.
[_msgOdometry_velocity] :: MsgOdometry -> !Int32
-- | Status flags
[_msgOdometry_flags] :: MsgOdometry -> !Word8
msgOdometry_velocity :: Lens' MsgOdometry Int32
msgOdometry_tow :: Lens' MsgOdometry Word32
msgOdometry_flags :: Lens' MsgOdometry Word8
instance Data.Aeson.Types.ToJSON.ToJSON SwiftNav.SBP.Vehicle.MsgOdometry
instance Data.Aeson.Types.FromJSON.FromJSON SwiftNav.SBP.Vehicle.MsgOdometry
instance SwiftNav.SBP.Types.ToSBP SwiftNav.SBP.Vehicle.MsgOdometry
instance GHC.Classes.Eq SwiftNav.SBP.Vehicle.MsgOdometry
instance GHC.Read.Read SwiftNav.SBP.Vehicle.MsgOdometry
instance GHC.Show.Show SwiftNav.SBP.Vehicle.MsgOdometry
instance Data.Binary.Class.Binary SwiftNav.SBP.Vehicle.MsgOdometry
-- | SBP message containers.
module SwiftNav.SBP