Commit graph

474 commits

Author SHA1 Message Date
adamdunkels f6cf045413 Always add neighbors to the list regardless if their rtmetric is higher than ours or not. If our rtmetric rises, we may need ot have those neighbors in our list. 2007-11-26 23:31:44 +00:00
adamdunkels 98854f80e0 Made Rime address size configurable through contiki-conf.h 2007-11-26 23:30:35 +00:00
adamdunkels 75be20bea6 Added function for accessing a specific neighbor 2007-11-26 23:30:13 +00:00
adamdunkels 58d6310979 Added #ifdef around MAX definition to avoid compiler warnings 2007-11-26 23:22:41 +00:00
adamdunkels 52a8e8d16b Fixed to match the Contiki code style 2007-11-26 15:31:32 +00:00
oliverschmidt 034111b106 Made cfs implementation adhere to (new) cfs interface, streamlined implementation, reduced header dependencies and removed the 'cfs-root/' prefix. The reasoning behind the latter:
- Productive embedded targets don't use the posix based variant anyway.
- For testing purposes the prefix is a hurdle as the documentation doesn't mention it ;-))
- The prefix is incompatible with posix implementations lacking directory support (like the C64).
2007-11-22 11:37:34 +00:00
oliverschmidt df1c80ee79 Made cfs implementation adhere to (new) cfs interface. 2007-11-22 11:29:13 +00:00
oliverschmidt c69a49b2a2 Improved cfs interface. 2007-11-22 11:27:08 +00:00
oliverschmidt d474777ff8 Moved textedit widget into backyard as it was never platform independent anyway (but relied on the C64 hibit cursor). 2007-11-20 20:41:11 +00:00
oliverschmidt 476848fbe0 Including stddef.h for NULL seems to be somewhat more portable than stdlib.h. 2007-11-18 19:16:49 +00:00
ksb 71dc988cb9 slip.c:
char is signed but uip_buf is unsigned

spi.h:
	casted unused values to void

autostart.c:
autostart.h:
        The array itself should be const but the processes pointed to
        should not.

profile-aggregates.c:
        sizeof returns unsigned long on my platform
2007-11-18 12:27:44 +00:00
nvt-se 977fdc7f03 Format requires unsigned long. 2007-11-18 11:21:29 +00:00
oliverschmidt 536f20efba Removed compiler warnings. 2007-11-18 01:49:48 +00:00
oliverschmidt d8330e9416 Removed compiler warning. 2007-11-18 01:46:53 +00:00
oliverschmidt d609db3580 Removed compiler warnings. 2007-11-18 01:36:59 +00:00
oliverschmidt 131807370f Removed reference to logically empty file. 2007-11-18 01:19:31 +00:00
oliverschmidt aedb4f56da Moved logically empty files to backyard. 2007-11-18 01:18:09 +00:00
adamdunkels b49e9b34b1 reverted the PROCESS_LOAD() commit - the PROCESS_LOAD() code is used by ports such as the win32 and 6502 ports 2007-11-17 22:11:19 +00:00
oliverschmidt 552969ed24 Adjusted include path. 2007-11-17 21:24:50 +00:00
oliverschmidt 6f1c485d8e Removed compiler warnings. 2007-11-17 21:01:31 +00:00
oliverschmidt 3b057f7966 Removed used variable that caused compiler warning. 2007-11-17 20:04:44 +00:00
adamdunkels 2f50fe9c57 Made definition of PROCESS() macro nicer by removing unused PROCESS_LOAD() and PROCESS_NOLOAD() 2007-11-17 18:07:13 +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 d9eebf7e17 Fixed compiler warnings 2007-11-17 10:46:25 +00:00
adamdunkels 8d79ef2219 Include rtimer.h instead of rtimer-arch.h 2007-11-17 10:46:02 +00:00
adamdunkels 7fd1eca954 Added debug output 2007-11-17 10:34:17 +00:00
adamdunkels 9bd3c0c07c Re-added hop count to header, fixes related to ETX computation: adv packets do not add a good etx, timedout packets do not restore the neighbor age, removed unused code 2007-11-17 10:32:54 +00:00
adamdunkels e1affe5e72 Changed watchdog API by adding a start function, and renaming the restart function to periodic to make it clear that this should be called periodically 2007-11-17 10:15:50 +00:00
adamdunkels 5e7cbff22a Fixed compiler warnings 2007-11-17 10:12:19 +00:00
adamdunkels a7102829e3 Updated ruc callback types to fix compiler warnings 2007-11-17 09:59:48 +00:00
adamdunkels 0a8b1cbd76 Updated ruc callback types to fix compiler warnings 2007-11-17 09:47:55 +00:00
fros4943 532d9814c2 configurable rudolph datasize 2007-11-16 09:17:22 +00:00
fros4943 12338bee6d changed R_AVR_CALL relocation (but unsure why the old didn't work)
+ defined debug output
2007-11-16 09:16:31 +00:00
nifi c989d425dc fixed compiler warning 2007-11-15 13:33:09 +00:00
nifi a6d827fa1f moved initialization of ctimer to allow MAC layer to use ctimers 2007-11-15 13:07:42 +00:00
fros4943 c645cad175 fixed conflicting types: nbh.c vs nbh.h 2007-11-15 08:10:42 +00:00
adamdunkels 0a7f35d62c Added neighborhood discovery module 2007-11-13 21:01:54 +00:00
adamdunkels 1386b8ae8f Added API to retrieve address of current receiver 2007-11-13 21:00:10 +00:00
adamdunkels c40dde1209 Updated ruc to send ACKs before notifying applications, and API support for the etx-based tree code 2007-11-13 20:58:46 +00:00
adamdunkels 6845d2a1aa Updated tree to use expected transmissions (etx) as routing metric 2007-11-13 20:39:29 +00:00
adamdunkels 670f65b55e Added battery sensor to the core interfaces 2007-11-13 20:36:40 +00:00
nifi 44480fc7b7 added fix to enable start of ctimers before etimer process has started 2007-11-13 15:13:03 +00:00
fros4943 2c1af74f37 declaration outside loop 2007-11-13 06:45:29 +00:00
adamdunkels 1cb3bad088 Multiple bugfixes and updates to xmac code by Niclas 2007-11-12 22:29:37 +00:00
adamdunkels 88de583f94 Removed nonexistant neighbors rimestat 2007-11-12 22:27:44 +00:00
adamdunkels 812b86f162 Initialization of energest_current_time to fix problems with energy attribution on LEDs during Tmote Sky bootup 2007-11-12 22:27:21 +00:00
adamdunkels c5d79e8aea Added contentiondrop rimestats when a packet couldn't be sent because of failing CCA check 2007-11-12 22:26:03 +00:00
nvt-se 6b7173809d anonymous -> identified. 2007-11-12 12:34:29 +00:00
adamdunkels 127503e2a6 waiting for valid RSSI bugfix, minor cleanup 2007-10-25 13:29:21 +00:00
adamdunkels feed6cf679 const parameter to rimbuef_copyfrom() 2007-10-25 12:48:46 +00:00