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

IothubRobotArm.h

Committer:
henryrawas
Date:
2016-01-26
Revision:
21:051751f9ca9e
Parent:
19:2f0ec9ac1238

File content as of revision 21:051751f9ca9e:

// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

#ifndef IOTHUB_ROBOTARM_H
#define IOTHUB_ROBOTARM_H

#include "iothub_mod_client.h"

#include "IothubSerial.h"

class IothubRobotArm
{
public:
    IothubRobotArm();
    
    bool Init();
    
    void Terminate();
    
    void SendMessage(IOTHUB_CLIENT_HANDLE iotHubClient, void* userContextCallback);

private:

    IothubSerial _msgSerialize;
};

extern bool StartIothubThread();

extern void EndIothubThread();

#endif /* IOTHUB_ROBOTARM_H */