JaiaBot 2.0.0
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
pressure_temperature.pb.h
Go to the documentation of this file.
1/* Automatically generated nanopb header */
2/* Generated by nanopb-0.4.8 */
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 */
26
36
37
38#ifdef __cplusplus
39extern "C" {
40#endif
41
42/* Helper constants for enums */
43#define _jaiabot_protobuf_PressureSensorType_MIN jaiabot_protobuf_PressureSensorType_BAR02
44#define _jaiabot_protobuf_PressureSensorType_MAX jaiabot_protobuf_PressureSensorType_BAR30
45#define _jaiabot_protobuf_PressureSensorType_ARRAYSIZE ((jaiabot_protobuf_PressureSensorType)(jaiabot_protobuf_PressureSensorType_BAR30+1))
46
47#define jaiabot_protobuf_PressureTemperatureData_sensor_type_ENUMTYPE jaiabot_protobuf_PressureSensorType
48
49
50
51/* Initializer values for message structs */
52#define jaiabot_protobuf_PressureTemperatureData_init_default {0, false, 0, _jaiabot_protobuf_PressureSensorType_MIN}
53#define jaiabot_protobuf_PressureAdjustedData_init_default {0, false, 0, false, 0, false, 0}
54#define jaiabot_protobuf_PressureTemperatureData_init_zero {0, false, 0, _jaiabot_protobuf_PressureSensorType_MIN}
55#define jaiabot_protobuf_PressureAdjustedData_init_zero {0, false, 0, false, 0, false, 0}
57/* Field tags (for use in manual encoding/decoding) */
58#define jaiabot_protobuf_PressureTemperatureData_pressure_raw_tag 1
59#define jaiabot_protobuf_PressureTemperatureData_temperature_tag 2
60#define jaiabot_protobuf_PressureTemperatureData_sensor_type_tag 3
61#define jaiabot_protobuf_PressureAdjustedData_pressure_raw_tag 1
62#define jaiabot_protobuf_PressureAdjustedData_pressure_adjusted_tag 2
63#define jaiabot_protobuf_PressureAdjustedData_pressure_raw_before_dive_tag 3
64#define jaiabot_protobuf_PressureAdjustedData_calculated_depth_tag 11
65
66/* Struct field encoding specification for nanopb */
67#define jaiabot_protobuf_PressureTemperatureData_FIELDLIST(X, a) \
68X(a, STATIC, REQUIRED, DOUBLE, pressure_raw, 1) \
69X(a, STATIC, OPTIONAL, DOUBLE, temperature, 2) \
70X(a, STATIC, REQUIRED, UENUM, sensor_type, 3)
71#define jaiabot_protobuf_PressureTemperatureData_CALLBACK NULL
72#define jaiabot_protobuf_PressureTemperatureData_DEFAULT (const pb_byte_t*)"\x18\x01\x00"
73
74#define jaiabot_protobuf_PressureAdjustedData_FIELDLIST(X, a) \
75X(a, STATIC, REQUIRED, DOUBLE, pressure_raw, 1) \
76X(a, STATIC, OPTIONAL, DOUBLE, pressure_adjusted, 2) \
77X(a, STATIC, OPTIONAL, DOUBLE, pressure_raw_before_dive, 3) \
78X(a, STATIC, OPTIONAL, DOUBLE, calculated_depth, 11)
79#define jaiabot_protobuf_PressureAdjustedData_CALLBACK NULL
80#define jaiabot_protobuf_PressureAdjustedData_DEFAULT NULL
84
85/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
86#define jaiabot_protobuf_PressureTemperatureData_fields &jaiabot_protobuf_PressureTemperatureData_msg
87#define jaiabot_protobuf_PressureAdjustedData_fields &jaiabot_protobuf_PressureAdjustedData_msg
88
89/* Maximum encoded size of messages (where known) */
90#define JAIABOT_PROTOBUF_NANOPB_JAIABOT_MESSAGES_SENSOR_PRESSURE_TEMPERATURE_PB_H_MAX_SIZE jaiabot_protobuf_PressureAdjustedData_size
91#define jaiabot_protobuf_PressureAdjustedData_size 36
92#define jaiabot_protobuf_PressureTemperatureData_size 20
93
94#ifdef __cplusplus
95} /* extern "C" */
96#endif
97
98#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