Commit graph

7923 commits

Author SHA1 Message Date
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
Mariano Alvira 5fc1a9f224 baudrate mystery was my bad code. 2009-03-30 16:11:08 -04:00
Mariano Alvira 880c75d989 working test loopback. Baudrate value is still unexplained. 2009-03-30 15:52:15 -04:00
Mariano Alvira ffcae0d070 looks like the bootload needs a character delay to work reliably ---
harcoded 1ms delay.
2009-03-30 15:48:11 -04:00
Mariano Alvira 952b9b5b7e comment noting what I set mod and inc to. 2009-03-30 14:09:29 -04:00
Mariano Alvira 09e99ba429 this works, but there are unexplained things like why it can't print
the whole message, why I can't enable RX, and why the baud number is
what it is.
2009-03-30 14:07:42 -04: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
Mariano Alvira b77fb10e63 multiple tests work now.
added blink code for all the leds.
2009-03-30 10:01:14 -04:00
Mariano Alvira 583e00d2d9 checkpoint... working on multiple test objects. 2009-03-29 09:42:20 -04:00
Mariano Alvira 3d10558496 changed name over to test-blink.c
removed hardcoded source name from the linker script
2009-03-29 09:35:10 -04:00
Mariano Alvira 668ab46fa2 new makefile should let me have multiple targets 2009-03-29 09:28:29 -04:00
Mariano Alvira 77b920ffaa initial commit.
includes test code that toggles pin 26 and a perl script that loads
the code over UART1.
2009-03-27 16:00:10 -04: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
fros4943 a034df48cf new test for shell command 'exec' and the Contiki elfloader:
Tests Contiki ELF loader and shell command 'exec': Hello-world is compiled as a Contiki executable (.ce) and is uploaded to the single Sky node via serial port (base64 encoded). The node then loads and starts the uploaded hello-world application. Test succeeds when the 'Hello, World' output appears
2009-03-26 12:51:56 +00:00
nvt-se 04bd414e1c enabled LPP by default. 2009-03-26 12:51:55 +00:00
nvt-se d8caaca289 listen time and off time parameters configurable from outside because cc1020 needs longer listen time. 2009-03-26 12:50:57 +00:00
nvt-se 90b9b9bae3 configure LPP parameters with slightly longer listen time since the CC1020
driver switches from TX mode to RX mode rather slowly.

decreased CCA check timeout.
2009-03-26 12:47:12 +00:00
fros4943 4706ddf023 exec shell command and elfloader example 2009-03-26 12:46:19 +00:00
nvt-se 8785bee644 avoid repetitive garbage collection if no files have been deleted since
the last try.
2009-03-26 12:36:10 +00:00
fros4943 a9f0729f2c forcing 16-bit aligned data memory 2009-03-26 12:25:05 +00:00