Codec for an NRF24L01 based protocol
swtp_codec.h@0:b61d45ff9b8e, 2011-08-30 (annotated)
- Committer:
- ihunter
- Date:
- Tue Aug 30 10:30:50 2011 +0000
- Revision:
- 0:b61d45ff9b8e
- Child:
- 1:c189b357fc3c
First cut - WIP
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ihunter | 0:b61d45ff9b8e | 1 | #ifndef SWTP_CODEC |
ihunter | 0:b61d45ff9b8e | 2 | #define SWTP_CODEC |
ihunter | 0:b61d45ff9b8e | 3 | |
ihunter | 0:b61d45ff9b8e | 4 | extern "C" { |
ihunter | 0:b61d45ff9b8e | 5 | void encodeHeaderPacket(char* packetToFill, int mimeType, int payloadLengthBytes, int startPayloadSequenceNumber); |
ihunter | 0:b61d45ff9b8e | 6 | } |
ihunter | 0:b61d45ff9b8e | 7 | |
ihunter | 0:b61d45ff9b8e | 8 | #endif |