demo project

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-02-04
Revision:
33:8b9dcbf6d8ec
Parent:
21:051751f9ca9e

File content as of revision 33:8b9dcbf6d8ec:

// 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 */