robot arm demo team / Mbed 2 deprecated RobotArmDemo Featured

Dependencies:   AX-12A Dynamixel mbed iothub_client EthernetInterface NTPClient ConfigFile SDFileSystem iothub_amqp_transport mbed-rtos proton-c-mbed wolfSSL

Revision:
4:36a4eceb1b7f
Child:
5:36916b1c5a06
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/IothubRobotArm.h	Wed Dec 23 18:34:06 2015 +0000
@@ -0,0 +1,34 @@
+/* 
+Copyright (c) 2015 Jonathan Pickett & Microsoft. Some appropriate open source license.
+*/
+
+#ifndef IOTHUB_ROBOTARM_H
+#define IOTHUB_ROBOTARM_H
+
+#include "iothub_client.h"
+#include "IothubSerial.h"
+
+class IothubRobotArm
+{
+public:
+    IothubRobotArm();
+    
+    bool Init();
+    
+    void Terminate();
+    
+    void SendMeasurements(void);
+
+private:
+    IOTHUB_CLIENT_HANDLE iotHubClientHandle;
+
+    IothubSerial msgSerialize;
+};
+
+extern bool StartIothubThread();
+
+extern bool SendIothubMeasurements();
+
+extern void EndIothubThread();
+
+#endif /* IOTHUB_ROBOTARM_H */