libsbp  v2.4.7
system.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/system.yaml
15  * with generate.py. Please do not hand edit!
16  *****************************************************************************/
17 
23 #ifndef LIBSBP_SYSTEM_MESSAGES_H
24 #define LIBSBP_SYSTEM_MESSAGES_H
25 
26 #include "common.h"
27 
28 SBP_PACK_START
29 
30 
38 #define SBP_MSG_STARTUP 0xFF00
39 typedef struct SBP_ATTR_PACKED {
44 
45 
52 #define SBP_MSG_DGNSS_STATUS 0xFF02
53 typedef struct SBP_ATTR_PACKED {
57  char source[0];
59 
60 
74 #define SBP_MSG_HEARTBEAT 0xFFFF
75 typedef struct SBP_ATTR_PACKED {
78 
79 
85 #define SBP_MSG_INS_STATUS 0xFF03
86 typedef struct SBP_ATTR_PACKED {
89 
90 
97 #define SBP_MSG_CSAC_TELEMETRY 0xFF04
98 typedef struct SBP_ATTR_PACKED {
99  u8 id;
100  char telemetry[0];
102 
103 
110 #define SBP_MSG_CSAC_TELEMETRY_LABELS 0xFF05
111 typedef struct SBP_ATTR_PACKED {
112  u8 id;
113  char telemetry_labels[0];
115 
116 
119 SBP_PACK_END
120 
121 #endif /* LIBSBP_SYSTEM_MESSAGES_H */
u8 cause
Cause of startup.
Definition: system.h:40
u16 latency
Latency of observation receipt [deci-seconds].
Definition: system.h:55
u32 flags
Status flags.
Definition: system.h:87
u8 id
Index representing the type of telemetry in use.
Definition: system.h:99
u8 id
Index representing the type of telemetry in use.
Definition: system.h:112
u8 num_signals
Number of signals from base station.
Definition: system.h:56
uint8_t u8
Unsigned 8-bit integer.
Definition: common.h:40
u8 flags
Status flags.
Definition: system.h:54
uint16_t u16
Unsigned 16-bit integer.
Definition: common.h:42
u16 reserved
Reserved.
Definition: system.h:42
uint32_t u32
Unsigned 32-bit integer.
Definition: common.h:44
u8 startup_type
Startup type.
Definition: system.h:41
u32 flags
Status flags.
Definition: system.h:76