Commit graph

240 commits

Author SHA1 Message Date
adamdunkels 8d1615459a Added dummy function callback because sdcc does not like NULL function pointers 2009-02-24 21:28:43 +00:00
adamdunkels d28bfe3f58 Fixed ugly function pointer cast by implementing a wrapper function for the protothread function. 2009-02-24 21:27:43 +00:00
adamdunkels 47a6eb5210 Fixes by Luca Mottola: don't call write with zero-length data; added parameter to specify block size to read command 2009-02-19 22:56:56 +00:00
adamdunkels 585620c102 Reverted the recent change from random_rand() to rand(). It turned out that
since libc rand() returns a signed int, there were frequently problems with
timer values wrapping. By reverting to random_rand(), we can provide a
random generator that returns an unsigned and the timer problems are solved.
2009-02-11 11:08:53 +00:00
adamdunkels 37e15ab537 Use C rand() instead of random_rand() 2009-02-09 20:54:49 +00:00
fros4943 51006b3f8d webserver bugfix, caused nightly wget test to fail:
* too many timer_reset will naively increase the start-time, even though timer has not expired. use timer_restart instead
2009-02-09 13:04:37 +00:00
adamdunkels 37b86b9236 Added cr/nl to end of prompt to make scripting easier 2009-02-08 19:28:57 +00:00
fros4943 bf39076206 added experimental checkpointing functionality:
currently only implemented on the sky platform
2009-02-04 17:49:15 +00:00
julienabeille 2218d8ef8b Added an application and example to run IPSo interoperability test using RAVEN boards 2009-01-27 10:57:28 +00:00
nvt-se 53355d095c increase file size range for display in the ls command. 2008-12-01 15:58:14 +00:00
adamdunkels eb2ecc69a2 Added an irc shell command that runs an IRC client from the shell. 2008-11-28 00:16:15 +00:00
adamdunkels abe482713b Bugfix: rewrote the switch() statement into an if/else sequence. Protothreads and switches do not mix well. 2008-11-28 00:15:43 +00:00
adamdunkels 3713d1fcf9 Fixed the repressentation of IP addresses: IP addresses are uip_ipaddr_t nowadays 2008-11-28 00:14:57 +00:00
nvt-se 1389555ad5 adjusted shell for the generic remove command. 2008-11-24 15:18:27 +00:00
c_oflynn 8bae6890a8 Changes by "David Kopf" <dak664@embarqmail.com> to:
-Add hit counter to index.html
 -Adding link to favicon.png
 -Fix serving of binary (image) files in avr-makefsdata file

Changes by Colin O'Flynn:
 -Removed extra linebreak in tutorial-raven.txt
 -Fix to contiki-conf.h in avr-rcb platform
2008-11-18 22:03:12 +00:00
oliverschmidt 7cf3165155 Replaced NETSIM macro with general (and now actually working) solution in Makefile.include. 2008-11-17 22:52:10 +00:00
c_oflynn a0a9ccf2db Changes to raven-webserver by "David Kopf" <dak664@embarqmail.com>:
*Fixed bug in the cgi script handling
    *Making a special check for index.html and treating it like index.shtml to
        allow a common header for all files.
    *adding robots.txt to keep google, msn, yahoo out
    *adding a nice icon through a <link rel="icon"... in the header
    *saying "not enabled" for temperature if it hasn't been initialized
