Open Lighting Architecture  Latest Git
OpenLightingEnums.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  * OpenLightingEnums.h
17  * Provide OLA's RDM Manufacturer PIDs & Model IDs.
18  * Copyright (C) 2013 Peter Newman
19  */
20 
28 #ifndef INCLUDE_OLA_RDM_OPENLIGHTINGENUMS_H_
29 #define INCLUDE_OLA_RDM_OPENLIGHTINGENUMS_H_
30 
31 #include <stdint.h>
32 
33 namespace ola {
34 namespace rdm {
35 
46 typedef enum {
47  // OLA Arduino
48  OLA_MANUFACTURER_PID_SERIAL_NUMBER = 0x8000,
49  // OLA Dummy RDM Responder
50  OLA_MANUFACTURER_PID_CODE_VERSION = 0x8001,
52 
57 typedef enum {
58  // OLA Dummy RDM Responder
59  OLA_DUMMY_DEVICE_MODEL = 1,
60  // Arduino RGB Mixer
61  // OLA_RGB_MIXER_MODEL = 2,
62  // SPI Device
63  OLA_SPI_DEVICE_MODEL = 3,
64  // Dummy Dimmer
65  OLA_DUMMY_DIMMER_MODEL = 4,
66  // Dummy Moving Light
67  OLA_DUMMY_MOVING_LIGHT_MODEL = 5,
68  // A responder which ack timers
69  OLA_ACK_TIMER_MODEL = 6,
70  // A sensor only responder
71  OLA_SENSOR_ONLY_MODEL = 7,
72  // A E1.37 Dimmer
73  OLA_E137_DIMMER_MODEL = 8,
74  // A E1.37-2 responder
75  OLA_E137_2_MODEL = 9,
77 
78 extern const char OLA_MANUFACTURER_LABEL[];
79 } // namespace rdm
80 } // namespace ola
81 #endif // INCLUDE_OLA_RDM_OPENLIGHTINGENUMS_H_
ola_rdm_model_id
Definition: OpenLightingEnums.h:57
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
rdm_ola_manufacturer_pid
Definition: OpenLightingEnums.h:46