JaiaBot  1.20.0
JaiaBot micro-AUV software
atlas_scientific__oem_ph.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_PH_PB_H_INCLUDED
5 #define PB_JAIABOT_SENSOR_PROTOBUF_NANOPB_JAIABOT_MESSAGES_SENSOR_ATLAS_SCIENTIFIC__OEM_PH_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  /* notional - add units and additional fields as needed */
16  bool has_ph_raw;
17  double ph_raw;
18  bool has_ph;
19  double ph;
21  double temperature;
25 
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
31 /* Initializer values for message structs */
32 #define jaiabot_sensor_protobuf_AtlasScientificOEMpH_init_default {false, 0, false, 0, false, 0, false, 0}
33 #define jaiabot_sensor_protobuf_AtlasScientificOEMpH_init_zero {false, 0, false, 0, false, 0, false, 0}
34 
35 /* Field tags (for use in manual encoding/decoding) */
36 #define jaiabot_sensor_protobuf_AtlasScientificOEMpH_ph_raw_tag 1
37 #define jaiabot_sensor_protobuf_AtlasScientificOEMpH_ph_tag 2
38 #define jaiabot_sensor_protobuf_AtlasScientificOEMpH_temperature_tag 3
39 #define jaiabot_sensor_protobuf_AtlasScientificOEMpH_temperature_voltage_tag 4
40 
41 /* Struct field encoding specification for nanopb */
42 #define jaiabot_sensor_protobuf_AtlasScientificOEMpH_FIELDLIST(X, a) \
43 X(a, STATIC, OPTIONAL, DOUBLE, ph_raw, 1) \
44 X(a, STATIC, OPTIONAL, DOUBLE, ph, 2) \
45 X(a, STATIC, OPTIONAL, DOUBLE, temperature, 3) \
46 X(a, STATIC, OPTIONAL, DOUBLE, temperature_voltage, 4)
47 #define jaiabot_sensor_protobuf_AtlasScientificOEMpH_CALLBACK NULL
48 #define jaiabot_sensor_protobuf_AtlasScientificOEMpH_DEFAULT NULL
49 
50 extern const pb_msgdesc_t jaiabot_sensor_protobuf_AtlasScientificOEMpH_msg;
51 
52 /* Defines for backwards compatibility with code written before nanopb-0.4.0 */
53 #define jaiabot_sensor_protobuf_AtlasScientificOEMpH_fields &jaiabot_sensor_protobuf_AtlasScientificOEMpH_msg
54 
55 /* Maximum encoded size of messages (where known) */
56 #define jaiabot_sensor_protobuf_AtlasScientificOEMpH_size 36
57 
58 #ifdef __cplusplus
59 } /* extern "C" */
60 #endif
61 
62 #endif
const pb_msgdesc_t jaiabot_sensor_protobuf_AtlasScientificOEMpH_msg
struct _jaiabot_sensor_protobuf_AtlasScientificOEMpH jaiabot_sensor_protobuf_AtlasScientificOEMpH