Machine Cloud

Dependencies:   XBee mbed-rtos

Revision:
2:3fb7c06efa1e
Parent:
1:f5eafb42e9e4
diff -r f5eafb42e9e4 -r 3fb7c06efa1e MachineCloud.cpp
--- a/MachineCloud.cpp	Thu Aug 15 23:54:25 2013 +0000
+++ b/MachineCloud.cpp	Fri Aug 16 16:49:34 2013 +0000
@@ -1,22 +1,20 @@
 #include <string.h>
 #include "MachineCloud.h"
 
-MachineCloud::MachineCloud(char *model) {
-    init(model, 0x1000);
+MachineCloud::MachineCloud() {
+    init(0x1000);
 }
 
-MachineCloud::MachineCloud(char *model, uint16_t router) {
-    init(model, router);
+MachineCloud::MachineCloud(uint16_t router) {
+    init(router);
 }
 
-void MachineCloud::init(char *model, uint16_t router) {
-    m_model = model;
+void MachineCloud::init(uint16_t router) {
     m_router = router;
 }
 
 int MachineCloud::connect() {
     m_xbee = new XBee(p9, p10);
-    send("model", m_model);
     return 0;
 }