demo project

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

Committer:
henryrawas
Date:
Thu Feb 04 20:10:33 2016 +0000
Revision:
33:8b9dcbf6d8ec
Parent:
21:051751f9ca9e
update libs

Who changed what in which revision?

UserRevisionLine numberNew contents of line
henryrawas 19:2f0ec9ac1238 1 // Copyright (c) Microsoft. All rights reserved.
henryrawas 19:2f0ec9ac1238 2 // Licensed under the MIT license. See LICENSE file in the project root for full license information.
henryrawas 4:36a4eceb1b7f 3
henryrawas 4:36a4eceb1b7f 4 #ifndef IOTHUB_ROBOTARM_H
henryrawas 4:36a4eceb1b7f 5 #define IOTHUB_ROBOTARM_H
henryrawas 4:36a4eceb1b7f 6
henryrawas 21:051751f9ca9e 7 #include "iothub_mod_client.h"
henryrawas 18:224289104fc0 8
henryrawas 4:36a4eceb1b7f 9 #include "IothubSerial.h"
henryrawas 4:36a4eceb1b7f 10
henryrawas 4:36a4eceb1b7f 11 class IothubRobotArm
henryrawas 4:36a4eceb1b7f 12 {
henryrawas 4:36a4eceb1b7f 13 public:
henryrawas 4:36a4eceb1b7f 14 IothubRobotArm();
henryrawas 4:36a4eceb1b7f 15
henryrawas 4:36a4eceb1b7f 16 bool Init();
henryrawas 4:36a4eceb1b7f 17
henryrawas 4:36a4eceb1b7f 18 void Terminate();
henryrawas 4:36a4eceb1b7f 19
henryrawas 21:051751f9ca9e 20 void SendMessage(IOTHUB_CLIENT_HANDLE iotHubClient, void* userContextCallback);
henryrawas 4:36a4eceb1b7f 21
henryrawas 4:36a4eceb1b7f 22 private:
henryrawas 4:36a4eceb1b7f 23
henryrawas 18:224289104fc0 24 IothubSerial _msgSerialize;
henryrawas 4:36a4eceb1b7f 25 };
henryrawas 4:36a4eceb1b7f 26
henryrawas 4:36a4eceb1b7f 27 extern bool StartIothubThread();
henryrawas 4:36a4eceb1b7f 28
henryrawas 4:36a4eceb1b7f 29 extern void EndIothubThread();
henryrawas 4:36a4eceb1b7f 30
henryrawas 4:36a4eceb1b7f 31 #endif /* IOTHUB_ROBOTARM_H */