Commit Graph

43 Commits

Author SHA1 Message Date
fros4943
ebcaf8eec8 removed compilation warning due to unused is_gateway variable (outside uIP mode) 2009-01-19 13:44: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
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
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
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
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
1586d8f36f Changed filename of the CC2420 driver from simple-cc2420 to cc2420. 2008-07-01 21:02:51 +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
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
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
6740d95bfa Initialize serial line with 115200 bps for SLIP 2008-02-11 10:44:12 +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
adamdunkels
c2ef303c24 Updated for the new simple_cc2420 API 2008-01-23 14:58:01 +00:00
adamdunkels
685de41feb Fixed buggy build 2008-01-19 06:57:44 +00:00
adamdunkels
34bd11905c Rewrote the timesynch code to use the Rime sniffer interface instead of the kludge of running timesynch as a MAC layer 2008-01-14 14:50:01 +00:00
adamdunkels
02ee418313 Moving timesynch.[ch] from sys/ to core/net/rime as they have more to do with Rime than with the kernel 2008-01-14 14:22:16 +00:00
adamdunkels
f935be10c9 Added initalization of the serial library. Changed LPM3 to LPM2 since the current serial driver does not work with LPM3 yet (we need to add start edge detection interrupt support to fix that). 2008-01-08 08:21:03 +00:00
adamdunkels
381f5dc4cc Initialize Rime address from hardware MAC address if no node ID has been configured. Be more explicit on how Rime address is assigned from node ID. Set time synch authority level from Rime address rather than node ID. Fix bug that put CPU in LPM2 instead of LPM3. 2007-12-17 12:35:23 +00:00
adamdunkels
d13648292e Added initialization of the time synchronization module 2007-12-16 15:03:35 +00:00
adamdunkels
be300d6765 Removed inclusion of unused file cxmac.h 2007-11-28 23:28:35 +00:00
adamdunkels
40d9045a2d Moved energy estimation initialization before starting processes so that processes may turn things on and off without messing up the energy estimates 2007-11-28 14:45:22 +00:00
nifi
d16836d9bb changed to show Contiki version, node id, and autostarted processes at startup 2007-11-21 16:41:44 +00:00
adamdunkels
ff45f9d2c4 Added watchdog support 2007-11-17 10:29:33 +00:00
adamdunkels
d5430dc4dc Added better boot-up behaviour of the LEDs - they can now be used to determine where in the boot sequence the node hangs (if it hangs) 2007-11-10 20:44:30 +00:00
adamdunkels
d2f90802de Compile profiling support only if PROFILE_CONF_ON is defined 2007-10-25 10:21:48 +00:00
adamdunkels
910c9ea161 Added profiling support, made rime/mac initialization nicer 2007-10-23 21:29:40 +00:00
nvt-se
406cc6d5a8 Set channel to RF_CHANNEL after simple_cc2420_init.
Otherwise the init function would reset the channel to 11.
2007-10-12 12:47:32 +00:00
adamdunkels
be2a7e954c Added initialization of MAC and Rime 2007-05-25 08:08:36 +00:00
adamdunkels
8811fe23fd Added sht11, energy estimation, xmac, diabled uIP (for now) 2007-05-22 21:13:26 +00:00
oliverschmidt
d4528e427f Changed Contiki File System (cfs) from a service to a plain library.
This change means that one needs to select _ONE_ cfs implementation at Contiki library link time. But this doesn't appear to be an issue as all platforms have their "favorite" implementation anyway.
2007-05-19 21:16:08 +00:00
adamdunkels
04a5405540 Added initialization of rtimers 2007-04-03 19:04:50 +00:00
adamdunkels
ea33b82b1a Set Rime address on boot up, activate button sensor 2007-03-25 17:21:49 +00:00
nifi
84413ddc99 restore of node id + changed to use cfs xmem (external flash) 2007-03-23 16:05:47 +00:00
adamdunkels
3950632b20 Removed non-functional cfs-xmem, replaced with cfs-ram 2007-03-23 00:00:29 +00:00
adamdunkels
630ec03ba1 Added IP/SLIP support 2007-03-22 19:04:43 +00:00
adamdunkels
67f08c398e Added CFS xmem 2007-03-21 23:26:34 +00:00
adamdunkels
cccd13ca75 Files for incorporating the Tmote Sky port into the Contiki build system 2007-03-15 21:44:28 +00:00