| 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 |
SwiftNav.SBP.System
Description
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 #
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.
Constructors
| MsgStartup | |
Fields
| |
Instances
| Eq MsgStartup # | |
Defined in SwiftNav.SBP.System | |
| Read MsgStartup # | |
Defined in SwiftNav.SBP.System Methods readsPrec :: Int -> ReadS MsgStartup # readList :: ReadS [MsgStartup] # readPrec :: ReadPrec MsgStartup # readListPrec :: ReadPrec [MsgStartup] # | |
| Show MsgStartup # | |
Defined in SwiftNav.SBP.System Methods showsPrec :: Int -> MsgStartup -> ShowS # show :: MsgStartup -> String # showList :: [MsgStartup] -> ShowS # | |
| ToJSON MsgStartup # | |
Defined in SwiftNav.SBP.System Methods toJSON :: MsgStartup -> Value # toEncoding :: MsgStartup -> Encoding # toJSONList :: [MsgStartup] -> Value # toEncodingList :: [MsgStartup] -> Encoding # | |
| FromJSON MsgStartup # | |
Defined in SwiftNav.SBP.System | |
| Binary MsgStartup # | |
Defined in SwiftNav.SBP.System | |
| ToSBP MsgStartup # | |
Defined in SwiftNav.SBP.System Methods toSBP :: MsgStartup -> Word16 -> Msg # | |
msgStartup :: Word16 #
data MsgDgnssStatus #
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.
Constructors
| MsgDgnssStatus | |
Fields
| |
Instances
data MsgHeartbeat #
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.
Constructors
| MsgHeartbeat | |
Fields
| |
Instances
| Eq MsgHeartbeat # | |
Defined in SwiftNav.SBP.System | |
| Read MsgHeartbeat # | |
Defined in SwiftNav.SBP.System Methods readsPrec :: Int -> ReadS MsgHeartbeat # readList :: ReadS [MsgHeartbeat] # | |
| Show MsgHeartbeat # | |
Defined in SwiftNav.SBP.System Methods showsPrec :: Int -> MsgHeartbeat -> ShowS # show :: MsgHeartbeat -> String # showList :: [MsgHeartbeat] -> ShowS # | |
| ToJSON MsgHeartbeat # | |
Defined in SwiftNav.SBP.System Methods toJSON :: MsgHeartbeat -> Value # toEncoding :: MsgHeartbeat -> Encoding # toJSONList :: [MsgHeartbeat] -> Value # toEncodingList :: [MsgHeartbeat] -> Encoding # | |
| FromJSON MsgHeartbeat # | |
Defined in SwiftNav.SBP.System | |
| Binary MsgHeartbeat # | |
Defined in SwiftNav.SBP.System | |
| ToSBP MsgHeartbeat # | |
Defined in SwiftNav.SBP.System Methods toSBP :: MsgHeartbeat -> Word16 -> Msg # | |
msgHeartbeat :: Word16 #
data MsgInsStatus #
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.
Constructors
| MsgInsStatus | |
Fields
| |
Instances
| Eq MsgInsStatus # | |
Defined in SwiftNav.SBP.System | |
| Read MsgInsStatus # | |
Defined in SwiftNav.SBP.System Methods readsPrec :: Int -> ReadS MsgInsStatus # readList :: ReadS [MsgInsStatus] # | |
| Show MsgInsStatus # | |
Defined in SwiftNav.SBP.System Methods showsPrec :: Int -> MsgInsStatus -> ShowS # show :: MsgInsStatus -> String # showList :: [MsgInsStatus] -> ShowS # | |
| ToJSON MsgInsStatus # | |
Defined in SwiftNav.SBP.System Methods toJSON :: MsgInsStatus -> Value # toEncoding :: MsgInsStatus -> Encoding # toJSONList :: [MsgInsStatus] -> Value # toEncodingList :: [MsgInsStatus] -> Encoding # | |
| FromJSON MsgInsStatus # | |
Defined in SwiftNav.SBP.System | |
| Binary MsgInsStatus # | |
Defined in SwiftNav.SBP.System | |
| ToSBP MsgInsStatus # | |
Defined in SwiftNav.SBP.System Methods toSBP :: MsgInsStatus -> Word16 -> Msg # | |
msgInsStatus :: Word16 #