Commit Graph

351 Commits

Author SHA1 Message Date
oliverschmidt
13cdcbe393 - Removed ctk_arch_isprint() definition as it is - nomen est omen - platform specific.
- Avoided compiler warnings.
- Rearranged headers.
2007-04-15 13:14:40 +00:00
oliverschmidt
eec5ae40c9 Avoid compiler warnings. 2007-04-15 13:09:23 +00:00
oliverschmidt
4bf1ecc20e Made endianess configuration actually work. 2007-04-11 00:25:38 +00:00
adamdunkels
336246f406 Makefile 2007-04-07 05:43:52 +00:00
adamdunkels
d335cb8087 Power saving MAC protocol based on X-MAC [SenSys 2006] 2007-04-07 05:43:31 +00:00
bg-
e03f25aea7 * Unifdef UAODV_BAD_ROUTE.
* Allow more frequent RREQs but avoid some unnecessary ones.
2007-04-05 12:30:17 +00:00
bg-
e486c95da2 * Some constness and signedness.
* Connect new routes to existing routes.

* RERR bad destinations not bad nexthops.
2007-04-05 12:09:32 +00:00
bg-
9c8f01be41 * Major overhaul in order to support route sequence numbers.
* Changes to use network byte order.

* Add RREQ forwading cache.

* Fix some const:ness and casts.

* RERR shall only delete old routes.

* Filter RREQ:s also using cc2420_check_remote().

* LRU management of routes.
2007-04-04 12:12:21 +00:00
bg-
8994d8e0b5 * Make uaodv_rt_add return meaningful value.
* uaodv_rt_lru() moves route to head of list.

* Hop count is only 8 bits.
2007-04-04 11:52:29 +00:00
bg-
1d7932c6b3 * Make uaodv_rt_add return meaningful value.
* uaodv_rt_lru() moves route to head of list.

* Configurable number of routes.
2007-04-04 11:50:54 +00:00
bg-
8c0fa5bc8a * Abbreviate originator as orig rather than src to avoid confusion.
* #if 0 unused defines.
2007-04-04 11:48:49 +00:00
bg-
212f455b71 * Literal constants. 2007-04-04 11:46:47 +00:00
bg-
478953dcf4 * Randomised backoff when broadcasting.
* Only warn about rxfifo overflows when sending.

