Copyright | Copyright (C) 2015-2018 Swift Navigation Inc. |
---|---|
License | MIT |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
SwiftNav.SBP.Logging
Description
< Logging and debugging messages from the device. >
Synopsis
- data MsgLog = MsgLog {
- _msgLog_level :: !Word8
- _msgLog_text :: !Text
- msgLog :: Word16
- data MsgFwd = MsgFwd {
- _msgFwd_source :: !Word8
- _msgFwd_protocol :: !Word8
- _msgFwd_fwd_payload :: ![Word8]
- msgLog_level :: Lens' MsgLog Word8
- msgLog_text :: Lens' MsgLog Text
- msgFwd :: Word16
- data MsgPrintDep = MsgPrintDep {}
- msgFwd_fwd_payload :: Lens' MsgFwd [Word8]
- msgFwd_protocol :: Lens' MsgFwd Word8
- msgFwd_source :: Lens' MsgFwd Word8
- msgPrintDep :: Word16
- msgPrintDep_text :: Iso' MsgPrintDep Text
Documentation
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.
Constructors
MsgLog | |
Fields
|
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.
Constructors
MsgFwd | |
Fields
|
data MsgPrintDep Source #
SBP class for message MSG_PRINT_DEP (0x0010).
Deprecated.
Constructors
MsgPrintDep | |
Fields
|
Instances
Eq MsgPrintDep Source # | |
Defined in SwiftNav.SBP.Logging | |
Read MsgPrintDep Source # | |
Defined in SwiftNav.SBP.Logging Methods readsPrec :: Int -> ReadS MsgPrintDep # readList :: ReadS [MsgPrintDep] # readPrec :: ReadPrec MsgPrintDep # readListPrec :: ReadPrec [MsgPrintDep] # | |
Show MsgPrintDep Source # | |
Defined in SwiftNav.SBP.Logging Methods showsPrec :: Int -> MsgPrintDep -> ShowS # show :: MsgPrintDep -> String # showList :: [MsgPrintDep] -> ShowS # | |
ToJSON MsgPrintDep Source # | |
Defined in SwiftNav.SBP.Logging Methods toJSON :: MsgPrintDep -> Value # toEncoding :: MsgPrintDep -> Encoding # toJSONList :: [MsgPrintDep] -> Value # toEncodingList :: [MsgPrintDep] -> Encoding # | |
FromJSON MsgPrintDep Source # | |
Defined in SwiftNav.SBP.Logging | |
Binary MsgPrintDep Source # | |
Defined in SwiftNav.SBP.Logging | |
ToSBP MsgPrintDep Source # | |
Defined in SwiftNav.SBP.Logging |
msgPrintDep :: Word16 Source #