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:
2015-12-23
Revision:
4:36a4eceb1b7f
Child:
5:36916b1c5a06

File content as of revision 4:36a4eceb1b7f:

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