* More intricate tests to verify if transmission really started.
2007-04-04 11:46:10 +00:00
bg-
e5fa567869 * htonl and friends. 2007-04-04 11:37:20 +00:00
nifi
0abdde6197 corrected comment 2007-04-04 09:19:18 +00:00
adamdunkels
7ce8d3920a Added radio_on() and radio_off() functions 2007-04-03 19:05:44 +00:00
oliverschmidt
1d63347cfc Added mt_stop() calling mtarch_stop() to allow for thread resource cleanup. 2007-04-03 18:47:21 +00:00
adamdunkels
cda806dc84 Bugfix: rudolph1 sometimes failed because the first packet was received from a neighbor 2007-04-02 19:12:37 +00:00
adamdunkels
d42b91fd20 Documentation updates 2007-04-02 18:07:10 +00:00
adamdunkels
2d42bd9e2a Now keeps track of highest chunk number heard and sends NACKs until it sees it 2007-04-02 17:53:27 +00:00
adamdunkels
a26906f478 Made send intervals configurable when sending a new file 2007-04-02 09:51:45 +00:00
adamdunkels
25af6bdcea Documentation updates 2007-04-01 18:20:41 +00:00
adamdunkels
ac3b3ea3ca Removed unused file 2007-03-31 18:36:03 +00:00
adamdunkels
6dc06d09af Made the number of retransmissions configurable 2007-03-31 18:33:27 +00:00
adamdunkels
91aa54dc77 Made advertisments for new shorter routes quicker, and advertisements for longer routes slower 2007-03-31 18:33:04 +00:00
adamdunkels
0650a014b5 Documentation updates 2007-03-31 18:31:27 +00:00
adamdunkels
03b2399622 Correct function prototype 2007-03-31 11:20:20 +00:00
adamdunkels
b0b7afb802 Removed erroneous documentation 2007-03-30 00:04:12 +00:00
adamdunkels
b0e39e22af Version 2.0 2007-03-29 23:45:16 +00:00
adamdunkels
36bc77d27f Documentation fixes 2007-03-29 23:38:07 +00:00
adamdunkels
bc1bb96809 Documentation fixes 2007-03-29 23:18:47 +00:00
adamdunkels
2f079ca8e2 Debug output 2007-03-29 23:18:22 +00:00
adamdunkels
4cde369174 Added call to timedout callback 2007-03-29 22:22:44 +00:00
adamdunkels
81b469d4b7 Made buffer sizes configurable from contiki-conf.h 2007-03-29 22:22:20 +00:00
adamdunkels
f35eeb49dd Added debugging output 2007-03-29 22:21:56 +00:00
adamdunkels
210574cf22 Fixed API to be consistent between .h and .c file 2007-03-28 20:28:22 +00:00
adamdunkels
af92a79635 Spelling error fix 2007-03-28 19:52:50 +00:00
adamdunkels
8e0ae73fa5 Increased default packet size to 64, removed out-commented code 2007-03-28 19:52:27 +00:00
adamdunkels
75dc71f70b Minor documentation change 2007-03-28 19:51:33 +00:00
oliverschmidt
ad4a8df425 Allow to build telnet-server example for targets not defining CTK_CONF_MAXMENUITEMS. 2007-03-26 23:01:11 +00:00
oliverschmidt
f60b7aabcf Added stdio.h for printf. 2007-03-26 22:45:49 +00:00
adamdunkels
6a8d8e3abf Added experimental clock_fine() function 2007-03-25 21:51:31 +00:00
adamdunkels
fbdd9799bd Use random_rand() instead of rand() due to bug on msp430 2007-03-25 21:44:23 +00:00
adamdunkels
06386b6f30 Reduce header before passing over to receiver 2007-03-25 21:44:06 +00:00
adamdunkels
41630b0f03 Free queued packet when closing 2007-03-25 21:43:23 +00:00
oliverschmidt
90f82d6a12 Keep system includes in front of Contiki includes. 2007-03-25 21:31:24 +00:00
oliverschmidt
4043448c02 Make consistent presumptions about inlcude paths. 2007-03-25 21:29:02 +00:00
adamdunkels
31fea520ea Debug output 2007-03-25 17:16:57 +00:00
adamdunkels
f67a47aff4 Documentation update, removed unneeded includes 2007-03-25 17:16:25 +00:00
adamdunkels
3eb156019e Documentation fix 2007-03-25 17:15:43 +00:00
adamdunkels
96d8967673 Should subtract two bytes from the length to account for the two-bytes footer 2007-03-25 17:15:30 +00:00
adamdunkels
503b76266b Renamed rt module to rtimer 2007-03-25 17:10:30 +00:00
adamdunkels
0f55a4efee Route discovery timeout configurable at run-time 2007-03-25 12:13:22 +00:00
adamdunkels
0c0d823dbf Typo 2007-03-25 12:13:04 +00:00
adamdunkels
d19e475fe6 Fixed include files 2007-03-25 12:06:39 +00:00
adamdunkels
f69268b4ab Timeouts configurable at run-time 2007-03-25 12:06:28 +00:00
adamdunkels
e12086c980 Documentation fixes 2007-03-25 12:05:51 +00:00
adamdunkels
f3872aac48 Make route lifetime dynamically configurable 2007-03-25 12:03:59 +00:00
adamdunkels
4a2f71c3ef Make use of consistent timer interface code 2007-03-25 12:03:41 +00:00
adamdunkels
6f72d9282b Added debugging output 2007-03-25 12:03:12 +00:00
adamdunkels
d9f0c89726 Moved rudolph{0,1} from apps/ directory into core/net/rime 2007-03-25 11:56:59 +00:00
adamdunkels
e57126ed0e Removed unused files 2007-03-25 11:55:20 +00:00
oliverschmidt
6b1432f69d Changed variable declaration into type definition - as most likely originally intended. 2007-03-25 09:20:53 +00:00
oliverschmidt
b3ab4b4e8f Added missing include. 2007-03-25 09:19:16 +00:00
adamdunkels
9d110c9adf File description 2007-03-24 16:42:43 +00:00
adamdunkels
deb8196333 #if'ed away debugging code 2007-03-24 16:42:36 +00:00
adamdunkels
047c807332 Removed redundant initialization 2007-03-24 16:42:21 +00:00
oliverschmidt
687dce277d Make consistent presumptions about inlcude paths. 2007-03-24 15:21:34 +00:00
oliverschmidt
0ded7a166e Added stdio.h for printf. 2007-03-24 13:57:04 +00:00
oliverschmidt
e552140425 Added missing prototype. 2007-03-24 13:54:05 +00:00
oliverschmidt
41d6a76019 Make consistent presumptions about inlcude paths. 2007-03-24 13:42:25 +00:00
oliverschmidt
1a0d00e1d4 Added stdio.h for sprintf. 2007-03-24 13:38:06 +00:00
nifi
ae64aa1764 changed counters to unsigned 2007-03-23 15:52:13 +00:00
nifi
e3bdae0e47 added erase of xmem and size checks 2007-03-23 12:15:08 +00:00
adamdunkels
013701f50c Renamed rimebuf_hdrextend() to rimebuf_hdralloc() 2007-03-23 10:46:35 +00:00
adamdunkels
2caf271d58 Removed unused node-id,.h 2007-03-22 23:57:19 +00:00
adamdunkels
c699512354 ctimer_set() bugfix 2007-03-22 23:57:08 +00:00
adamdunkels
0ddd326c9b More debugging information. Now identifies symtab and strtab based on type rather than name. 2007-03-22 23:56:44 +00:00
adamdunkels
cf24a46d2a Exported RSSI values 2007-03-22 23:56:05 +00:00
adamdunkels
bc25633fd9 Removed blinking LEDs 2007-03-22 23:55:48 +00:00
adamdunkels
f94cbb21e1 Added a CFS_APPEND option, set CFS_READ and CFS_WRITE to new numbers 2007-03-22 23:55:32 +00:00
adamdunkels
ea6f2942bd Added file size 2007-03-22 23:55:03 +00:00
adamdunkels
de8a3fd507 Removed mesh and tree, added queuebuf 2007-03-22 19:03:07 +00:00
adamdunkels
eea7f463d7 Transmission of IP packets over mesh routing, implemented with Rime 2007-03-22 18:58:40 +00:00
adamdunkels
1f91695771 Added route initializaion 2007-03-22 18:54:45 +00:00
adamdunkels
095952f97d Added support for multiple simulteaneous tree connections, removed sibc connection in favour of a uibc connection 2007-03-22 18:54:22 +00:00
adamdunkels
3134789a94 Added debugging, reduced wait time 2007-03-22 18:53:38 +00:00
adamdunkels
5b5d9209a1 Refactored the mesh code by splitting multi-hop forwarding and route discovery. The mesh module is now much simpler than before 2007-03-22 18:53:22 +00:00
adamdunkels
423dc1a951 Queued packet pointer should be NULL when no packet is queued 2007-03-22 17:37:10 +00:00
adamdunkels
5af2430f95 Added automatic timeouts 2007-03-22 17:34:43 +00:00
adamdunkels
2ef8c91bbc Refactored the mesh code by splitting multi-hop forwarding and route discovery. The mesh module is now much simpler than before 2007-03-22 17:34:16 +00:00
adamdunkels
c914d268ca Best effort multi-hop routing 2007-03-22 17:33:15 +00:00
adamdunkels
5c6c6e3358 Added configurable interval 2007-03-21 23:23:02 +00:00
adamdunkels
d1de1e0001 Added hop counting, remade the rimeaddr_t u16 to be an array rather than a scalar 2007-03-21 23:22:42 +00:00
adamdunkels
b7afd2baf0 Remade the rimeaddr_t u16 to be an array rather than a scalar 2007-03-21 23:22:11 +00:00
adamdunkels
b377a83730 Removed automatic setting of Rime node address 2007-03-21 23:22:02 +00:00
adamdunkels
70f2be4652 nf is now based on uibc 2007-03-21 23:21:54 +00:00
adamdunkels
9951aba084 Unique identified best effort local area broadcast 2007-03-21 23:21:01 +00:00
adamdunkels
4328947d26 Debugging added, whitespace removed 2007-03-21 23:19:52 +00:00
adamdunkels
1ab044e319 Corrected sending of two bytes footer 2007-03-21 23:19:15 +00:00
adamdunkels
22d7ea53ff Whitespace, added includes 2007-03-21 23:18:49 +00:00
adamdunkels
897bd980e1 CFS implementation over the xmem module 2007-03-21 23:15:31 +00:00
adamdunkels
d9406024d0 Split interval: one half listen only, second half send packet 2007-03-21 09:09:33 +00:00
adamdunkels
4bd8cd32ac Fixed debug output 2007-03-20 12:28:13 +00:00
adamdunkels
558ebf3c5d Renamed suc_send_uc() to suc_send(), fixed debug output 2007-03-20 12:27:32 +00:00
adamdunkels
d937ff8d16 Fixed compilation problem, added send() call so that a packet is sent out immediately 2007-03-20 12:26:57 +00:00
adamdunkels
516f9316ab Added functions for accessing the data and length of a queued buffer 2007-03-20 12:26:23 +00:00
adamdunkels
accea52d88 New Rime module: unique anonymous best effort broadcast 2007-03-20 11:59:55 +00:00
adamdunkels
8147f47aab Trickle implementation for Rime 2007-03-19 23:26:18 +00:00
adamdunkels
e4a739a76c Added *_close() function to all Rime modules 2007-03-19 22:10:16 +00:00
adamdunkels
aa1389e873 Removed unused files 2007-03-19 22:07:48 +00:00
adamdunkels
43326b5ae6 API change for Rime: *_setup() renamed to *_open() 2007-03-19 19:24:36 +00:00
adamdunkels
a97285863e + energest.h 2007-03-19 00:33:11 +00:00
adamdunkels
bba0485797 Experimental energy estimation code 2007-03-19 00:30:13 +00:00
adamdunkels
31a4d8504a Initial code for a Contiki real-time scheduler 2007-03-19 00:16:13 +00:00
adamdunkels
943a12613f + memb_inmemb 2007-03-16 16:53:33 +00:00
bg-
cb6bda5378 * Support longer lease times. 2007-03-16 12:16:16 +00:00
adamdunkels
cc87617ef2 Removed inclusion of non-existant file rime-types.h 2007-03-16 09:16:40 +00:00
adamdunkels
91fc3c3917 Renamed Rime output function 2007-03-15 22:11:06 +00:00
adamdunkels
786d0d1892 Copyright update 2007-03-15 21:46:07 +00:00
adamdunkels
ec9ea6d366 Button sensor header 2007-03-15 21:42:09 +00:00
adamdunkels
92a5b01bed Radio sensor header file 2007-03-15 21:27:09 +00:00
adamdunkels
c29eb96219 A Rime driver for the simple-cc2420 driver 2007-03-15 21:26:18 +00:00
adamdunkels
638640113e A very simple CC2420 driver that can only send and receive raw packets. No extra CC2420 functionality is enabled or used. 2007-03-15 21:26:00 +00:00
adamdunkels
2e6dbad62b node_id -> rimeaddr_node_addr 2007-03-15 21:25:06 +00:00
adamdunkels
e4e57fca96 Renamed input function to rime_input() and the output function to rime_driver_send() 2007-03-15 21:24:11 +00:00
adamdunkels
833d098096 New Rime module: tree, a converge cast / tree data collection protocol 2007-03-15 20:04:30 +00:00
adamdunkels
cc60843e8b New Rime module: mesh, a mesh routing protocol 2007-03-15 19:52:51 +00:00
adamdunkels
ab0d556353 Added a new type for all addresses in Rime: rimeaddr_t. This is an abstract type that currently is defined as a 16-bit quantity but that most likely will be redefined in the future 2007-03-15 19:43:07 +00:00
adamdunkels
2b119b054e const qualifiers 2007-03-15 19:41:29 +00:00
adamdunkels
fd33a89214 Renamed ulayer -> callbacks 2007-03-15 10:01:04 +00:00
adamdunkels
26a681cf37 rimebuf_totle() prototype & documentation 2007-03-15 09:57:00 +00:00
adamdunkels
16bdd2f18c Sequence number now reported 2007-03-15 09:56:30 +00:00
adamdunkels
168765a205 Compiler warning fix 2007-03-15 09:56:15 +00:00
adamdunkels
537ecb9198 UDP initialization fixed 2007-03-15 09:56:00 +00:00
adamdunkels
fb23363a70 Removed abc-udp.c 2007-03-15 09:54:58 +00:00
adamdunkels
548e4ce556 New rime module: best-effort network flooding (nf) 2007-03-14 00:30:46 +00:00
adamdunkels
674f373f76 Renamed function for compacting the data in the rimebuf: rimebuf_compact 2007-03-14 00:30:11 +00:00
adamdunkels
91f8c4b8e4 Renamed driver output function to abc_driver_send 2007-03-14 00:29:05 +00:00
adamdunkels
355724669e Default channel allocations 2007-03-14 00:27:36 +00:00
adamdunkels
11627c2406 Added generic abc layer 2007-03-13 13:05:30 +00:00
adamdunkels
ba1dc7105f Rime driver running over UDP 2007-03-13 13:02:33 +00:00
adamdunkels
358259105e Generic abc module 2007-03-13 13:01:48 +00:00
adamdunkels
6930910cd3 Renamed old netbuf -> rimebuf 2007-03-13 10:28:52 +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
21ef887f07 +Documentation 2007-03-13 10:27:36 +00:00
adamdunkels
2d7aab3ffe Initial import of the experimental Rime code into the SourceForge CVS. 2007-02-28 16:38:51 +00:00
bg-
429d41defd * General stuff for different baudrates:
- ubr argument to slip_arch_int

    - macros for calculating ubr

    - argument -Bbaudrate to tools tunslip and scat
2007-02-02 13:26:48 +00:00
bg-
abbde5d8fa * Use convince macro uip_ipaddr_to_quad.
* Printf format check and fix format strings.

* More info in some printfs.

* Be conservative about keeping working routes in RREQ (forward) path.

* Put some spacing between forwarded packet and RREQ.
2007-02-01 14:33:05 +00:00
bg-
539ad552bd * Convince macro uip_ipaddr_to_quad. 2007-02-01 14:27:17 +00:00