Copyright | Copyright (C) 2015-2018 Swift Navigation Inc. |
---|---|
License | LGPL-3 |
Maintainer | Swift Navigation <dev@swiftnav.com> |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Standardized system messages from Swift Navigation devices.
Synopsis
- data MsgStartup = MsgStartup {}
- msgStartup :: Word16
- data MsgDgnssStatus = MsgDgnssStatus {}
- msgStartup_cause :: Lens' MsgStartup Word8
- msgStartup_reserved :: Lens' MsgStartup Word16
- msgStartup_startup_type :: Lens' MsgStartup Word8
- msgDgnssStatus :: Word16
- data MsgHeartbeat = MsgHeartbeat {}
- msgDgnssStatus_flags :: Lens' MsgDgnssStatus Word8
- msgDgnssStatus_latency :: Lens' MsgDgnssStatus Word16
- msgDgnssStatus_num_signals :: Lens' MsgDgnssStatus Word8
- msgDgnssStatus_source :: Lens' MsgDgnssStatus Text
- msgHeartbeat :: Word16
- data MsgInsStatus = MsgInsStatus {}
- msgHeartbeat_flags :: Iso' MsgHeartbeat Word32
- msgInsStatus :: Word16
- data MsgCsacTelemetry = MsgCsacTelemetry {}
- msgInsStatus_flags :: Iso' MsgInsStatus Word32
- msgCsacTelemetry :: Word16
- data MsgCsacTelemetryLabels = MsgCsacTelemetryLabels {}
- msgCsacTelemetry_id :: Lens' MsgCsacTelemetry Word8
- msgCsacTelemetry_telemetry :: Lens' MsgCsacTelemetry Text
- msgCsacTelemetryLabels :: Word16
- msgCsacTelemetryLabels_id :: Lens' MsgCsacTelemetryLabels Word8
- msgCsacTelemetryLabels_telemetry_labels :: Lens' MsgCsacTelemetryLabels Text
Documentation
data MsgStartup Source #
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.
MsgStartup | |
|
Instances
Eq MsgStartup Source # | |
Defined in SwiftNav.SBP.System (==) :: MsgStartup -> MsgStartup -> Bool # (/=) :: MsgStartup -> MsgStartup -> Bool # | |
Read MsgStartup Source # | |
Defined in SwiftNav.SBP.System readsPrec :: Int -> ReadS MsgStartup # readList :: ReadS [MsgStartup] # readPrec :: ReadPrec MsgStartup # readListPrec :: ReadPrec [MsgStartup] # | |
Show MsgStartup Source # | |
Defined in SwiftNav.SBP.System showsPrec :: Int -> MsgStartup -> ShowS # show :: MsgStartup -> String # showList :: [MsgStartup] -> ShowS # | |
ToJSON MsgStartup Source # | |
Defined in SwiftNav.SBP.System toJSON :: MsgStartup -> Value # toEncoding :: MsgStartup -> Encoding # toJSONList :: [MsgStartup] -> Value # toEncodingList :: [MsgStartup] -> Encoding # | |
FromJSON MsgStartup Source # | |
Defined in SwiftNav.SBP.System parseJSON :: Value -> Parser MsgStartup # parseJSONList :: Value -> Parser [MsgStartup] # | |
Binary MsgStartup Source # | |
Defined in SwiftNav.SBP.System | |
ToSBP MsgStartup Source # | |
Defined in SwiftNav.SBP.System |
msgStartup :: Word16 Source #
data MsgDgnssStatus Source #
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.
MsgDgnssStatus | |
|
Instances
Eq MsgDgnssStatus Source # | |
Defined in SwiftNav.SBP.System (==) :: MsgDgnssStatus -> MsgDgnssStatus -> Bool # (/=) :: MsgDgnssStatus -> MsgDgnssStatus -> Bool # | |
Read MsgDgnssStatus Source # | |
Defined in SwiftNav.SBP.System readsPrec :: Int -> ReadS MsgDgnssStatus # readList :: ReadS [MsgDgnssStatus] # | |
Show MsgDgnssStatus Source # | |
Defined in SwiftNav.SBP.System showsPrec :: Int -> MsgDgnssStatus -> ShowS # show :: MsgDgnssStatus -> String # showList :: [MsgDgnssStatus] -> ShowS # | |
ToJSON MsgDgnssStatus Source # | |
Defined in SwiftNav.SBP.System toJSON :: MsgDgnssStatus -> Value # toEncoding :: MsgDgnssStatus -> Encoding # toJSONList :: [MsgDgnssStatus] -> Value # toEncodingList :: [MsgDgnssStatus] -> Encoding # | |
FromJSON MsgDgnssStatus Source # | |
Defined in SwiftNav.SBP.System parseJSON :: Value -> Parser MsgDgnssStatus # parseJSONList :: Value -> Parser [MsgDgnssStatus] # | |
Binary MsgDgnssStatus Source # | |
Defined in SwiftNav.SBP.System | |
ToSBP MsgDgnssStatus Source # | |
Defined in SwiftNav.SBP.System |
data MsgHeartbeat Source #
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.
MsgHeartbeat | |
|
Instances
Eq MsgHeartbeat Source # | |
Defined in SwiftNav.SBP.System (==) :: MsgHeartbeat -> MsgHeartbeat -> Bool # (/=) :: MsgHeartbeat -> MsgHeartbeat -> Bool # | |
Read MsgHeartbeat Source # | |
Defined in SwiftNav.SBP.System readsPrec :: Int -> ReadS MsgHeartbeat # readList :: ReadS [MsgHeartbeat] # | |
Show MsgHeartbeat Source # | |
Defined in SwiftNav.SBP.System showsPrec :: Int -> MsgHeartbeat -> ShowS # show :: MsgHeartbeat -> String # showList :: [MsgHeartbeat] -> ShowS # | |
ToJSON MsgHeartbeat Source # | |
Defined in SwiftNav.SBP.System toJSON :: MsgHeartbeat -> Value # toEncoding :: MsgHeartbeat -> Encoding # toJSONList :: [MsgHeartbeat] -> Value # toEncodingList :: [MsgHeartbeat] -> Encoding # | |
FromJSON MsgHeartbeat Source # | |
Defined in SwiftNav.SBP.System parseJSON :: Value -> Parser MsgHeartbeat # parseJSONList :: Value -> Parser [MsgHeartbeat] # | |
Binary MsgHeartbeat Source # | |
Defined in SwiftNav.SBP.System | |
ToSBP MsgHeartbeat Source # | |
Defined in SwiftNav.SBP.System |
data MsgInsStatus Source #
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.
MsgInsStatus | |
|
Instances
Eq MsgInsStatus Source # | |
Defined in SwiftNav.SBP.System (==) :: MsgInsStatus -> MsgInsStatus -> Bool # (/=) :: MsgInsStatus -> MsgInsStatus -> Bool # | |
Read MsgInsStatus Source # | |
Defined in SwiftNav.SBP.System readsPrec :: Int -> ReadS MsgInsStatus # readList :: ReadS [MsgInsStatus] # | |
Show MsgInsStatus Source # | |
Defined in SwiftNav.SBP.System showsPrec :: Int -> MsgInsStatus -> ShowS # show :: MsgInsStatus -> String # showList :: [MsgInsStatus] -> ShowS # | |
ToJSON MsgInsStatus Source # | |
Defined in SwiftNav.SBP.System toJSON :: MsgInsStatus -> Value # toEncoding :: MsgInsStatus -> Encoding # toJSONList :: [MsgInsStatus] -> Value # toEncodingList :: [MsgInsStatus] -> Encoding # | |
FromJSON MsgInsStatus Source # | |
Defined in SwiftNav.SBP.System parseJSON :: Value -> Parser MsgInsStatus # parseJSONList :: Value -> Parser [MsgInsStatus] # | |
Binary MsgInsStatus Source # | |
Defined in SwiftNav.SBP.System | |
ToSBP MsgInsStatus Source # | |
Defined in SwiftNav.SBP.System |
data MsgCsacTelemetry Source #
SBP class for message MSG_CSAC_TELEMETRY (0xFF04).
The CSAC telemetry message has an implementation defined telemetry string from a device. It is not produced or available on general Swift Products. It is intended to be a low rate message for status purposes.
MsgCsacTelemetry | |
|
Instances
Eq MsgCsacTelemetry Source # | |
Defined in SwiftNav.SBP.System (==) :: MsgCsacTelemetry -> MsgCsacTelemetry -> Bool # (/=) :: MsgCsacTelemetry -> MsgCsacTelemetry -> Bool # | |
Read MsgCsacTelemetry Source # | |
Defined in SwiftNav.SBP.System | |
Show MsgCsacTelemetry Source # | |
Defined in SwiftNav.SBP.System showsPrec :: Int -> MsgCsacTelemetry -> ShowS # show :: MsgCsacTelemetry -> String # showList :: [MsgCsacTelemetry] -> ShowS # | |
ToJSON MsgCsacTelemetry Source # | |
Defined in SwiftNav.SBP.System toJSON :: MsgCsacTelemetry -> Value # toEncoding :: MsgCsacTelemetry -> Encoding # toJSONList :: [MsgCsacTelemetry] -> Value # toEncodingList :: [MsgCsacTelemetry] -> Encoding # | |
FromJSON MsgCsacTelemetry Source # | |
Defined in SwiftNav.SBP.System parseJSON :: Value -> Parser MsgCsacTelemetry # parseJSONList :: Value -> Parser [MsgCsacTelemetry] # | |
Binary MsgCsacTelemetry Source # | |
Defined in SwiftNav.SBP.System | |
ToSBP MsgCsacTelemetry Source # | |
Defined in SwiftNav.SBP.System |
data MsgCsacTelemetryLabels Source #
SBP class for message MSG_CSAC_TELEMETRY_LABELS (0xFF05).
The CSAC telemetry message provides labels for each member of the string produced by MSG_CSAC_TELEMETRY. It should be provided by a device at a lower rate than the MSG_CSAC_TELEMETRY.
MsgCsacTelemetryLabels | |
|
Instances
Eq MsgCsacTelemetryLabels Source # | |
Defined in SwiftNav.SBP.System | |
Read MsgCsacTelemetryLabels Source # | |
Show MsgCsacTelemetryLabels Source # | |
Defined in SwiftNav.SBP.System showsPrec :: Int -> MsgCsacTelemetryLabels -> ShowS # show :: MsgCsacTelemetryLabels -> String # showList :: [MsgCsacTelemetryLabels] -> ShowS # | |
ToJSON MsgCsacTelemetryLabels Source # | |
Defined in SwiftNav.SBP.System toJSON :: MsgCsacTelemetryLabels -> Value # toEncoding :: MsgCsacTelemetryLabels -> Encoding # toJSONList :: [MsgCsacTelemetryLabels] -> Value # | |
FromJSON MsgCsacTelemetryLabels Source # | |
Defined in SwiftNav.SBP.System | |
Binary MsgCsacTelemetryLabels Source # | |
Defined in SwiftNav.SBP.System put :: MsgCsacTelemetryLabels -> Put # get :: Get MsgCsacTelemetryLabels # putList :: [MsgCsacTelemetryLabels] -> Put # | |
ToSBP MsgCsacTelemetryLabels Source # | |
Defined in SwiftNav.SBP.System |