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 |
Logging and debugging messages from the device.
Synopsis
- data MsgLog = MsgLog {
- _msgLog_level :: !Word8
- _msgLog_text :: !Text
- msgLog :: Word16
- data MsgFwd = MsgFwd {}
- msgLog_level :: Lens' MsgLog Word8
- msgLog_text :: Lens' MsgLog Text
- msgFwd :: Word16
- data MsgTweet = MsgTweet {
- _msgTweet_tweet :: !Text
- msgFwd_fwd_payload :: Lens' MsgFwd Text
- msgFwd_protocol :: Lens' MsgFwd Word8
- msgFwd_source :: Lens' MsgFwd Word8
- msgTweet :: Word16
- data MsgPrintDep = MsgPrintDep {}
- msgTweet_tweet :: Iso' MsgTweet Text
- 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.
MsgLog | |
|
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.
MsgFwd | |
|
SBP class for message MSG_TWEET (0x0012).
All the news fit to tweet.
MsgTweet | |
|
data MsgPrintDep Source #
SBP class for message MSG_PRINT_DEP (0x0010).
Deprecated.
MsgPrintDep | |
|
Instances
msgPrintDep :: Word16 Source #