Commit graph

2555 commits

Author SHA1 Message Date
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
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 3c1b0f4e65 Debug output slightly improved 2008-02-24 21:09:08 +00:00
adamdunkels 16c715aade Updated collect_open() definiton to match prototype declaration 2008-02-24 21:08:37 +00:00
adamdunkels be1dd57cb3 Stopping watchdog before sending packets to allow for wait times longer than 1 second. Reduced default on time to 5 ms. Added option for turning off X-MAC but keeping the radio turned on. 2008-02-24 21:07:28 +00:00
adamdunkels 32a3fa5d4a Added parameter to the mac off() method that specifies whether or not the radio should be turned off when the MAC layer is turned off 2008-02-24 21:05:28 +00:00
adamdunkels 436d1f25eb Added a configuration option for using u32 in the uip_ip4addr_t structure: UIP_CONF_UIP_IP4ADDR_T_WITH_U32 2008-02-24 21:04:15 +00:00
adamdunkels 8c782de931 Ensure that no more data than can be held by the buffer is sent with uip_send() 2008-02-24 21:03:24 +00:00
adamdunkels 49bc31236e Improved debug output 2008-02-24 21:02:09 +00:00
adamdunkels af48b648ee Added a function that gets called when we see SLIP input. This function can be used to determine if a node is a SLIP gateway or not. 2008-02-24 21:00:53 +00:00
adamdunkels 8906441004 Changed all sprintf() calls to snprintf() to make it useful for systems with very low buffer size 2008-02-24 20:59:51 +00:00
adamdunkels bd04cc1a32 Added command for turning the MAC protocol on or off 2008-02-24 20:58:35 +00:00
adamdunkels 814558b1fe Rewrote the telnet server to buffer the output in a single, large buffer rather than as individual lines. This both makes output faster and makes it possible to buffer more outgoing data. 2008-02-24 20:43:28 +00:00
adamdunkels 10692296a1 Specify that the telnet server uses the shell application 2008-02-24 20:38:57 +00:00
adamdunkels 9c51d8ef1b Added a shell_start() function that prints out the shell prompt and a small helpful message 2008-02-24 20:35:03 +00:00
adamdunkels 33c2116f6a Better looking senseconv output 2008-02-24 20:34:05 +00:00
adamdunkels 42f52947e0 Made ping output nicer, made rtt measurement work without timesynch too 2008-02-24 20:33:38 +00:00
fros4943 2c5e167b20 added method for checking if radio is on/off. the method is currently only used by contikradio:s.
changed UDGM coloring:
dead/non-existing radios are black.
turned off radios are gray.
2008-02-23 10:10:42 +00:00
oliverschmidt f5e7da082c Replaced '404.html' with 'notfound.html' as '404.html' is no valid filename for the Apple2 disk operating system ProDOS 8. 2008-02-21 09:25:54 +00:00
fros4943 f577b17ab3 added predefined obstacles (no need for external images) 2008-02-18 08:21:59 +00:00
fros4943 3675479274 added access control when applet 2008-02-18 08:18:01 +00:00
oliverschmidt d74fd06536 Now that process initialization has been changed (back) to synchronous it needs to be called after reading the config file and setting the mouse sprite in order to preserve the existing logic. 2008-02-17 14:12:52 +00:00
oliverschmidt 93789de9dd Now that process initialization has been changed (back) to synchronous it needs to be called after reading the config file in order to preserve the existing logic. 2008-02-17 14:11:48 +00:00
oliverschmidt f74e918f00 Adjusted process display cgi to recent change in process states. 2008-02-17 13:59:22 +00:00
oliverschmidt a7e73d030a Added naive snprintf support. 2008-02-16 08:56:29 +00:00
oliverschmidt 2add546d00 Improve consistency if WITH_LOADER_ARCH is 0. 2008-02-15 17:31:44 +00:00
oliverschmidt 8f81934bfd Since revision 1.11 the usage of the label 'ip_send_nolen' isn't solely depending on UIP_UDP anymore. 2008-02-15 17:12:46 +00:00
oliverschmidt df441f50a3 Replaced (now obsolete) PROCESS_LOADABLE with AUTOSTART_ENABLE. 2008-02-15 16:51:06 +00:00
fros4943 be4ea6bd91 updated since GUI.frame was removed
+ added predefined obstacles (no images needed)
2008-02-15 13:20:22 +00:00
nvt-se a06b85f74b adjusted uIP parameters. 2008-02-13 15:41:04 +00:00
fros4943 d42ed7d5da fixed some javadoc warnings 2008-02-12 15:31:22 +00:00
fros4943 930ec5d63a changed to application modal dialogs instead of toolkit modal 2008-02-12 15:25:41 +00:00
fros4943 3b2a19c1ae isVisualized handling both visualized in frame and in applet. 2008-02-12 15:20:56 +00:00
fros4943 fe11ea6c8f added cooja applet target 2008-02-12 15:17:50 +00:00
fros4943 8d82edfe81 cooja applet files 2008-02-12 15:17:00 +00:00
fros4943 f1721cad53 removed public static JFrame frame variable. components should instead access the top parent container via getTopParentContainer() 2008-02-12 15:12:38 +00:00
fros4943 773736a6ca 432 2008-02-12 15:03:22 +00:00
fros4943 6c8151b449 removed public static JFrame frame variable. components should instead access the top parent container via getTopParentContainer() 2008-02-12 15:03:02 +00:00