libsbp  v2.4.7
Logging

Data Structures

struct  msg_log_t
 
struct  msg_fwd_t
 
struct  msg_tweet_t
 
struct  msg_print_dep_t
 

Macros

#define SBP_MSG_LOG   0x0401
 Plaintext logging messages with levels. More...
 
#define SBP_MSG_FWD   0x0402
 Wrapper for FWD a separate stream of information over SBP. More...
 
#define SBP_MSG_TWEET   0x0012
 Tweet. More...
 
#define SBP_MSG_PRINT_DEP   0x0010
 Deprecated. More...
 

Detailed Description

Macro Definition Documentation

#define SBP_MSG_FWD   0x0402

Wrapper for FWD a separate stream of information over SBP.

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.

Definition at line 54 of file logging.h.

#define SBP_MSG_LOG   0x0401

Plaintext logging messages with levels.

This message contains a human-readable payload string from the device containing errors, warnings and informational messages at ERROR, WARNING, DEBUG, INFO logging levels.

Definition at line 37 of file logging.h.

#define SBP_MSG_PRINT_DEP   0x0010

Deprecated.

Deprecated.

Definition at line 76 of file logging.h.

#define SBP_MSG_TWEET   0x0012

Tweet.

All the news fit to tweet.

Definition at line 66 of file logging.h.