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: Packet.h
- Revision:
- 1:f74116b37bc9
- Parent:
- 0:5f7bc45bc2e8
diff -r 5f7bc45bc2e8 -r f74116b37bc9 Packet.h --- a/Packet.h Mon Jun 24 06:42:11 2013 +0000 +++ b/Packet.h Mon Jul 08 07:14:30 2013 +0000 @@ -17,10 +17,14 @@ #define INVALID_PACKET_DATASIZE 66 // Packet Settings +#define STARTING_HEADER_SIZE 2 #define PACKET_HEADER_SIZE 2 #define INTERFACE 0 #define DATA_LENGTH 1 -#define DATA_START_ADDR 2 +//#define DATA_START_ADDR 2+4 + +#define PACKET_STARTING_CHARACTOR_0 0x0a +#define PACKET_STARTING_CHARACTOR_1 0x0a enum { RTC_STATE_CREATED='C',