libsbp  v2.4.7
logging.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015-2018 Swift Navigation Inc.
3  * Contact: Swift Navigation <dev@swiftnav.com>
4  *
5  * This source is subject to the license found in the file 'LICENSE' which must
6  * be be distributed together with this source. All other rights reserved.
7  *
8  * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
9  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
10  * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
11  */
12 
13 /*****************************************************************************
14  * Automatically generated from yaml/swiftnav/sbp/logging.yaml
15  * with generate.py. Please do not hand edit!
16  *****************************************************************************/
17 
23 #ifndef LIBSBP_LOGGING_MESSAGES_H
24 #define LIBSBP_LOGGING_MESSAGES_H
25 
26 #include "common.h"
27 
28 SBP_PACK_START
29 
30 
37 #define SBP_MSG_LOG 0x0401
38 typedef struct SBP_ATTR_PACKED {
40  char text[0];
41 } msg_log_t;
42 
43 
54 #define SBP_MSG_FWD 0x0402
55 typedef struct SBP_ATTR_PACKED {
58  char fwd_payload[0];
59 } msg_fwd_t;
60 
61 
66 #define SBP_MSG_TWEET 0x0012
67 typedef struct SBP_ATTR_PACKED {
68  char tweet[140];
69 } msg_tweet_t;
70 
71 
76 #define SBP_MSG_PRINT_DEP 0x0010
77 typedef struct SBP_ATTR_PACKED {
78  char text[0];
80 
81 
84 SBP_PACK_END
85 
86 #endif /* LIBSBP_LOGGING_MESSAGES_H */
u8 level
Logging level.
Definition: logging.h:39
u8 protocol
protocol identifier
Definition: logging.h:57
uint8_t u8
Unsigned 8-bit integer.
Definition: common.h:40
u8 source
source identifier
Definition: logging.h:56