Commit graph

2424 commits

Author SHA1 Message Date
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
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