Itron LCE research protocol on July 12, 2017. The protocol is based on Protocol Buffers developed by Google.
Dependents: ProtocBufTest Borsch
source/eagle.pb.h
- Committer:
- sgnezdov
- Date:
- 2017-07-12
- Revision:
- 0:1139a294684a
File content as of revision 0:1139a294684a:
/* Automatically generated nanopb header */ /* Generated by nanopb-0.3.8 at Wed Jul 12 11:04:33 2017. */ #ifndef PB_PROTOCOL_EAGLE_PB_H_INCLUDED #define PB_PROTOCOL_EAGLE_PB_H_INCLUDED #include <pb.h> #include "google/protobuf/timestamp.pb.h" /* @@protoc_insertion_point(includes) */ #if PB_PROTO_HEADER_VERSION != 30 #error Regenerate this file with the current version of nanopb generator. #endif #ifdef __cplusplus extern "C" { #endif /* Enum definitions */ typedef enum _protocol_EagleValveStatusType { protocol_EagleValveStatusType_EagleUndefined = 0, protocol_EagleValveStatusType_EagleValveStatus = 1, protocol_EagleValveStatusType_EagleValveOpen = 2, protocol_EagleValveStatusType_EagleValveClose = 3 } protocol_EagleValveStatusType; #define _protocol_EagleValveStatusType_MIN protocol_EagleValveStatusType_EagleUndefined #define _protocol_EagleValveStatusType_MAX protocol_EagleValveStatusType_EagleValveClose #define _protocol_EagleValveStatusType_ARRAYSIZE ((protocol_EagleValveStatusType)(protocol_EagleValveStatusType_EagleValveClose+1)) /* Struct definitions */ typedef struct _protocol_EagleRawSample { protocol_EagleValveStatusType ValveStatusType; pb_callback_t ValveStatus; pb_callback_t Consumption; /* @@protoc_insertion_point(struct:protocol_EagleRawSample) */ } protocol_EagleRawSample; /* Default values for struct fields */ /* Initializer values for message structs */ #define protocol_EagleRawSample_init_default {(protocol_EagleValveStatusType)0, {{NULL}, NULL}, {{NULL}, NULL}} #define protocol_EagleRawSample_init_zero {(protocol_EagleValveStatusType)0, {{NULL}, NULL}, {{NULL}, NULL}} /* Field tags (for use in manual encoding/decoding) */ #define protocol_EagleRawSample_ValveStatusType_tag 2 #define protocol_EagleRawSample_ValveStatus_tag 3 #define protocol_EagleRawSample_Consumption_tag 4 /* Struct field encoding specification for nanopb */ extern const pb_field_t protocol_EagleRawSample_fields[4]; /* Maximum encoded size of messages (where known) */ /* protocol_EagleRawSample_size depends on runtime parameters */ /* Message IDs (where set with "msgid" option) */ #ifdef PB_MSGID #define EAGLE_MESSAGES \ #endif #ifdef __cplusplus } /* extern "C" */ #endif /* @@protoc_insertion_point(eof) */ #endif