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