Codec for an NRF24L01 based protocol
Diff: swtp_codec.h
- Revision:
- 3:80ed23c0ae01
- Parent:
- 2:4dd0a9382f0d
--- a/swtp_codec.h Tue Aug 30 18:20:47 2011 +0000 +++ b/swtp_codec.h Tue Aug 30 21:20:23 2011 +0000 @@ -1,15 +1,9 @@ #ifndef SWTP_CODEC #define SWTP_CODEC -#define SWTP_VERSION (0) +#include "types.h" -// I cant bear these '_t' -typedef uint8_t uint8; -typedef uint16_t uint16; -typedef uint32_t uint32; -typedef int8_t sint8; -typedef int16_t sint16; -typedef int32_t sint32; +#define SWTP_VERSION (0) typedef struct { uint16 mimeType;