JaiaBot  1.20.0
JaiaBot micro-AUV software
atlas_scientific__oem_ec.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_EC_PB_H_INCLUDED
5 #define PB_JAIABOT_SENSOR_PROTOBUF_NANOPB_JAIABOT_MESSAGES_SENSOR_ATLAS_SCIENTIFIC__OEM_EC_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 */
18  double conductivity; /* REQUIRES DCCL 4.2.2 - uncomment when we wrap this in
19  [(dccl.field) = {
20  units {
21  custom {
22  unit: "jaiabot::units::microsiemens_per_cm_unit"
23  header: "jaiabot/units/conductivity.h"
24  }
25  }
26  }]; */
30  double salinity_raw;
32  double salinity;
34 
35 
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 
40 /* Initializer values for message structs */
41 #define jaiabot_sensor_protobuf_AtlasScientificOEMEC_init_default {false, 0, false, 0, false, 0, false, 0, false, 0}
42 #define jaiabot_sensor_protobuf_AtlasScientificOEMEC_init_zero {false, 0, false, 0, false, 0, false, 0, false, 0}
43 
44 /* Field tags (for use in manual encoding/decoding) */
45 #define jaiabot_sensor_protobuf_AtlasScientificOEMEC_conductivity_raw_tag 1
46 #define jaiabot_sensor_protobuf_AtlasScientificOEMEC_conductivity_tag 2
47 #define jaiabot_sensor_protobuf_AtlasScientificOEMEC_total_dissolved_solids_tag 3
48 #define jaiabot_sensor_protobuf_AtlasScientificOEMEC_salinity_raw_tag 4
49 #define jaiabot_sensor_protobuf_AtlasScientificOEMEC_salinity_tag 5
50 
51 /* Struct field encoding specification for nanopb */
52 #define jaiabot_sensor_protobuf_AtlasScientificOEMEC_FIELDLIST(X, a) \
53 X(a, STATIC, OPTIONAL, DOUBLE, conductivity_raw, 1) \
54 X(a, STATIC, OPTIONAL, DOUBLE, conductivity, 2) \
55 X(a, STATIC, OPTIONAL, DOUBLE, total_dissolved_solids, 3) \
56 X(a, STATIC, OPTIONAL, DOUBLE, salinity_raw, 4) \
57 X(a, STATIC, OPTIONAL, DOUBLE, salinity, 5)
58 #define jaiabot_sensor_protobuf_AtlasScientificOEMEC_CALLBACK NULL
59 #define jaiabot_sensor_protobuf_AtlasScientificOEMEC_DEFAULT NULL
60 
62 
63 /* Defines for backwards compatibility with code written before nanopb-0.4.0 */
64 #define jaiabot_sensor_protobuf_AtlasScientificOEMEC_fields &jaiabot_sensor_protobuf_AtlasScientificOEMEC_msg
65 
66 /* Maximum encoded size of messages (where known) */
67 #define jaiabot_sensor_protobuf_AtlasScientificOEMEC_size 45
68 
69 #ifdef __cplusplus
70 } /* extern "C" */
71 #endif
72 
73 #endif
const pb_msgdesc_t jaiabot_sensor_protobuf_AtlasScientificOEMEC_msg
struct _jaiabot_sensor_protobuf_AtlasScientificOEMEC jaiabot_sensor_protobuf_AtlasScientificOEMEC