Open Lighting Architecture: include/ola/rdm/RDMResponseCodes.h Source File

| 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
45 typedef 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,
66} RDMStatusCode;
67
71 typedef RDMStatusCode rdm_response_code;
72
76 typedef enum {
77 RDM_ACK = 0,
78 RDM_ACK_TIMER = 1,
79 RDM_NACK_REASON = 2,
80} rdm_response_type;
81} // namespace rdm
82} // namespace ola
83#endif // INCLUDE_OLA_RDM_RDMRESPONSECODES_H_
ola::rdm
PLASA E1.20 Remote Device Management.
Definition AckTimerResponder.cpp:38
ola::rdm::RDMStatusCode
RDMStatusCode
RDM Status Codes.
Definition RDMResponseCodes.h:45
ola::rdm::rdm_response_type
rdm_response_type
RDM response types.
Definition RDMResponseCodes.h:76
ola::rdm::rdm_response_code
RDMStatusCode rdm_response_code
Definition RDMResponseCodes.h:71
ola
The namespace containing all OLA symbols.
Definition Credentials.cpp:44