RTno is communicating library and framework which allows you to make your embedded device capable of communicating with RT-middleware world. RT-middleware is a platform software to realize Robotic system. In RTM, robots are developed by constructing robotics technologies\' elements (components) named RT-component. Therefore, the RTno helps you to create your own RT-component with your mbed and arduino. To know how to use your RTno device, visit here: http://ysuga.net/robot_e/rtm_e/rtc_e/1065?lang=en To know about RT-middleware and RT-component, visit http://www.openrtm.org
Dependencies: EthernetInterface mbed-rtos
Transport.h@7:6c7af1d50fb3, 2013-08-29 (annotated)
- Committer:
- ysuga
- Date:
- Thu Aug 29 05:29:55 2013 +0000
- Revision:
- 7:6c7af1d50fb3
- Parent:
- 1:f74116b37bc9
update v5
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ysuga | 0:5f7bc45bc2e8 | 1 | #ifndef TRANSPORT_HEADER_INCLUDED |
ysuga | 0:5f7bc45bc2e8 | 2 | #define TRANSPORT_HEADER_INCLUDED |
ysuga | 0:5f7bc45bc2e8 | 3 | |
ysuga | 0:5f7bc45bc2e8 | 4 | #include <stdint.h> |
ysuga | 0:5f7bc45bc2e8 | 5 | #include "SerialDevice.h" |
ysuga | 0:5f7bc45bc2e8 | 6 | |
ysuga | 0:5f7bc45bc2e8 | 7 | int8_t Transport_init(); |
ysuga | 0:5f7bc45bc2e8 | 8 | |
ysuga | 0:5f7bc45bc2e8 | 9 | int8_t Transport_SendPacket(const char interface, const uint8_t data_length, const int8_t* packet_data); |
ysuga | 1:f74116b37bc9 | 10 | |
ysuga | 1:f74116b37bc9 | 11 | int8_t Transport_ReceivePacket(uint8_t* packet, const uint32_t &timeout=INFINITE); |
ysuga | 0:5f7bc45bc2e8 | 12 | |
ysuga | 0:5f7bc45bc2e8 | 13 | #endif |