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

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers IothubRobotArm.h Source File

IothubRobotArm.h

00001 // Copyright (c) Microsoft. All rights reserved.
00002 // Licensed under the MIT license. See LICENSE file in the project root for full license information.
00003 
00004 #ifndef IOTHUB_ROBOTARM_H
00005 #define IOTHUB_ROBOTARM_H
00006 
00007 #include "iothub_mod_client.h"
00008 
00009 #include "IothubSerial.h"
00010 
00011 class IothubRobotArm
00012 {
00013 public:
00014     IothubRobotArm();
00015     
00016     bool Init();
00017     
00018     void Terminate();
00019     
00020     void SendMessage(IOTHUB_CLIENT_HANDLE iotHubClient, void* userContextCallback);
00021 
00022 private:
00023 
00024     IothubSerial _msgSerialize;
00025 };
00026 
00027 extern bool StartIothubThread();
00028 
00029 extern void EndIothubThread();
00030 
00031 #endif /* IOTHUB_ROBOTARM_H */