Commit Graph

3780 Commits

Author SHA1 Message Date
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
fros4943
def81a5d02 remember last source file 2009-04-01 14:01:45 +00:00
fros4943
fe1f594d73 activated communication stack selection for contiki mote types 2009-04-01 14:00:00 +00:00
fros4943
5ed4a247f7 highlight all destination motes when clicked 2009-04-01 13:53:37 +00:00
fros4943
e0eaeb0d8b bugfix: no visualizer may be selected when simulation is reloaded 2009-04-01 13:51:50 +00:00
fros4943
3665422d8d simplified cooja communication stacks initialization + added uipv6 stack 2009-04-01 13:50:12 +00:00
fros4943
6a99a82516 copied uipv6 configuration from native platform 2009-04-01 13:46:56 +00:00
fros4943
1c031504e5 no need to initialize serial line 2009-04-01 13:46:16 +00:00
fros4943
892bfb5678 moved radio-uip link functionality directly to comm stack sources 2009-04-01 13:45:41 +00:00
fros4943
eddd8350c5 renamed radio driver 2009-04-01 13:44:34 +00:00
fros4943
afed9bb2d0 icnlude packet radio by default 2009-04-01 13:39:54 +00:00
fros4943
1536c83f2f added serial line init 2009-04-01 13:38:14 +00:00
adamdunkels
04101aae36 Fixed alignment problem on the MSP430, where the LPP header may be misaligned 2009-03-31 17:39:54 +00:00
adamdunkels
dc8338d248 Fixed alignment problem on the MSP430, where the ping message may be misaligned 2009-03-31 17:39:36 +00:00
nvt-se
e2cc8b2a3e send all queued packet once we have the chance. 2009-03-31 14:44:13 +00:00
nvt-se
1d47e2a8da send immediate probes only if the packet is directed to us.
sleep for OFF_TIME if the queue is empty.

restrict double packet lifetime timeouts to unicast packets.

stop ctimer in remove_queued_packet in case the function is not called
via the ctimer callback. it could overwrite a valid packet otherwise.
2009-03-31 14:11:25 +00:00
nifi
c6b15c289e * show radio channel at startup
* only initialize timesynch when timesynch is enabled
2009-03-31 13:25:50 +00:00
nvt-se
dd082f7fcf improvements to lpp based on code from Adam and discussions with Thiemo.
* queue multiple packets
* send a strobe back immediately after receiving a data packet
* double the packet lifetime to allow for a missed probe
2009-03-31 12:47:00 +00:00
nvt-se
e90149b7b4 avoid switching mode when tx or rx is active.
based on suggestions from Frederik Hermans and some code from Jesper Karlsson.
2009-03-30 14:07:34 +00:00
fros4943
13b6fe2cd5 added experimental packet counters 2009-03-26 16:24:31 +00:00
fros4943
5f1fda0406 removed unused variables + writing serial data in timeevent 2009-03-26 16:23:47 +00:00
fros4943
dda6de8438 + clock stub functions 2009-03-26 16:22:36 +00:00
nvt-se
6a6bb53f2e merged files must always inherit the old file end. 2009-03-26 15:57:52 +00:00
nvt-se
04ccf215e4 dereference gc_wait 2009-03-26 15:45:55 +00:00
fros4943
bc26f42992 make sure components are initialized at tick event 2009-03-26 15:41:59 +00:00
fros4943
1cc78b180f highlight several motes at the same time 2009-03-26 15:41:04 +00:00
fros4943
d7dda45a96 recompile at ctrl+r 2009-03-26 15:40:37 +00:00
fros4943
75673d18f5 minor fix: process argument also working on linux 2009-03-26 14:15:10 +00:00
fros4943
ac22ad5081 changed the Makefile rules for uploading to sky-nodes.
the earlier approach caused problems sometimes, resulting in command succeeding without all nodes being reprogrammed
2009-03-26 13:29:44 +00:00