Commit Graph

15 Commits

Author SHA1 Message Date
nifi
fe4f8f4339 clear attributes when clearing buffer 2008-04-03 09:07:28 +00:00
nifi
f187981cd6 Fixed type offset bug in rimebuf_addr() and removed unused type for attributes and addresses. Replaced memcpy with loop. 2008-04-02 14:49:21 +00:00
adamdunkels
5901bf977a Changed assignment to explicit copy to enable compilation with SDCC 2008-03-20 09:40:31 +00:00
adamdunkels
412facb831 This is an initial commit of an implementation of the Chameleon
architecture for the Rime stack for Contiki. The Chameleon
architecture separates the header processing from the Rime protocol
logic. Instead of having each protocol create its own part of the
packet header, protocols use packet attributes. Before sending a
packet, a special Chameleon header processing module creates a packet
header from the packet attributes. The same Chameleon module parses
incoming packets and creates packet attributes from the header.

The details are in our SenSys 2007 paper:

Adam Dunkels, Fredrik Osterlind, Zhitao He. An Adaptive Communication
Architecture for Wireless Sensor Networks. In Proceedings of the Fifth
ACM Conference on Networked Embedded Sensor Systems (SenSys 2007),
Sydney, Australia, November 2007.

http://www.sics.se/~adam/dunkels07adaptive.pdf

This is a rewrite of the code that was developed for the paper.
2008-02-25 02:14:34 +00:00
adamdunkels
d99ca27820 Changed all occurences of u8_t and u16_t to uint8_t and uint16_t 2008-02-24 22:05:27 +00:00
adamdunkels
1e1e44a3f8 Fixed compiler warnings to make code compile with gcc's -pedantic switch 2007-11-17 18:01:00 +00:00
adamdunkels
feed6cf679 const parameter to rimbuef_copyfrom() 2007-10-25 12:48:46 +00:00
adamdunkels
0650a014b5 Documentation updates 2007-03-31 18:31:27 +00:00
adamdunkels
2f079ca8e2 Debug output 2007-03-29 23:18:22 +00:00
adamdunkels
deb8196333 #if'ed away debugging code 2007-03-24 16:42:36 +00:00
oliverschmidt
1a0d00e1d4 Added stdio.h for sprintf. 2007-03-24 13:38:06 +00:00
adamdunkels
013701f50c Renamed rimebuf_hdrextend() to rimebuf_hdralloc() 2007-03-23 10:46:35 +00:00
adamdunkels
674f373f76 Renamed function for compacting the data in the rimebuf: rimebuf_compact 2007-03-14 00:30:11 +00:00
adamdunkels
ca359a6314 Removed the explicit header buffer; both the header and data are not in the same 'physical' buffer. Added function for copying referenced data into the rimebuf. 2007-03-13 10:28:16 +00:00
adamdunkels
2d7aab3ffe Initial import of the experimental Rime code into the SourceForge CVS. 2007-02-28 16:38:51 +00:00