2008-11-16 15:28:37 +00:00
adamdunkels cc73becbd2 Bugfix: a repeat command with 0 interval only ran half its commands because the repeat server process was started during the exithandler of the previous repeat server process. The kernel detected this and did not start every second repeat server process. 2008-11-13 07:51:23 +00:00
oliverschmidt 933aa3bb7e Keep override directive from breaking win32 build - things are getting quite messy here :-( 2008-11-10 22:45:10 +00:00
oliverschmidt c109e102c4 Include wget shell command in "standard" shell environments. 2008-11-10 22:10:32 +00:00
oliverschmidt 7aa23e002a Removed unused variable (and some whitespaces). 2008-11-10 21:57:26 +00:00
adamdunkels 8526049749 Bugfix: the web client previously implicitly depended on uip_buf to be larger than an HTTP GET request. This made the web client fail when uip_buf was smaller, and lead to memory corruption. Also, there was a bug when HTTP request headers would arrive when the GET request was being sent out. 2008-11-09 12:39:31 +00:00
adamdunkels 6b34b4f092 Added httpd and wget commands 2008-11-09 12:38:02 +00:00
adamdunkels ca0752d988 Added httpd command that sets up a local web server, reading files from the CFS file system 2008-11-09 12:37:26 +00:00
adamdunkels eaf5c42682 Added wget command for downloading files over HTTP 2008-11-09 12:36:23 +00:00
adamdunkels 80c71c9f03 Updated version number in server and user agent strings 2008-11-09 12:27:58 +00:00
adamdunkels a53bce4236 Reduce the default number of pagewidgets to make file compile out-of-the-box on MSP430 2008-11-09 10:58:06 +00:00
adamdunkels 942e8f37c2 Remove unguarded printf() 2008-11-09 10:53:25 +00:00
adamdunkels 6677b949b8 Guard against NULL input, remove unguarded printf() 2008-11-09 10:50:14 +00:00
oliverschmidt 9d84a484d0 - Removed Quit button code
- Added Quit menu entry
- Added menu removal on quit (to avoid memory access violations)
- Removed recently added opening of setup window on close of main window
2008-11-06 20:48:08 +00:00
adamdunkels 414c4e9eab Added a menu for opening the setup dialog, removed the quit button 2008-11-06 08:31:01 +00:00
adamdunkels 9429358395 Added process declaration 2008-11-06 08:30:23 +00:00
adamdunkels 7b87c2f5dc Bugfix: the code tried to shave off the ending newline character even if it did not exist 2008-10-31 18:07:13 +00:00
c_oflynn 1375511179 Fix to allow building without LCD interface 2008-10-15 14:38:20 +00:00
c_oflynn 6e42bd3496 example\webserver-ipv6-raven works! 2008-10-14 21:29:23 +00:00
julienabeille 30f545c397 *** empty log message *** 2008-10-14 14:54:23 +00:00
julienabeille 4f9bc05f90 ping-ipv6 example compiles on native cygwin 2008-10-14 13:39:12 +00:00
adamdunkels 28d52894a0 Reverted raven changes, which are now in the raven-webserver directory 2008-10-14 11:07:57 +00:00
julienabeille 47a46ded91 webserver app for RAVEN platform 2008-10-14 10:14:13 +00:00
julienabeille 8a401ea9d9 apps for raven LCD menu 2008-10-14 09:45:17 +00:00
julienabeille 4cfc98cb7b end of apps for uIPv6 2008-10-14 09:44:20 +00:00
julienabeille 3f394fe927 applications updates for uIPv6 2008-10-14 09:40:11 +00:00
joxe ea52955ce9 added voltage value in sky-shell sense and senseconv command 2008-09-18 21:30:24 +00:00
nvt-se 10dc0fd152 error check got triggered on valid file descriptor 0. 2008-08-21 19:15:41 +00:00
adamdunkels 76e03317c7 Fixed problem with erroneous pointer type 2008-08-16 10:04:55 +00:00
adamdunkels 86b835dd2c Added a 'nodeid' command for setting and retreiving the node ID from the external flash. Made the powergraph command optional to save code space. 2008-08-15 19:07:04 +00:00
adamdunkels 66988436f8 Rewrote the 'nodes' command to use netflood rather than trickle - but the 'nodes' command don't seem to work reliably anyway, so it currently is a candidate for removal. 2008-08-15 19:06:14 +00:00
adamdunkels cab149cad0 Moved all rime channel definitions to the shell-rime.h file 2008-08-15 18:58:42 +00:00
adamdunkels ec0de7b82e Removed serial-shell.h (now a separate app) 2008-07-10 16:56:27 +00:00
adamdunkels 1879b4b346 Fixed erroneous character 2008-07-09 21:46:31 +00:00