Yuki Suga / RTnoV4

Dependencies:   EthernetInterface mbed-rtos

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Transport.h Source File

Transport.h

00001 #ifndef TRANSPORT_HEADER_INCLUDED
00002 #define TRANSPORT_HEADER_INCLUDED
00003 
00004 #include <stdint.h>
00005 #include "SerialDevice.h"
00006 
00007 int8_t Transport_init();
00008 
00009 int8_t Transport_SendPacket(const char interface, const uint8_t data_length, const int8_t* packet_data);
00010     
00011 int8_t Transport_ReceivePacket(uint8_t* packet, const uint32_t &timeout=INFINITE);
00012 
00013 #endif