Open Lighting Architecture 0.10.9
Loading...
Searching...
No Matches
RDMResponseCodes.h
Go to the documentation of this file.
1/*
2 * This library is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU Lesser General Public
4 * License as published by the Free Software Foundation; either
5 * version 2.1 of the License, or (at your option) any later version.
6 *
7 * This library is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10 * Lesser General Public License for more details.
11 *
12 * You should have received a copy of the GNU Lesser General Public
13 * License along with this library; if not, write to the Free Software
14 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
15 *
16 * RDMResponseCodes.h
17 * Enums representing the state of a response. This is generated from the proto
18 * file, so that we don't have to make the Ola.pb.h file public.
19 * Copyright (C) 2010 Simon Newton
20 *
21 * This file has been autogenerated by make_rdm_codes.sh, DO NOT EDIT.
22 */
23
32#ifndef INCLUDE_OLA_RDM_RDMRESPONSECODES_H_
33#define INCLUDE_OLA_RDM_RDMRESPONSECODES_H_
34
35namespace ola {
36namespace rdm {
37
45typedef enum {
46 RDM_COMPLETED_OK = 0,
47 RDM_WAS_BROADCAST = 1,
48 RDM_FAILED_TO_SEND = 2,
49 RDM_TIMEOUT = 3,
50 RDM_INVALID_RESPONSE = 4,
51 RDM_UNKNOWN_UID = 5,
52 RDM_CHECKSUM_INCORRECT = 6,
53 RDM_TRANSACTION_MISMATCH = 7,
54 RDM_SUB_DEVICE_MISMATCH = 8,
55 RDM_SRC_UID_MISMATCH = 9,
56 RDM_DEST_UID_MISMATCH = 10,
57 RDM_WRONG_SUB_START_CODE = 11,
58 RDM_PACKET_TOO_SHORT = 12,
59 RDM_PACKET_LENGTH_MISMATCH = 13,
60 RDM_PARAM_LENGTH_MISMATCH = 14,
61 RDM_INVALID_COMMAND_CLASS = 15,
62 RDM_COMMAND_CLASS_MISMATCH = 16,
63 RDM_INVALID_RESPONSE_TYPE = 17,
64 RDM_PLUGIN_DISCOVERY_NOT_SUPPORTED = 18,
65 RDM_DUB_RESPONSE = 19,
67
72
76typedef enum {
77 RDM_ACK = 0,
78 RDM_ACK_TIMER = 1,
79 RDM_NACK_REASON = 2,
81} // namespace rdm
82} // namespace ola
83#endif // INCLUDE_OLA_RDM_RDMRESPONSECODES_H_
RDMStatusCode
RDM Status Codes.
Definition RDMResponseCodes.h:45
rdm_response_type
RDM response types.
Definition RDMResponseCodes.h:76
RDMStatusCode rdm_response_code
Definition RDMResponseCodes.h:71
The namespace containing all OLA symbols.
Definition Credentials.cpp:44