Commit graph

9557 commits

Author SHA1 Message Date
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
fros4943 2e156afe2a bugfix: cfs_open must get aquire permissions 2009-03-26 12:22:52 +00:00
nvt-se 25cc327acc avoid hanging in TX mode after CCA check failed.
minor memory savings.
2009-03-25 15:25:05 +00:00
adamdunkels ebbae099ce A program that displays the number of neighbors on the JCreate LEDs 2009-03-24 19:45:46 +00:00
adamdunkels 9fd33a1211 Improved list example 2009-03-24 17:46:17 +00:00
joxe d9e1e9d037 updated with latest mspsim version 2009-03-24 16:31:17 +00:00
fros4943 6ab2b74258 bugfix: made classes public 2009-03-24 16:07:44 +00:00
fros4943 c377c9150f removed visualizer example project 2009-03-24 15:50:54 +00:00
fros4943 5abbb3e9c2 config update: visualizers 2009-03-24 15:49:35 +00:00
fros4943 2f25d6fbe5 backwards compatibility: visualizer plugins were removed 2009-03-24 15:47:10 +00:00
fros4943 ce32a5b0b0 register radio medium skin 2009-03-24 15:46:46 +00:00
fros4943 b949a036f2 a few simple visualizer skins 2009-03-24 15:46:29 +00:00
fros4943 b7840178a1 new visualizer plugin with skin support 2009-03-24 15:46:18 +00:00
fros4943 5c38c82608 removing old visualizer plugins.
(replaced by a generic visualizer with skin support)
2009-03-24 15:44:25 +00:00
nvt-se 96fbf3b853 use old style C comments.
convert printf to PRINTF.
remove unnecessary MS_DELAY calls from setupTX and setupRX.
2009-03-24 15:32:26 +00:00
nvt-se 15c447e57e remove some unnecessary instructions and function calls. patch from Jesper Karlsson. 2009-03-24 15:13:11 +00:00
nvt-se 143c7f9cea switched from serial to serial_line. patch from Jesper Karlsson. 2009-03-24 15:02:03 +00:00