Commit Graph

2492 Commits

Author SHA1 Message Date
fros4943
6ecde3e85a removed obsolete connection logger 2008-03-18 12:43:00 +00:00
fros4943
735390dd5d minor fix: power cast to double 2008-03-17 10:18:37 +00:00
fros4943
b96b3ae8c6 only using distance when calculating received signal strength for nodes closer than transmitting range 2008-03-17 10:10:17 +00:00
fros4943
3a7feb7df7 activated sky nodes, no cross level converter exists yet 2008-03-17 09:57:05 +00:00
fros4943
d464609df6 initial cc2420 wrapper interface
supports signal strength and output power (indicator)
2008-03-17 09:55:35 +00:00
fros4943
ef6ac855d9 remade msp init methods 2008-03-17 09:54:19 +00:00
fros4943
223ded4595 added output power indicator max value 2008-03-17 09:50:27 +00:00
fros4943
7cf49fb57a added output power indicator max value + remade signal strength calculation per distance 2008-03-17 09:49:44 +00:00
fros4943
660bc5e991 changed ss values + added configurable csma mac 2008-03-17 09:48:00 +00:00
fros4943
89a062aa06 automatically close mote plugins when mote is removed 2008-03-17 08:35:10 +00:00
nifi
ddcda4582e ctimer initialized by contiki-esb-main 2008-03-13 15:59:43 +00:00
nifi
3ecd955f01 energest needs to be initialized before network 2008-03-13 15:58:44 +00:00
fros4943
7fcb9554f4 added timetable aggregate reset function 2008-03-13 14:27:34 +00:00
nifi
79cb912f7c reduced memory usage, removed procinit, general cleanup of initialization, enabled watchdog 2008-03-07 17:54:22 +00:00
oliverschmidt
a500f2dd73 Removed unused variable. 2008-03-04 22:56:54 +00:00
oliverschmidt
9071007e1e For the Win32 platform build we need to define AUTOSTART_ENABLE even for the Contiki library files to be able to autostart the program handler.
Note: For this to work the program handler needs to be the first autostart enabled application in the Contiki library. As the GNU archiver guarantees to preserve the order of the object files in a library this can be accomplished by having the program handler the first item in APPS.
2008-03-04 22:55:54 +00:00
adamdunkels
e160610711 Added slip target for setting up a SLIP link 2008-03-03 20:24:23 +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
136443a387 Print out interface address 2008-03-03 20:21:59 +00:00
adamdunkels
39c85118d8 Ensure that header_module is != NULL before calling it. Define and print headers only if DEBUG is set. 2008-03-03 20:20:33 +00:00
adamdunkels
7d06f1bfe0 Added netsim output 2008-03-03 16:10:09 +00:00
oliverschmidt
c4250420ce As adding some commands to the telnet server shell doesn't seem to be desirable in the application it's now done in the gui-specific code. 2008-02-29 00:07:03 +00:00
oliverschmidt
aa7ba44fb1 Avoided compiler warning. 2008-02-28 23:59:05 +00:00
oliverschmidt
2ce444c175 Made use of shell_quit(). 2008-02-28 23:50:02 +00:00
adamdunkels
6479f001fa Added a shell_quit() function that cleanly exits the shell (currently untested though) 2008-02-28 23:29:07 +00:00
oliverschmidt
0fc8481f15 As adding some commands to the telnet server shell doesn't seem to be desirable in the application it's now done in the example. 2008-02-28 23:12:47 +00:00
oliverschmidt
2b24ec3189 The cc65 compiler has a bug that doesn't allow to initialize an automatic struct with references to automatic variables. Therefore I changed the timetable used for measuring the timestamping time from automatic to static - which wastes some bytes in the data segment. If this isn't generally acceptable then an #ifdef __CC65__ seems to be the appropriate approach. 2008-02-28 22:43:40 +00:00
oliverschmidt
20dc5ee52f Adjusted tabs. 2008-02-28 22:11:30 +00:00
oliverschmidt
8a4890c9e5 Free up unused file descriptors. 2008-02-28 21:56:47 +00:00
oliverschmidt
368d389970 Free up unused file descriptors. 2008-02-28 21:36:37 +00:00
oliverschmidt
edbae75705 Stick to CC_INLINE. 2008-02-28 21:25:34 +00:00
nvt-se
1d3bae48dd added sd card support. 2008-02-28 15:49:01 +00:00
nvt-se
2cc0135e35 cleaned up and fixed an error checking problem in the locking code. 2008-02-28 15:11:22 +00:00
fros4943
cefaa38581 -debugging output 2008-02-27 10:39:17 +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
a0c833da11 Mistakenly included development code in the Makefile target 2008-02-25 13:22:34 +00:00
thiemovoigt
f464ae3cc4 update to conform to newer Contiki, in particular set_channel stuff 2008-02-25 12:04:41 +00:00
thiemovoigt
b79cb25ccd update to conform to newer Contiki, i.e. set_channel for radio 2008-02-25 12:03:25 +00:00
adamdunkels
d0c80b9210 Removed inclusion of old Chameleon Makefile 2008-02-25 11:57:55 +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
39abed8672 Moved old CC2420 driver to the backyard 2008-02-24 22:29:08 +00:00
adamdunkels
8f6d2d6c3f Added simple-cc2420 include, added argument to mac->off() 2008-02-24 22:27:41 +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
ad2a8e5e97 Changed all occurences of u8_t and u16_t to uint8_t and uint16_t 2008-02-24 22:15:46 +00:00
adamdunkels
974870359a Changed all occurences of u8_t and u16_t to uint8_t and uint16_t 2008-02-24 22:10:30 +00:00
adamdunkels
d99ca27820 Changed all occurences of u8_t and u16_t to uint8_t and uint16_t 2008-02-24 22:05:27 +00:00
adamdunkels
17f13e38e8 TCP/IP-networking examples for the Tmote Sky platform 2008-02-24 21:33:57 +00:00
adamdunkels
57f2dfa743 Decrease TTL for forwarded packets 2008-02-24 21:14:25 +00:00
adamdunkels
3106840c56 Code style fixes 2008-02-24 21:13:36 +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