Open Lighting Architecture
 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 
50 typedef enum {
51  // OLA Dummy RDM Responder
52  OLA_DUMMY_DEVICE_MODEL = 1,
53  // Arduino RGB Mixer
54  // OLA_RGB_MIXER_MODEL = 2,
55  // SPI Device
56  OLA_SPI_DEVICE_MODEL = 3,
57  // Dummy Dimmer
58  OLA_DUMMY_DIMMER_MODEL = 4,
59  // Dummy Moving Light
60  OLA_DUMMY_MOVING_LIGHT_MODEL = 5,
61  // A responder which ack timers
62  OLA_ACK_TIMER_MODEL = 6,
63  // A sensor only responder
64  OLA_SENSOR_ONLY_MODEL = 7,
65  // A E1.37 Dimmer
66  OLA_E137_DIMMER_MODEL = 8,
67 } ola_rdm_model_id;
68 
69 extern const char OLA_MANUFACTURER_LABEL[];
70 } // namespace rdm
71 } // namespace ola
72 #endif // INCLUDE_OLA_RDM_OPENLIGHTINGENUMS_H_