adamdunkels
440899e4cb
Seed rand() with the node ID + MAC address
2009-02-07 16:49:36 +00:00
adamdunkels
5cf0c25ca6
A few more minor fixes
2009-02-04 20:58:05 +00:00
adamdunkels
96882c402a
Fixed conformance to Contiki code style :)
2009-02-04 20:55:41 +00:00
joxe
9689a579be
added DCO/CPU speed re-synch each 30 seconds
2009-02-04 19:32:20 +00:00
fros4943
c16921f108
checkpointing library implemented for the sky platform (cfs interface is currently not optimized)
2009-02-04 17:51:49 +00:00
joxe
e5f0d786a8
fixed sky platform to use the new uart1_active api to avoid messing up last chars transmitted
2009-01-31 12:45:03 +00:00
fros4943
603740b13b
removed compiler warning by returning 0 at undefined value
2009-01-23 17:08:17 +00:00
fros4943
ebcaf8eec8
removed compilation warning due to unused is_gateway variable (outside uIP mode)
2009-01-19 13:44:04 +00:00
adamdunkels
e70b45c102
Updated to make use of the tmote-bsl instead of msp430-bsl (needed for the Sentilla JCreate) if it exists
2009-01-15 22:12:46 +00:00
adamdunkels
29fe3d8741
Added acc-sensor.c, dDriver for the acceleromenter sensors on the Sentilla JCreate board
2009-01-15 21:07:03 +00:00
adamdunkels
9f0006fde0
Driver for the acceleromenter sensors on the JCreate board
2009-01-15 21:06:02 +00:00
fros4943
5f3c1a0e12
elfloader executing loaded programs from ram (not rom) by default on msp430 platforms.
2009-01-15 09:04:04 +00:00
joxe
55280131fc
added printout of MAC protocol name
2008-11-24 14:31:08 +00:00
fros4943
720357bc60
added log_message() implementation
2008-11-21 10:35:46 +00:00
adamdunkels
83155d48f9
Moved the network gateway logic to the uip-over-mesh module.
2008-11-09 12:22:04 +00:00
nvt-se
0c4f7bed8f
temporary fix to get sicslowpan.c working on the Sky platform:
...
conventional MAC implementations require a call to the MAC driver's
read function.
2008-11-06 20:45:06 +00:00
nvt-se
21e4b4be80
map rime address to mac address for ipv6
2008-11-06 15:14:24 +00:00
nvt-se
c5d9795f92
added initialization for uip6
2008-11-05 15:34:04 +00:00
nvt-se
d1d09ea1fd
added IPV6 configuration.
2008-11-05 14:31:06 +00:00
nvt-se
aff141f56e
reduced default sizes
2008-10-09 14:56:53 +00:00
nvt-se
10639bc982
use abstract types for offsets and pages so that we can easily port it to
...
very large or small memories.
2008-10-03 19:27:28 +00:00
joxe
1a1ddd0bd5
removed energest-arch from sky and esb platforms
2008-09-29 12:38:18 +00:00
joxe
5b1c229754
fixed battery sensor for sky platform
2008-09-18 21:29:06 +00:00
joxe
5d860b1df2
changed sleep to go into LPM3
2008-09-18 17:58:21 +00:00
joxe
8aa8e26c54
removed redundant sensor initialization, added comment
2008-09-14 20:47:30 +00:00
nvt-se
2b68f88e77
moved platform independent definitions
2008-07-11 21:39:26 +00:00
nvt-se
e8a85b3726
moved platform independent code to the right place
2008-07-11 21:35:10 +00:00
adamdunkels
8e5d255b5b
Moved initialization of the SHT11 until after other initialization: this seems to fix a bug where the SHT11 temperature and humidity values started varying wildly.
2008-07-08 08:23:24 +00:00
adamdunkels
84e4bf7a15
Changed order of initialization to make light sensors work again: a previous change to irq.c seems to have conflicted with light sensor initialization
2008-07-07 23:44:58 +00:00
adamdunkels
64b6663b11
moved energest from lib/ to sys/
2008-07-03 23:59:20 +00:00
adamdunkels
51f4ab8b2c
Changed type from off_t (that potentially conflicts with existing types.h typedefs) to unsigned long
2008-07-03 23:12:10 +00:00
adamdunkels
28331191b3
Changed name of simple-cc2420 to cc2420
2008-07-02 09:38:06 +00:00
adamdunkels
66876625d4
Changed name of the simple-cc2420 module to cc2420: changed all function names and variable names from simple_cc2420_* to cc2420_*.
2008-07-02 09:05:40 +00:00
adamdunkels
dafa1d89a2
Added cc2420-aes.c (functions for interfacing the build-in AES support of the CC2420)
2008-07-02 08:47:05 +00:00
adamdunkels
1586d8f36f
Changed filename of the CC2420 driver from simple-cc2420 to cc2420.
2008-07-01 21:02:51 +00:00
adamdunkels
d134a1fcb1
Moved sky-specific make targets from the tools/sky/Makefile to the more natural platform/sky/Makefile.sky. Added a number of convenient targets for accessing the serial port.
2008-05-29 20:15:49 +00:00
adamdunkels
1263eb8455
Moved old unused files to backyard
2008-05-27 13:16:34 +00:00
adamdunkels
8b4179cf45
Moved ctimer_init() so that MAC protocols can use ctimers in their initialization code
2008-05-19 12:07:49 +00:00
adamdunkels
31ea41d8db
Changed the name of UIP_CONF_TCP_FORWARD to UIP_CONF_IP_FORWARD since forwarding is done at the IP level
2008-05-14 19:19:28 +00:00
nvt-se
776f377a69
Configuration for the Sky platform.
2008-04-28 10:34:33 +00:00
adamdunkels
c38d43c387
Change order of initialization so that Rime is initialized before uIP-over-Rime. Send out a new gateway command if a spurious (erroneous) gateway command is received. (Note for the future: this will cause a ping-pong problem with two correct gateways in the network; need to come up with a better solution for this.)
2008-03-03 20:23:53 +00:00
fros4943
3b5fa2d8e5
added 5 second delay before actually burning the node id (may otherwise cause problems with the .upload script)
2008-02-25 16:34:56 +00:00
adamdunkels
412facb831
This is an initial commit of an implementation of the Chameleon
...
architecture for the Rime stack for Contiki. The Chameleon
architecture separates the header processing from the Rime protocol
logic. Instead of having each protocol create its own part of the
packet header, protocols use packet attributes. Before sending a
packet, a special Chameleon header processing module creates a packet
header from the packet attributes. The same Chameleon module parses
incoming packets and creates packet attributes from the header.
The details are in our SenSys 2007 paper:
Adam Dunkels, Fredrik Osterlind, Zhitao He. An Adaptive Communication
Architecture for Wireless Sensor Networks. In Proceedings of the Fifth
ACM Conference on Networked Embedded Sensor Systems (SenSys 2007),
Sydney, Australia, November 2007.
http://www.sics.se/~adam/dunkels07adaptive.pdf
This is a rewrite of the code that was developed for the paper.
2008-02-25 02:14:34 +00:00
adamdunkels
9c57e5e272
Moved old Makefile (non-working) from platform/sky to backyard/platform/sky
2008-02-24 22:22:17 +00:00
adamdunkels
307fc41646
Detect if node is attached to a SLIP line to set node to become the network's gateway
2008-02-24 21:13:03 +00:00
adamdunkels
5bcd0ab60b
Reduced uIP buffer size to allow for TCP data over Rime mesh routing protocol
2008-02-24 21:11:35 +00:00
adamdunkels
6740d95bfa
Initialize serial line with 115200 bps for SLIP
2008-02-11 10:44:12 +00:00
adamdunkels
fbcf9b6fcf
Disable watchdog while burning node ID
2008-02-11 10:43:47 +00:00
adamdunkels
8058a49d21
Code style fix
2008-02-11 10:43:31 +00:00
adamdunkels
cb6bc45350
Added code for routing IP packets over low-power radios using the Rime mesh module
2008-02-03 21:03:19 +00:00