libsbp  v2.4.7
settings.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/settings.yaml
15  * with generate.py. Please do not hand edit!
16  *****************************************************************************/
17 
48 #ifndef LIBSBP_SETTINGS_MESSAGES_H
49 #define LIBSBP_SETTINGS_MESSAGES_H
50 
51 #include "common.h"
52 
53 SBP_PACK_START
54 
55 
61 #define SBP_MSG_SETTINGS_SAVE 0x00A1
62 
63 
74 #define SBP_MSG_SETTINGS_WRITE 0x00A0
75 typedef struct SBP_ATTR_PACKED {
76  char setting[0];
80 
81 
92 #define SBP_MSG_SETTINGS_WRITE_RESP 0x00AF
93 typedef struct SBP_ATTR_PACKED {
95  char setting[0];
99 
100 
112 #define SBP_MSG_SETTINGS_READ_REQ 0x00A4
113 typedef struct SBP_ATTR_PACKED {
114  char setting[0];
118 
119 
130 #define SBP_MSG_SETTINGS_READ_RESP 0x00A5
131 typedef struct SBP_ATTR_PACKED {
132  char setting[0];
137 
138 
145 #define SBP_MSG_SETTINGS_READ_BY_INDEX_REQ 0x00A2
146 typedef struct SBP_ATTR_PACKED {
151 
152 
166 #define SBP_MSG_SETTINGS_READ_BY_INDEX_RESP 0x00A7
167 typedef struct SBP_ATTR_PACKED {
171  char setting[0];
175 
176 
181 #define SBP_MSG_SETTINGS_READ_BY_INDEX_DONE 0x00A6
182 
183 
190 #define SBP_MSG_SETTINGS_REGISTER 0x00AE
191 typedef struct SBP_ATTR_PACKED {
192  char setting[0];
196 
197 
200 SBP_PACK_END
201 
202 #endif /* LIBSBP_SETTINGS_MESSAGES_H */
u16 index
An index into the device settings, with values ranging from 0 to length(settings) ...
Definition: settings.h:147
uint8_t u8
Unsigned 8-bit integer.
Definition: common.h:40
uint16_t u16
Unsigned 16-bit integer.
Definition: common.h:42
u8 status
Write status.
Definition: settings.h:94
u16 index
An index into the device settings, with values ranging from 0 to length(settings) ...
Definition: settings.h:168