Commit graph

4797 commits

Author SHA1 Message Date
nvt-se f9b35795c7 minor refactoring. 2009-05-14 12:18:49 +00:00
nvt-se b0a8154e96 make it possible to accumulate CRC values through crc16_data. 2009-05-14 12:05:04 +00:00
nvt-se 2978270e43 decreased the code size to less than 5000 bytes. (msp430 code)
improved clarity in read and write code.
added negative offset check in cfs_seek().
removed unnecessary multiplication.
2009-05-13 13:27:19 +00:00
adamdunkels bc6c9410cc Print out the gateway's IP address more prominently 2009-05-12 17:32:49 +00:00
adamdunkels 8bfb856220 Enable NAT on both tap0 and tun0, and set the outgoing interface to eth10 which seems to be the default on instant-contiki 2009-05-12 17:24:04 +00:00
adamdunkels 00890caca8 Make sure that symbols.c is included in every native cpu build, not just the native target 2009-05-12 17:23:23 +00:00
nvt-se 79b7cab36e the third read parameter must be checked for existence.
updated the documentation to cover the third parameter.
2009-05-12 14:22:58 +00:00
adamdunkels 7bd7cd64b3 Rewrote the webserver so that sensor data is loaded using Ajax-style XmlHttpRequest and that a spinner icon is shown when the data is loaded 2009-05-11 17:38:29 +00:00
adamdunkels e6d2fada05 Added the tweet command 2009-05-11 17:37:15 +00:00
adamdunkels d1b97feb88 Added a telnet server with Twitter commands 2009-05-11 17:36:13 +00:00
adamdunkels fd6dd95b9b Removed unused include serial-shell.h 2009-05-11 17:31:13 +00:00
adamdunkels 2c6c665309 New Twitter tweet commands added 2009-05-11 17:11:56 +00:00
adamdunkels 6808bb387b A shell command for posting a #sensortweet message to Twitter 2009-05-11 17:11:37 +00:00
adamdunkels 3bb946fa51 A shell command for posting arbitrary messages to Twitter 2009-05-11 17:10:55 +00:00
adamdunkels a3101e14de Contiki program that posts messages to the Twitter microblogging service 2009-05-11 16:57:49 +00:00
nvt-se 995e788d73 Fixed append->modify->append bug.
Approximately doubled the speed of file reservations.

Reduced the compiled code size by about 100 bytes by removing redundant code.
2009-05-11 16:35:49 +00:00
nvt-se 74e9bc8789 Added flash reads and writes to energest. 2009-05-11 15:26:24 +00:00
adamdunkels 4855d0325c Small script for setting up NAT on Ubuntu (probably works on other linuxen too) 2009-05-11 07:01:54 +00:00
adamdunkels 900480959b Increased the default number of queue buffers: there usually is plenty of RAM left, so we should be able to afford it 2009-05-10 21:15:16 +00:00
adamdunkels 5308a09dd3 Added debug output 2009-05-10 21:10:23 +00:00
adamdunkels 02734c9806 Bugfix: must copy the sender and receiver addresses from the packetbuf buffer, otherwise an application program may overwrite them 2009-05-10 21:10:02 +00:00
adamdunkels fe5a1f1068 Added an optimization option that avoids multiple simultaneous broadcasts from neighbors: when a broadcast is to be sent, a sender does not send until it knows that no other nodes are broadcasting. 2009-05-10 21:09:05 +00:00
adamdunkels fe30886b37 Added functionality for decaying routes: when a packet is sent over a route, it is decayed. If the route is not refreshed within four packets (with the route_refresh() function, which is called when a new packet arrives), the route is dropped. A route can be decayed at most once per second 2009-05-10 21:08:01 +00:00
adamdunkels a220da3e88 Added new shell commands 2009-05-10 21:05:06 +00:00
adamdunkels f6dbf82e05 Added two commands: unicast-send and unicast-recv that can be used to send unicast data 2009-05-10 21:04:40 +00:00
adamdunkels 904bb1487c Broke out the 'neighbor' command functionality from the shell-rime.c file; reimplemented it to use the announcemnet primitive instead 2009-05-10 21:04:06 +00:00
adamdunkels 8458a4fe28 Added a 'netstat' command that (currently) shows active TCP connections 2009-05-10 21:02:24 +00:00
joxe 6a7bc4c3a5 added mcu-chip temperature to accelerometer sensor - value 3 2009-05-08 16:03:50 +00:00
joxe 890eb830e8 ipv6 bridge between 802.15.4 and ethernet - over USB/SLIP - use with sliptap6 2009-05-08 12:49:36 +00:00
joxe 8e08bc085c added tapslip6 for ipv6 connectivity over USB/SLIP/ethernet - use together with uip6-bridge 2009-05-08 12:37:34 +00:00
adamdunkels 6bf8e0b478 Bugfix by Takahide Matsutsuka: too few items in array, which caused problems with sdcc 2009-05-08 08:52:55 +00:00
zhitao 48d4800f08 removed reference to undefined function in mspgcc 2009-05-06 15:34:28 +00:00
adamdunkels c330b23c57 Minor documentation addition 2009-05-06 15:07:35 +00:00
adamdunkels 1d921ddf42 Explicit typecast to avoid compiler problems 2009-05-06 15:07:09 +00:00
adamdunkels 0adceb63b4 Code cleanup; made encounter optimization explicit; added optimization for adaptive off-time, but it currently seems to work bad with broadcasts 2009-05-06 15:06:38 +00:00
adamdunkels 9fff85757d Code cleanup; made strobe transmission time longer again (seems to work better in cooja?) 2009-05-06 15:05:28 +00:00
adamdunkels a671ea1146 Documentation fix 2009-05-06 15:04:20 +00:00
adamdunkels 381beac299 Code style fixes 2009-05-06 15:03:49 +00:00
adamdunkels 53a0c0a300 Draw 0-width radio events as one pixels wide to show all transmissions 2009-05-06 15:00:06 +00:00
fros4943 0f57afa2b3 bugfix: the preamble and synchbytes was shown instead of the payload (including 2 footer bytes) 2009-05-06 12:59:12 +00:00
zhitao 58940ecbf8 minor documentation fixes 2009-05-06 08:37:48 +00:00
nvt-se 55ec3093ec removed complicated and mostly unused EOF hint code. 2009-05-04 22:30:32 +00:00
nvt-se 8e52b1bcfd made the documentation more clear. 2009-05-04 22:29:48 +00:00
nvt-se 3eac697f85 fixed a compiler warning by providing an int type of the argument to
printf, as specified by the format.
2009-05-04 22:09:52 +00:00
fros4943 18b2392e48 minor fix: avoid repaint flicker by directly setting scroll coordinate 2009-05-04 16:03:35 +00:00
fros4943 ad2c952810 new cooja timeline plugin.
still experimental and under development, therefore not yet enabled by default
2009-05-04 15:38:35 +00:00
fros4943 8fc7bc10cd bugfix: make sure destination has not already been removed from connection 2009-05-04 15:34:28 +00:00
fros4943 316f154c1f notify when radio HW is turned on/off 2009-05-04 15:34:00 +00:00
adamdunkels 1752b53f74 Refresh routes when a packet is received. Set a conservatively low route timeout (10 seconds). 2009-05-04 11:24:04 +00:00
adamdunkels c83c5c4c55 Removed automatic refresh of routes from the route_lookup() function and moved it into an explicit route_refresh() function. The previous behaviour was dangerous, since it meant that even bad routes that someone was looking for were considered fresh. Now such routes time out if they are not explictily refreshed (e.g., on a packet reception) 2009-05-04 11:23:30 +00:00