1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
/* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: ErrorCode.proto */
/* Do not generate deprecated warnings for self */
#ifndef PROTOBUF_C__NO_DEPRECATED
#define PROTOBUF_C__NO_DEPRECATED
#endif
#include "ErrorCode.pb-c.h"
static const ProtobufCEnumValue error_code__enum_values_by_number[4] =
{
{ "NONE", "ERROR_CODE__NONE", 0 },
{ "BAD_CRC", "ERROR_CODE__BAD_CRC", 1 },
{ "INVALID_DIGITAL_PIN_NUMBER", "ERROR_CODE__INVALID_DIGITAL_PIN_NUMBER", 2 },
{ "UNAUTHORIZED_CONNECTION", "ERROR_CODE__UNAUTHORIZED_CONNECTION", 3 },
};
static const ProtobufCIntRange error_code__value_ranges[] = {
{0, 0},{0, 4}
};
static const ProtobufCEnumValueIndex error_code__enum_values_by_name[4] =
{
{ "BAD_CRC", 1 },
{ "INVALID_DIGITAL_PIN_NUMBER", 2 },
{ "NONE", 0 },
{ "UNAUTHORIZED_CONNECTION", 3 },
};
const ProtobufCEnumDescriptor error_code__descriptor =
{
PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
"ErrorCode",
"ErrorCode",
"ErrorCode",
"",
4,
error_code__enum_values_by_number,
4,
error_code__enum_values_by_name,
1,
error_code__value_ranges,
NULL,NULL,NULL,NULL /* reserved[1234] */
};
|