sbp-2.2.3: SwiftNav's SBP Library

CopyrightCopyright (C) 2015 Swift Navigation, Inc.
LicenseLGPL-3
MaintainerMark Fine <dev@swiftnav.com>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

SwiftNav.SBP.Logging

Description

Logging and debugging messages from the device.

Synopsis

Documentation

msgLog :: Word16 Source #

data MsgLog Source #

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

Instances

Eq MsgLog Source # 

Methods

(==) :: MsgLog -> MsgLog -> Bool #

(/=) :: MsgLog -> MsgLog -> Bool #

Read MsgLog Source # 

Methods

readsPrec :: Int -> ReadS MsgLog #

readList :: ReadS [MsgLog] #

readPrec :: ReadPrec MsgLog

readListPrec :: ReadPrec [MsgLog]

Show MsgLog Source # 
ToJSON MsgLog Source # 
FromJSON MsgLog Source # 
Binary MsgLog Source # 

Methods

put :: MsgLog -> Put

get :: Get MsgLog

putList :: [MsgLog] -> Put

ToSBP MsgLog Source # 

Methods

toSBP :: MsgLog -> Word16 -> Msg Source #

msgFwd :: Word16 Source #

data MsgFwd Source #

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

Instances

Eq MsgFwd Source # 

Methods

(==) :: MsgFwd -> MsgFwd -> Bool #

(/=) :: MsgFwd -> MsgFwd -> Bool #

Read MsgFwd Source # 

Methods

readsPrec :: Int -> ReadS MsgFwd #

readList :: ReadS [MsgFwd] #

readPrec :: ReadPrec MsgFwd

readListPrec :: ReadPrec [MsgFwd]

Show MsgFwd Source # 
ToJSON MsgFwd Source # 
FromJSON MsgFwd Source # 
Binary MsgFwd Source # 

Methods

put :: MsgFwd -> Put

get :: Get MsgFwd

putList :: [MsgFwd] -> Put

ToSBP MsgFwd Source # 

Methods

toSBP :: MsgFwd -> Word16 -> Msg Source #

msgTweet :: Word16 Source #

data MsgTweet Source #

SBP class for message MSG_TWEET (0x0012).

All the news fit to tweet.

Constructors

MsgTweet 

Fields

msgPrintDep :: Word16 Source #

data MsgPrintDep Source #

SBP class for message MSG_PRINT_DEP (0x0010).

Deprecated.

Constructors

MsgPrintDep 

Fields