Machine Cloud

Dependencies:   XBee mbed-rtos

Revision:
1:f5eafb42e9e4
Parent:
0:260d7796eb25
Child:
2:3fb7c06efa1e
--- a/MachineCloud.h	Fri Aug 09 19:29:51 2013 +0000
+++ b/MachineCloud.h	Thu Aug 15 23:54:25 2013 +0000
@@ -35,8 +35,8 @@
     public:
 
         // constructor
-        MachineCloud();
-        MachineCloud(uint16_t router);
+        MachineCloud(char *model);
+        MachineCloud(char *model, uint16_t router);
         
         // connect to the machine cloud
         int connect();
@@ -54,10 +54,11 @@
                 
     private:
         
-        void init(uint16_t router);
+        void init(char *model, uint16_t router);
         void receive(char *key, char *value);
         
         Mutex m_lock;
+        char *m_model;
         MachineCloudCallback *m_receiverFunction;
         MachineCloudReceiver *m_receiverObject;
         uint16_t m_router;