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
- msgInsStatus_flags :: Iso' MsgInsStatus Word32
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 |