Commit graph

271 commits

Author SHA1 Message Date
adamdunkels 5d8d7844bb Avoid alignment problems by copying the crc from the header field into a local variable 2009-04-06 23:29:31 +00:00
adamdunkels 01d39d4149 Made sure netcmds are null-terminated 2009-04-06 21:17:34 +00:00
adamdunkels dc8338d248 Fixed alignment problem on the MSP430, where the ping message may be misaligned 2009-03-31 17:39:36 +00:00
fros4943 2e156afe2a bugfix: cfs_open must get aquire permissions 2009-03-26 12:22:52 +00:00
adamdunkels ecb7641ca7 from address is const 2009-03-24 14:44:42 +00:00
nvt-se 571c815ad3 use unsigned long to print total file size. 2009-03-19 20:42:39 +00:00
adamdunkels fb7fc1990d Fix types to make cc65 happy 2009-03-17 21:49:44 +00:00
adamdunkels a6be9a6d3c Removed NULL pointer to make sdcc happy 2009-03-17 20:12:55 +00:00
adamdunkels 0076bfe8a5 Changed the name of the 'serial' module to 'serial-line' to signify that the module is about lines of data from the serial port, not individual bytes, and to make sdcc happy 2009-03-17 15:56:32 +00:00
adamdunkels 65eb5fd4e8 Renamed the rimebuf module to packetbuf to signal that the module is used outside of a pure Rime context (e.g., the sicslowpan code uses it). 2009-03-12 21:58:20 +00:00
adamdunkels 5920a86312 Moved the Raven-specific applications from the generic apps/ directory to the platform-specific platform/avr-raven/apps 2009-03-12 19:15:23 +00:00
adamdunkels 4519f07a9b Fixed IPv6 compilation problems 2009-03-07 09:32:41 +00:00
adamdunkels 2289ced2bb Fixed compilation problems, added new commands to shell.h 2009-03-06 07:23:08 +00:00
adamdunkels ddafef15e9 Added three commands for IP interaction in the shell: ping (sends ICMP ping messages), tcpsend (sets up TCP connections for sending and receiving data), and udpsend (sends and receives UDP packets) 2009-03-06 00:29:33 +00:00
adamdunkels 6d545730ba Added a telnet_connect() function 2009-03-05 23:56:56 +00:00
adamdunkels 482de817e0 Renamed the Rime 'ping' command to 'rime-ping' to differentiate it from the IP ping command 2009-03-05 23:54:14 +00:00
adamdunkels a3daf1d3cc Refactored the power commands out from the sky-specific shell commands into its own module. Also added compower idle consumption in the energy and power reports. 2009-03-05 21:12:02 +00:00
adamdunkels d52a527752 Added support for sniffing for packet attributes for both incoming and outgoing packets 2009-03-02 21:58:16 +00:00
adamdunkels 78591a003f Minor documentation update 2009-03-02 21:56:16 +00:00
adamdunkels da591f484f Added documentation for the shell functions 2009-03-02 20:44:15 +00:00
oliverschmidt 62662ee79b Override source file sets of included apps to exclude source files that would cause symbols to be defined twice in the Contiki library. 2009-03-01 23:36:47 +00:00
oliverschmidt eab1ea8c95 Added missing include. 2009-03-01 23:33:46 +00:00
nvt-se b91b2c1b2d moved debug macros from header to source. 2009-03-01 12:49:43 +00:00
oliverschmidt a1b7bf6952 Minor change. 2009-03-01 12:11:17 +00:00
nifi fb4272866d changed format of the temperature value to be compliant with new specification 2009-02-27 16:24:49 +00:00
nvt-se a0226e2418 switched all users of cfs_seek(x,y) to cfs_seek(x,y,CFS_SEEK_SET) 2009-02-27 14:28:02 +00:00
nvt-se 6b2c1ca2a4 coding style compliance. 2009-02-26 14:55:29 +00:00
nvt-se 703df7bb48 removed bitfields. 2009-02-25 17:09:55 +00:00
nvt-se 31bc37a043 Added Deluge and tests for it. 2009-02-25 17:00:00 +00:00
fros4943 cb56161c94 moved ipv6 udp example processes from apps/udp to inside examples/udp-receiver-ipv6 and examples/udp-sender-ipv6 2009-02-25 12:10:10 +00:00
adamdunkels 40003196ef #include ctk-textentry-cmdline.h, plus a bunch of whitespace removed 2009-02-25 08:52:27 +00:00
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