Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: AX-12A Dynamixel mbed iothub_client EthernetInterface NTPClient ConfigFile SDFileSystem iothub_amqp_transport mbed-rtos proton-c-mbed wolfSSL
Diff: IothubRobotArm.h
- 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 */