Commit graph

3597 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
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
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
adamdunkels ecb7641ca7 from address is const 2009-03-24 14:44:42 +00:00
adamdunkels 759ecbd73c Added example-multihop.c 2009-03-24 14:09:38 +00:00
adamdunkels cb4684d720 Bumped version number to 2.2.3 2009-03-24 14:09:22 +00:00
adamdunkels 73fdf05940 Added const to constant parameters (rime addresses) 2009-03-24 07:15:04 +00:00
adamdunkels a625d80259 Added explicit typecast to buffer definition 2009-03-24 07:14:12 +00:00
adamdunkels ec1677ca6c Added a function (quick hack) that sets the radio transmission power of outgoing announcement packets in xmac 2009-03-23 21:06:26 +00:00
adamdunkels 1cbc0f4ea9 Send announcement packets only if there are any announcements to send 2009-03-23 21:00:25 +00:00
adamdunkels f4b8680174 Defined the packetbuf buffer so that it is always aligned on a 16-bit boundary. 2009-03-23 19:37:45 +00:00
adamdunkels d0b969ec5a Rewrote the multihop example to better show how to use the multihop layer. Now also shows how to use the memb, list, and annoncement mechanisms. 2009-03-23 18:10:09 +00:00
adamdunkels 39af9b361d Fixed minor bug in comment 2009-03-23 16:39:09 +00:00