Codec for an NRF24L01 based protocol
swtp_codec.cpp@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 | #include "mbed.h" |
ihunter | 0:b61d45ff9b8e | 2 | #include "swtp_codec.h" |
ihunter | 0:b61d45ff9b8e | 3 | |
ihunter | 0:b61d45ff9b8e | 4 | extern Serial pc; |
ihunter | 0:b61d45ff9b8e | 5 | |
ihunter | 0:b61d45ff9b8e | 6 | void encodeHeaderPacket(char* packetToFill, int mimeType, int payloadLengthBytes, int startPayloadSequenceNumber) { |
ihunter | 0:b61d45ff9b8e | 7 | pc.puts("Encoding header\n\r"); |
ihunter | 0:b61d45ff9b8e | 8 | } |