JaiaBot 2.3.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
38
39
40#ifdef __cplusplus
41extern "C" {
42#endif
43
44/* Helper constants for enums */
45#define _jaiabot_protobuf_PressureSensorType_MIN jaiabot_protobuf_PressureSensorType_BAR02
46#define _jaiabot_protobuf_PressureSensorType_MAX jaiabot_protobuf_PressureSensorType_BAR30
47#define _jaiabot_protobuf_PressureSensorType_ARRAYSIZE ((jaiabot_protobuf_PressureSensorType)(jaiabot_protobuf_PressureSensorType_BAR30+1))
48
49#define jaiabot_protobuf_PressureTemperatureData_sensor_type_ENUMTYPE jaiabot_protobuf_PressureSensorType
50
51
52
53/* Initializer values for message structs */
54#define jaiabot_protobuf_PressureTemperatureData_init_default {0, false, 0, _jaiabot_protobuf_PressureSensorType_MIN}
55#define jaiabot_protobuf_PressureAdjustedData_init_default {0, false, 0, false, 0, false, 0, false, 0}
56#define jaiabot_protobuf_PressureTemperatureData_init_zero {0, false, 0, _jaiabot_protobuf_PressureSensorType_MIN}
57#define jaiabot_protobuf_PressureAdjustedData_init_zero {0, false, 0, false, 0, false, 0, false, 0}
58
59/* Field tags (for use in manual encoding/decoding) */
60#define jaiabot_protobuf_PressureTemperatureData_pressure_raw_tag 1
61#define jaiabot_protobuf_PressureTemperatureData_temperature_tag 2
62#define jaiabot_protobuf_PressureTemperatureData_sensor_type_tag 3
63#define jaiabot_protobuf_PressureAdjustedData_pressure_raw_tag 1
64#define jaiabot_protobuf_PressureAdjustedData_pressure_adjusted_tag 2
65#define jaiabot_protobuf_PressureAdjustedData_pressure_raw_before_dive_tag 3
66#define jaiabot_protobuf_PressureAdjustedData_sensor_depth_tag 4
67#define jaiabot_protobuf_PressureAdjustedData_depth_tag 5
68
69/* Struct field encoding specification for nanopb */
70#define jaiabot_protobuf_PressureTemperatureData_FIELDLIST(X, a) \
71X(a, STATIC, REQUIRED, DOUBLE, pressure_raw, 1) \
72X(a, STATIC, OPTIONAL, DOUBLE, temperature, 2) \
73X(a, STATIC, REQUIRED, UENUM, sensor_type, 3)
74#define jaiabot_protobuf_PressureTemperatureData_CALLBACK NULL
75#define jaiabot_protobuf_PressureTemperatureData_DEFAULT (const pb_byte_t*)"\x18\x01\x00"
77#define jaiabot_protobuf_PressureAdjustedData_FIELDLIST(X, a) \
78X(a, STATIC, REQUIRED, DOUBLE, pressure_raw, 1) \
79X(a, STATIC, OPTIONAL, DOUBLE, pressure_adjusted, 2) \
80X(a, STATIC, OPTIONAL, DOUBLE, pressure_raw_before_dive, 3) \
81X(a, STATIC, OPTIONAL, DOUBLE, sensor_depth, 4) \
82X(a, STATIC, OPTIONAL, DOUBLE, depth, 5)
83#define jaiabot_protobuf_PressureAdjustedData_CALLBACK NULL
84#define jaiabot_protobuf_PressureAdjustedData_DEFAULT NULL
86extern const pb_msgdesc_t jaiabot_protobuf_PressureTemperatureData_msg;
88
89/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
90#define jaiabot_protobuf_PressureTemperatureData_fields &jaiabot_protobuf_PressureTemperatureData_msg
91#define jaiabot_protobuf_PressureAdjustedData_fields &jaiabot_protobuf_PressureAdjustedData_msg
92
93/* Maximum encoded size of messages (where known) */
94#define JAIABOT_PROTOBUF_NANOPB_JAIABOT_MESSAGES_SENSOR_PRESSURE_TEMPERATURE_PB_H_MAX_SIZE jaiabot_protobuf_PressureAdjustedData_size
95#define jaiabot_protobuf_PressureAdjustedData_size 45
96#define jaiabot_protobuf_PressureTemperatureData_size 20
97
98#ifdef __cplusplus
99} /* extern "C" */
100#endif
102#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