diff options
author | Jakob Odersky <jodersky@gmail.com> | 2013-02-26 16:38:19 +0100 |
---|---|---|
committer | Jakob Odersky <jodersky@gmail.com> | 2013-02-26 16:38:19 +0100 |
commit | 5d4fd43bbccd3b1da97d3139b95eab9173777bef (patch) | |
tree | e0c4afeda484259bf725f25c3d891e30853ee8dd /arduino/ace_old/transport.h | |
parent | ac31762b462f37d49999daae8dba7763d8d870b3 (diff) | |
download | ace-5d4fd43bbccd3b1da97d3139b95eab9173777bef.tar.gz ace-5d4fd43bbccd3b1da97d3139b95eab9173777bef.tar.bz2 ace-5d4fd43bbccd3b1da97d3139b95eab9173777bef.zip |
remove old c/c++ implementations
Diffstat (limited to 'arduino/ace_old/transport.h')
-rw-r--r-- | arduino/ace_old/transport.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/arduino/ace_old/transport.h b/arduino/ace_old/transport.h deleted file mode 100644 index 233d19c..0000000 --- a/arduino/ace_old/transport.h +++ /dev/null @@ -1,32 +0,0 @@ -#ifndef TRANSPORT_H -#define TRANSPORT_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include <inttypes.h> - -typedef struct { - uint8_t* data; - uint16_t length; -} message; - -typedef enum { - RECEIVED = 0, - SEND_SUCCESS = 1, - SEND_ERROR = 2, - NO_ACK = 3, - BAD_ACK = 4, - BUSY = 5 -} transport_code; - -void init_transport_layer(uint32_t timeout_millis); -void to_transport_layer(message* s); //implemented in transport -void from_transport_layer(transport_code code, message* r); //should be implemented in application - -#ifdef __cplusplus -} // extern "C" -#endif - -#endif /* TRANSPORT_H */ |