/* 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__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 */