JaiaBot  1.20.0
JaiaBot micro-AUV software
atlas_scientific__oem_do.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_SENSOR_PROTOBUF_NANOPB_JAIABOT_MESSAGES_SENSOR_ATLAS_SCIENTIFIC__OEM_DO_PB_H_INCLUDED
5 #define PB_JAIABOT_SENSOR_PROTOBUF_NANOPB_JAIABOT_MESSAGES_SENSOR_ATLAS_SCIENTIFIC__OEM_DO_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 /* Struct definitions */
15  /* Measured dissolved oxygen (mg/L) */
16  bool has_do_raw;
17  double do_raw;
18  /* DO Solubility (mg/L) at current temperature (C), salinity (ppt), and pressure (mmhg) */
20  double do_solubility;
21  /* Measured DO / DO Solubility at current temperature (C), salinity (ppt), and pressure (mmhg) */
24  /* DO Solubility at 0 salinity (ppt), same temperature (C) and pressure (mmhg), scaled by observed saturation */
28  double temperature;
32 
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
38 /* Initializer values for message structs */
39 #define jaiabot_sensor_protobuf_AtlasScientificOEMDO_init_default {false, 0, false, 0, false, 0, false, 0, false, 0, false, 0}
40 #define jaiabot_sensor_protobuf_AtlasScientificOEMDO_init_zero {false, 0, false, 0, false, 0, false, 0, false, 0, false, 0}
41 
42 /* Field tags (for use in manual encoding/decoding) */
43 #define jaiabot_sensor_protobuf_AtlasScientificOEMDO_do_raw_tag 1
44 #define jaiabot_sensor_protobuf_AtlasScientificOEMDO_do_solubility_tag 2
45 #define jaiabot_sensor_protobuf_AtlasScientificOEMDO_do_saturation_percent_tag 3
46 #define jaiabot_sensor_protobuf_AtlasScientificOEMDO_do_normalized_solubility_tag 4
47 #define jaiabot_sensor_protobuf_AtlasScientificOEMDO_temperature_tag 5
48 #define jaiabot_sensor_protobuf_AtlasScientificOEMDO_temperature_voltage_tag 6
49 
50 /* Struct field encoding specification for nanopb */
51 #define jaiabot_sensor_protobuf_AtlasScientificOEMDO_FIELDLIST(X, a) \
52 X(a, STATIC, OPTIONAL, DOUBLE, do_raw, 1) \
53 X(a, STATIC, OPTIONAL, DOUBLE, do_solubility, 2) \
54 X(a, STATIC, OPTIONAL, DOUBLE, do_saturation_percent, 3) \
55 X(a, STATIC, OPTIONAL, DOUBLE, do_normalized_solubility, 4) \
56 X(a, STATIC, OPTIONAL, DOUBLE, temperature, 5) \
57 X(a, STATIC, OPTIONAL, DOUBLE, temperature_voltage, 6)
58 #define jaiabot_sensor_protobuf_AtlasScientificOEMDO_CALLBACK NULL
59 #define jaiabot_sensor_protobuf_AtlasScientificOEMDO_DEFAULT NULL
60 
62 
63 /* Defines for backwards compatibility with code written before nanopb-0.4.0 */
64 #define jaiabot_sensor_protobuf_AtlasScientificOEMDO_fields &jaiabot_sensor_protobuf_AtlasScientificOEMDO_msg
65 
66 /* Maximum encoded size of messages (where known) */
67 #define jaiabot_sensor_protobuf_AtlasScientificOEMDO_size 54
68 
69 #ifdef __cplusplus
70 } /* extern "C" */
71 #endif
72 
73 #endif
struct _jaiabot_sensor_protobuf_AtlasScientificOEMDO jaiabot_sensor_protobuf_AtlasScientificOEMDO
const pb_msgdesc_t jaiabot_sensor_protobuf_AtlasScientificOEMDO_msg