blob: 3cc7f697215c8223b88a1f006521d5d0876bc95d (
plain)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
/* Generated by the protocol buffer compiler. DO NOT EDIT! */
/* Generated from: ErrorCode.proto */
#ifndef PROTOBUF_C_ErrorCode_2eproto__INCLUDED
#define PROTOBUF_C_ErrorCode_2eproto__INCLUDED
#include <protobuf-c/protobuf-c.h>
PROTOBUF_C__BEGIN_DECLS
#if PROTOBUF_C_VERSION_NUMBER < 1003000
# error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
#elif 1003000 < PROTOBUF_C_MIN_COMPILER_VERSION
# error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
#endif
/* --- enums --- */
typedef enum _ErrorCode {
/*
*General (Needs to be organized)
*/
ERROR_CODE__NONE = 0,
ERROR_CODE__GENERAL_ERROR = 1,
ERROR_CODE__BAD_CRC = 2,
/*
*Can be returned by SetDigitalOutResponse.
*/
ERROR_CODE__INVALID_DIGITAL_PIN_NUMBER = 3,
/*
*Should be returned if no ConnectionRequest with a valid password was made.
*/
ERROR_CODE__UNAUTHORIZED_CONNECTION = 4,
/*
*IO
*/
/*
*Returned by FileChunkUploadResponse when the UploadID was not set by FileUploadRequest. Or returned by ExecuteProcessResponse when the UploadID does not exist or has not been completed.
*/
ERROR_CODE__INVALID_UPLOAD_ID = 1000,
/*
*Returned by ExecuteProcessResponse when the FileName was not found.
*/
ERROR_CODE__FILE_NOT_FOUND = 1001,
/*
*Returned by KillProcessResponse when the process id was not found.
*/
ERROR_CODE__INVALID_PROCESS_ID = 1002,
/*
*Returned by FileChunkUploadResponse when the uploaded file size exceeds the expected Length from FileUploadRequest.
*/
ERROR_CODE__FILE_LENGTH_OUT_OF_RANGE = 1003
PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(ERROR_CODE)
} ErrorCode;
/* --- messages --- */
/* --- per-message closures --- */
/* --- services --- */
/* --- descriptors --- */
extern const ProtobufCEnumDescriptor error_code__descriptor;
PROTOBUF_C__END_DECLS
#endif /* PROTOBUF_C_ErrorCode_2eproto__INCLUDED */
|