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
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
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
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
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
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
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
bf39076206
added experimental checkpointing functionality:
...
currently only implemented on the sky platform
2009-02-04 17:49:15 +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
nvt-se
1389555ad5
adjusted shell for the generic remove command.
2008-11-24 15:18:27 +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
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
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
942e8f37c2
Remove unguarded printf()
2008-11-09 10:53:25 +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
304a4cfa0b
Broke out serial-shell from the shell app into its own app. Project can use the serial-shell to get a shell running over the serial line, just like a project can use the telnetd to get a shell running over Telnet/TCP/IP.
2008-07-09 20:53:30 +00:00
adamdunkels
a40791e6c4
Flush energy estimates before reading them
2008-07-09 09:32:54 +00:00
adamdunkels
ee4862f082
Remove XXX todo comment: this has now been fixed
2008-07-07 23:47:07 +00:00
adamdunkels
9cc5a0098e
Use the clock_second() function to get time in seconds
2008-07-07 23:46:12 +00:00
adamdunkels
9f08d7c6de
Add a CRC checksum to all collect packets to ensure that they are valid, even if they are running on top of a radio link with bit errors
2008-07-07 23:22:59 +00:00
adamdunkels
144927c12b
Add a CRC checksum to all netcmd packets to ensure that they are valid, even if they are running on top of a radio link with bit errors
2008-07-07 23:22:38 +00:00
oliverschmidt
0d8e8136e9
Avoid compiler warning.
2008-07-06 10:34:44 +00:00
adamdunkels
ec773fb63b
Separated the 'debug' commands (unicast and broadcast) from shell-rime into a separate shell-rime-debug
2008-07-04 08:23:00 +00:00
adamdunkels
4395efeb4f
Make cfs-coffee compiled on all platforms
2008-07-03 23:43:21 +00:00