JaiaBot  1.20.0
JaiaBot micro-AUV software
pressure_temperature.pb.h
Go to the documentation of this file.
1 /* Automatically generated nanopb header */
2 /* Generated by nanopb-0.4.5 */
3 
4 #ifndef PB_JAIABOT_PROTOBUF_NANOPB_JAIABOT_MESSAGES_SENSOR_PRESSURE_TEMPERATURE_PB_H_INCLUDED
5 #define PB_JAIABOT_PROTOBUF_NANOPB_JAIABOT_MESSAGES_SENSOR_PRESSURE_TEMPERATURE_PB_H_INCLUDED
6 #include <pb.h>
8 
9 #if PB_PROTO_HEADER_VERSION != 40
10 #error Regenerate this file with the current version of nanopb generator.
11 #endif
12 
13 /* Enum definitions */
18 
19 /* Struct definitions */
21  double pressure_raw;
29 
31  double pressure_raw;
33  double temperature;
36 
37 
38 /* Helper constants for enums */
39 #define _jaiabot_protobuf_PressureSensorType_MIN jaiabot_protobuf_PressureSensorType_BAR02
40 #define _jaiabot_protobuf_PressureSensorType_MAX jaiabot_protobuf_PressureSensorType_BAR30
41 #define _jaiabot_protobuf_PressureSensorType_ARRAYSIZE ((jaiabot_protobuf_PressureSensorType)(jaiabot_protobuf_PressureSensorType_BAR30+1))
42 
43 
44 #ifdef __cplusplus
45 extern "C" {
46 #endif
47 
48 /* Initializer values for message structs */
49 #define jaiabot_protobuf_PressureTemperatureData_init_default {0, false, 0, _jaiabot_protobuf_PressureSensorType_MIN}
50 #define jaiabot_protobuf_PressureAdjustedData_init_default {0, false, 0, false, 0, false, 0}
51 #define jaiabot_protobuf_PressureTemperatureData_init_zero {0, false, 0, _jaiabot_protobuf_PressureSensorType_MIN}
52 #define jaiabot_protobuf_PressureAdjustedData_init_zero {0, false, 0, false, 0, false, 0}
53 
54 /* Field tags (for use in manual encoding/decoding) */
55 #define jaiabot_protobuf_PressureAdjustedData_pressure_raw_tag 1
56 #define jaiabot_protobuf_PressureAdjustedData_pressure_adjusted_tag 2
57 #define jaiabot_protobuf_PressureAdjustedData_pressure_raw_before_dive_tag 3
58 #define jaiabot_protobuf_PressureAdjustedData_calculated_depth_tag 11
59 #define jaiabot_protobuf_PressureTemperatureData_pressure_raw_tag 1
60 #define jaiabot_protobuf_PressureTemperatureData_temperature_tag 2
61 #define jaiabot_protobuf_PressureTemperatureData_sensor_type_tag 3
62 
63 /* Struct field encoding specification for nanopb */
64 #define jaiabot_protobuf_PressureTemperatureData_FIELDLIST(X, a) \
65 X(a, STATIC, REQUIRED, DOUBLE, pressure_raw, 1) \
66 X(a, STATIC, OPTIONAL, DOUBLE, temperature, 2) \
67 X(a, STATIC, REQUIRED, UENUM, sensor_type, 3)
68 #define jaiabot_protobuf_PressureTemperatureData_CALLBACK NULL
69 #define jaiabot_protobuf_PressureTemperatureData_DEFAULT (const pb_byte_t*)"\x18\x01\x00"
70 
71 #define jaiabot_protobuf_PressureAdjustedData_FIELDLIST(X, a) \
72 X(a, STATIC, REQUIRED, DOUBLE, pressure_raw, 1) \
73 X(a, STATIC, OPTIONAL, DOUBLE, pressure_adjusted, 2) \
74 X(a, STATIC, OPTIONAL, DOUBLE, pressure_raw_before_dive, 3) \
75 X(a, STATIC, OPTIONAL, DOUBLE, calculated_depth, 11)
76 #define jaiabot_protobuf_PressureAdjustedData_CALLBACK NULL
77 #define jaiabot_protobuf_PressureAdjustedData_DEFAULT NULL
78 
79 extern const pb_msgdesc_t jaiabot_protobuf_PressureTemperatureData_msg;
81 
82 /* Defines for backwards compatibility with code written before nanopb-0.4.0 */
83 #define jaiabot_protobuf_PressureTemperatureData_fields &jaiabot_protobuf_PressureTemperatureData_msg
84 #define jaiabot_protobuf_PressureAdjustedData_fields &jaiabot_protobuf_PressureAdjustedData_msg
85 
86 /* Maximum encoded size of messages (where known) */
87 #define jaiabot_protobuf_PressureAdjustedData_size 36
88 #define jaiabot_protobuf_PressureTemperatureData_size 20
89 
90 #ifdef __cplusplus
91 } /* extern "C" */
92 #endif
93 
94 #endif
struct _jaiabot_protobuf_PressureTemperatureData jaiabot_protobuf_PressureTemperatureData
const pb_msgdesc_t jaiabot_protobuf_PressureTemperatureData_msg
struct _jaiabot_protobuf_PressureAdjustedData jaiabot_protobuf_PressureAdjustedData
const pb_msgdesc_t jaiabot_protobuf_PressureAdjustedData_msg
enum _jaiabot_protobuf_PressureSensorType jaiabot_protobuf_PressureSensorType
_jaiabot_protobuf_PressureSensorType
@ jaiabot_protobuf_PressureSensorType_BAR30
@ jaiabot_protobuf_PressureSensorType_BAR02
jaiabot_protobuf_PressureSensorType sensor_type