Core Base Classes for the Light Endpoints

Dependencies:   BufferedSerial

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more

Revision:
28:52b7ca6aacd6
Parent:
21:cfdaee0a2b50
Child:
29:9a99f076129a
--- a/Light.h	Thu Feb 27 06:28:33 2014 +0000
+++ b/Light.h	Fri Feb 28 03:10:53 2014 +0000
@@ -35,6 +35,8 @@
         
         void              *m_dimmer_action;
         void              *m_switch_action;
+        
+        int                m_ioc_id;
     
     public:
         Light(ErrorHandler *error_handler,Transport *transports[NUM_TRANSPORTS],int instance,void *endpoint);
@@ -54,6 +56,9 @@
         virtual void off();
         virtual void dim(int value);   
         
+        void setIOCID(int id);
+        int getIOCID();
+        
     protected:
         void *getDimmerAction();
         void *getSwitchAction();