Commit graph

7295 commits

Author SHA1 Message Date
nvt-se 2b1053f0e3 shorten file size function by using the new CFS_SEEK_END. 2009-05-15 23:04:15 +00:00
nvt-se bcc5084564 removed delay because while loop waits until completion anyway. 2009-05-15 13:54:08 +00:00
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
Mariano Alvira 2f5b4db582 Merge branch 'master' of git://git.devl.org/git/malvira/mc1322x-tests 2009-05-13 14:16:23 -04:00
Mariano Alvira babc6a48fc longer delay when flashing seems necessary. 2009-05-13 14:15:54 -04: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
Mariano Alvira d8a8d529bc Sleep works now. Make sure to turn the radio off first. 2009-05-12 17:19:57 -04: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
Mariano Alvira fa91eed2a1 added crm.h from contiki 2009-05-11 17:58:21 -04:00
Mariano Alvira 13656da889 corrected comments about ram retention 2009-05-11 17:26:10 -04:00
Mariano Alvira 5dbd9aa02f added a few comments 2009-05-11 17:03:20 -04:00
Mariano Alvira 4ca63b9b86 this test demonstrates sleeping in both hibernate and doze.
wake up is controlled with the wake up timer.

read the comments for current measurments.
2009-05-11 17:01:31 -04:00
Mariano Alvira bc59b04bbf sleep tests. 2009-05-11 15:52:30 -04: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
Mariano Alvira ebee1f67d7 add radio_on and radio_off. 2009-05-11 12:01:15 -04: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
Mariano Alvira 05bd6c897c Merge branch 'untested' 2009-05-09 16:41:23 -04:00
Mariano Alvira ad1927f2c8 send aux string only when there is one to send 2009-05-09 16:40:43 -04:00
Mariano Alvira 49543941e1 Merge branch 'untested' of ssh://git.devl.org/home/malvira/git-pub/mc1322x-tests into untested 2009-05-09 16:40:11 -04:00
Mariano Alvira 29d8cc6035 only send the aux string if there is one to send 2009-05-09 16:39:42 -04:00
Mariano Alvira 53de76fb60 Merge branch 'untested'
Conflicts:

	mc1322x-load.pl
2009-05-09 16:38:37 -04:00
Mariano Alvira cab6fdfbb2 Merge branch 'untested' of git://git.devl.org/git/malvira/mc1322x-tests into untested 2009-05-09 15:48:40 -04:00
Mariano Alvira cb4dd0d23e reverting this file back to dumping the calibration section. 2009-05-09 15:48:02 -04:00
Mariano Alvira dc893dba57 Merge branch 'untested' of ssh://git.devl.org/home/malvira/git-pub/mc1322x-tests into untested 2009-05-09 15:44:13 -04:00
Mariano Alvira 963d7a69de don't hose the cpu by using read instead of input 2009-05-09 15:43:22 -04:00
Mariano Alvira d47aa338ec Merge branch 'untested' of git://git.devl.org/git/malvira/mc1322x-tests into untested 2009-05-09 15:31:13 -04:00
Mariano Alvira 706da17807 clean up and flash type workaround. 2009-05-09 15:30:54 -04:00
Mariano Alvira e50480adea Merge branch 'untested' of ssh://git.devl.org/home/malvira/git-pub/mc1322x-tests into untested 2009-05-09 14:56:59 -04:00