Commit graph

3808 commits

Author SHA1 Message Date
adamdunkels
5d8d7844bb Avoid alignment problems by copying the crc from the header field into a local variable 2009-04-06 23:29:31 +00:00
adamdunkels
5e456aea7d Added optimization for sending ACKs immediately. Turned optimizations on. Increased listening time to 1/64 s again due to problems with broadcasts with the 1/128 s setting 2009-04-06 22:50:35 +00:00
adamdunkels
ace6567815 Added a timer that randomizes the retransmission of an incoming new trickle version to avoid broadcast collisions 2009-04-06 21:20:35 +00:00
adamdunkels
be1c8ccec9 Added debug printouts 2009-04-06 21:19:34 +00:00
adamdunkels
d02ac74bbc Increased size of temporary stack value to avoid overflowing when computation is done with 8-bit integers 2009-04-06 21:19:00 +00:00
adamdunkels
d298fcbbd0 Changed name of the internal struct memb_blocks to struct memb for consistency 2009-04-06 21:18:03 +00:00
adamdunkels
01d39d4149 Made sure netcmds are null-terminated 2009-04-06 21:17:34 +00:00
nifi
b41b79e3a9 Disable timestamp when using 802.15.4 frames (CC2420_CONF_TIMESTAMPS adds timestamp to radio packets). 2009-04-06 17:18:20 +00:00
nifi
900d8d8e17 changed to use HC01 compression for uip6 2009-04-06 16:01:11 +00:00
nifi
000f740adc typo 2009-04-06 15:54:07 +00:00
nifi
8b41f3a6a8 set rime addr size to 8 for uip6, restored clock resolution 2009-04-06 14:59:49 +00:00
nifi
76b7bf43d0 added setup for uip6 with 802.15.4 frames and routing using Rime 2009-04-06 14:12:58 +00:00
nifi
eab96e9b53 added rime-udp.c 2009-04-06 14:10:57 +00:00
nifi
a36e529df1 added configuration for panid 2009-04-06 13:31:00 +00:00
nvt-se
d6869018c7 turned off debugging. 2009-04-06 13:27:37 +00:00
nvt-se
f53560f6a5 enabled multihop routing, increased uip buffer size. 2009-04-06 13:23:14 +00:00
nvt-se
d15b19b09c added net/routing to dir to CONTIKIDIRS and included Makefile.routing 2009-04-06 13:20:34 +00:00
nifi
9f2ff48fda added 802.15.4 frame packeter 2009-04-06 13:19:03 +00:00
nvt-se
3b2ad9cfc4 added packet forwarding and replaceable routing modules. 2009-04-06 13:18:50 +00:00
nvt-se
461ba4082c in case UIP_CONF_ROUTING is set, check if we have a registered routing
module and use it for looking up the next hop of an address.
2009-04-06 13:18:12 +00:00
nvt-se
faf083f09d save copy of a rime address that points to a packet buffer, since the
packet buffer is cleared and overwritten before the address usage is done.
2009-04-06 13:16:39 +00:00
nvt-se
c531f25c94 A module that enables Rime to run over UDP. 2009-04-06 13:13:26 +00:00
nvt-se
005578a722 added multihop routing support through replaceable modules. first implementation
uses rime's route discovery by translating between ipv6 and rime addresses.
2009-04-06 13:11:25 +00:00
nifi
4bc60d76d3 fixed alignment problem on MSP430 when using compression 2009-04-06 13:11:20 +00:00
nifi
1c6264fddc reordered build path to use cpu files before core 2009-04-06 13:10:14 +00:00
nifi
43c2ccf5d8 fixed clock_seconds to use full 32 bit 2009-04-06 13:08:42 +00:00
nifi
c1d490b6a7 added workaround for memcpy/memset bug in mspgcc 2009-04-06 13:07:37 +00:00
adamdunkels
ed1e945e66 Added guard code so that OFF_TIME is never zero 2009-04-03 20:08:05 +00:00
adamdunkels
8dbd2b2337 Significant power consumption optimization: LPP now keeps track of encounters with neighbors and uses this information to keep the radio switched off longer. 2009-04-03 19:59:22 +00:00
fros4943
38b38edf95 added method for faking mote output in tests: mostly used for debugging 2009-04-03 17:05:14 +00:00
fros4943
b2a98f49e6 + constructor option for not automatically throwing "requires visualization" exception 2009-04-03 17:03:42 +00:00
adamdunkels
58331e6802 Made tick resultion more fine-grained to support a shorter LPP listen time 2009-04-03 11:46:48 +00:00
adamdunkels
1d86b01bfb Made optimizations explicit (and configurable). Added missing initialization of dutycycle protothread. Reduced default listen time and off time. 2009-04-03 11:45:06 +00:00
nvt-se
d936dc1d09 print the time of the test. 2009-04-03 11:12:17 +00:00
joxe
4f41b30b2b fixed variable names 2009-04-02 22:39:29 +00:00
joxe
7d2a08b29c added initial set-up code SFD capture interrupts usable for exact packet timestamping 2009-04-02 22:23:06 +00:00
nvt-se
4507891ed5 made gc on removal configurable since it decreases wear levelling.
cleaned up some code.
2009-04-02 14:20:04 +00:00
nvt-se
1425537a13 Introduced two garbage collection mode: greedy and reluctant.
The greedy GC mode attempts to erase as many sectors as possible, and
it is therefore a slow operation, since the flash driver must wait
for about a second after erasing one sector. The former behavior was
to always do a greedy GC if file reservations fails due to lack of space.

The new reluctant GC stops after erasing one sector, and therefore
we often do not have to wait if there is no file system operation
in the time while the sector is being erased. We call the garbage collector
using this mode when removing a file that is not a micro log file, since
the remove function is called recursively for micro log files that are
erased because the corresponding ordinary file is erased.

This change increases the coffee test (examples/sky/test-coffee.c) speed
from 9 to 5 seconds.
2009-04-02 11:22:23 +00:00
fros4943
b730fb329d changed upload rules due to problems on linux platforms 2009-04-02 11:15:30 +00:00
nvt-se
ca617f5559 updated the documentation. 2009-04-02 10:35:08 +00:00
fros4943
188ce975ca radio logger plugin facelift: display the original packet data instead of only the converted data.
this allows viewing all bytes sent from for example sky motes, including radio/mac headers
2009-04-01 23:40:00 +00:00
fros4943
2ac3662ea8 sky motes output the new converted radio packets 2009-04-01 23:37:27 +00:00
fros4943
0a740aad63 documentation update 2009-04-01 23:35:23 +00:00
fros4943
5eddd2d095 added converted radio packet, containing both the original and the converted data 2009-04-01 23:34:45 +00:00
fros4943
e3bf2b58a6 logging connection start time 2009-04-01 23:33:05 +00:00
fros4943
3b3580e439 disabled writing IP addresses from inside COOJA, since the these should rather be determined by Contiki 2009-04-01 18:11:48 +00:00
fros4943
9b41b02de1 added another ipv6 udp test:
identical setup as the sky_ipv6_udp test, but with contiki motes (native ipv6)
2009-04-01 18:09:20 +00:00
fros4943
e4858a2ade update ip interface to supports ipv6 addresses.
also disabled writing IP addresses from inside COOJA, since the these should rather be determined by Contiki
2009-04-01 17:43:17 +00:00
fros4943
aa736322e1 removed unused uip/uaodv cooja comm stack. mesh-uip should be used instead 2009-04-01 17:17:55 +00:00
fros4943
0e732f8dba removed old uip/uaodv comm stack, added uipv6 2009-04-01 14:02:44 +00:00