demo project
Dependencies: AX-12A Dynamixel mbed iothub_client EthernetInterface NTPClient ConfigFile SDFileSystem iothub_amqp_transport mbed-rtos proton-c-mbed wolfSSL
IothubRobotArm.h@18:224289104fc0, 2016-01-23 (annotated)
- Committer:
- henryrawas
- Date:
- Sat Jan 23 00:08:30 2016 +0000
- Revision:
- 18:224289104fc0
- Parent:
- 15:4bd10f531cdc
- Child:
- 19:2f0ec9ac1238
refactor
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
henryrawas | 4:36a4eceb1b7f | 1 | /* |
henryrawas | 4:36a4eceb1b7f | 2 | Copyright (c) 2015 Jonathan Pickett & Microsoft. Some appropriate open source license. |
henryrawas | 4:36a4eceb1b7f | 3 | */ |
henryrawas | 4:36a4eceb1b7f | 4 | |
henryrawas | 4:36a4eceb1b7f | 5 | #ifndef IOTHUB_ROBOTARM_H |
henryrawas | 4:36a4eceb1b7f | 6 | #define IOTHUB_ROBOTARM_H |
henryrawas | 4:36a4eceb1b7f | 7 | |
henryrawas | 4:36a4eceb1b7f | 8 | #include "iothub_client.h" |
henryrawas | 18:224289104fc0 | 9 | |
henryrawas | 4:36a4eceb1b7f | 10 | #include "IothubSerial.h" |
henryrawas | 4:36a4eceb1b7f | 11 | |
henryrawas | 4:36a4eceb1b7f | 12 | class IothubRobotArm |
henryrawas | 4:36a4eceb1b7f | 13 | { |
henryrawas | 4:36a4eceb1b7f | 14 | public: |
henryrawas | 4:36a4eceb1b7f | 15 | IothubRobotArm(); |
henryrawas | 4:36a4eceb1b7f | 16 | |
henryrawas | 4:36a4eceb1b7f | 17 | bool Init(); |
henryrawas | 4:36a4eceb1b7f | 18 | |
henryrawas | 4:36a4eceb1b7f | 19 | void Terminate(); |
henryrawas | 4:36a4eceb1b7f | 20 | |
henryrawas | 13:ffeff9b5e513 | 21 | void SendMessage(void); |
henryrawas | 4:36a4eceb1b7f | 22 | |
henryrawas | 4:36a4eceb1b7f | 23 | private: |
henryrawas | 4:36a4eceb1b7f | 24 | |
henryrawas | 18:224289104fc0 | 25 | IothubSerial _msgSerialize; |
henryrawas | 4:36a4eceb1b7f | 26 | }; |
henryrawas | 4:36a4eceb1b7f | 27 | |
henryrawas | 4:36a4eceb1b7f | 28 | extern bool StartIothubThread(); |
henryrawas | 4:36a4eceb1b7f | 29 | |
henryrawas | 4:36a4eceb1b7f | 30 | extern void EndIothubThread(); |
henryrawas | 4:36a4eceb1b7f | 31 | |
henryrawas | 4:36a4eceb1b7f | 32 | #endif /* IOTHUB_ROBOTARM_H */ |