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
Diff: EtherTcp.cpp
- Revision:
- 1:f74116b37bc9
- Parent:
- 0:5f7bc45bc2e8
- Child:
- 6:86d72601ff54
diff -r 5f7bc45bc2e8 -r f74116b37bc9 EtherTcp.cpp --- a/EtherTcp.cpp Mon Jun 24 06:42:11 2013 +0000 +++ b/EtherTcp.cpp Mon Jul 08 07:14:30 2013 +0000 @@ -17,7 +17,7 @@ #define ETCP_RX_BUFFER_SIZE 128 -unsigned char etcp_rx_buffer[ETCP_RX_BUFFER_SIZE]; +uint8_t etcp_rx_buffer[ETCP_RX_BUFFER_SIZE]; int etcp_rx_buffer_pointer_head = 0; int etcp_rx_buffer_pointer_tail = 0; Host m_Client; @@ -128,9 +128,9 @@ } } -char EtherTcp_getc() +uint8_t EtherTcp_getc() { - char c; - etcp_rx_buffer_pop((unsigned char*)&c); + uint8_t c; + etcp_rx_buffer_pop(&c); return c; }