Open Lighting Architecture  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 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 
43 typedef enum {
44  // OLA Arduino
45  OLA_MANUFACTURER_PID_SERIAL_NUMBER = 0x8000,
46  // OLA Dummy RDM Responder
47  OLA_MANUFACTURER_PID_CODE_VERSION = 0x8001,
49 
54 typedef enum {
55  // OLA Dummy RDM Responder
56  OLA_DUMMY_DEVICE_MODEL = 1,
57  // Arduino RGB Mixer
58  // OLA_RGB_MIXER_MODEL = 2,
59  // SPI Device
60  OLA_SPI_DEVICE_MODEL = 3,
61  // Dummy Dimmer
62  OLA_DUMMY_DIMMER_MODEL = 4,
63  // Dummy Moving Light
64  OLA_DUMMY_MOVING_LIGHT_MODEL = 5,
65  // A responder which ack timers
66  OLA_ACK_TIMER_MODEL = 6,
67  // A sensor only responder
68  OLA_SENSOR_ONLY_MODEL = 7,
69  // A E1.37 Dimmer
70  OLA_E137_DIMMER_MODEL = 8,
71  // A E1.37-2 responder
72  OLA_E137_2_MODEL = 9,
74 
75 extern const char OLA_MANUFACTURER_LABEL[];
76 } // namespace rdm
77 } // namespace ola
78 #endif // INCLUDE_OLA_RDM_OPENLIGHTINGENUMS_H_