Nicolas Tsiftes
ddd245ed15
Added streaming mode for page updates. Rewrote and removed some legacy code. Improved error checks and comments.
2011-06-14 17:12:15 +02:00
Oliver Schmidt
c48f8fd39a
Keep gcc 4.x from complaining about 'lvalue required as increment operand'.
2011-05-22 23:08:40 +02:00
Oliver Schmidt
baae42b2f8
Made DNS optional - just like the other web clients.
2011-05-21 22:33:18 +02:00
Oliver Schmidt
d4f49fa204
Added explicit rejection of multiple connections.
...
Although a simple solution the recently introduced approach to just not listen to incoming connetions if there's already one has the downside that one doesn't know if a connection fails because the server is down or becuase there's a connection.
Therefore now connections are always accepted but after sending a message to the user and waiting a few seconds they are closed.
The appstate is used used in a somewhat unusual way here: The one and only "active" connection has an appstate of 0. For all other connections the appstate is initially set to 1. Then it is increased on every uIP poll until it reaches 10, which triggers the connection close. This somewhat hacky approach allows to keep track of the rejected sessions without any additional state variables and/or timers.
2011-05-21 21:03:04 +02:00
Oliver Schmidt
8c00be1a56
Minor beautification / optmization of prompt / banner custimization.
2011-05-21 20:52:00 +02:00
Oliver Schmidt
3d9771403e
Merge remote-tracking branch 'origin/master'
2011-05-21 11:50:56 +02:00
Oliver Schmidt
ff9dd0fce4
Improved shell banner / prompt customization.
...
Working with string-type macros on cmdlines is a pain in the nack so rather go for global string constants activated by simple flag-type macros.
2011-05-21 11:48:50 +02:00
dogan yazar
0b6f9c0e97
Bug fix by Kovatsch Matthias.
2011-04-17 22:50:28 +02:00
Oliver Schmidt
d862e9dcfb
Allow only one Telnet connection at a time.
...
As the session state management of Telnet server is a single static variable allowing more than one connection leads to inconsistencies.
2011-04-17 12:46:42 +02:00
Oliver Schmidt
831312e311
Some Telnet server enhancements:
...
- PETSCII sending support
- Option to customize shell prompt and banner
- Stop all running commands on shell close
- New 'exit' and 'quit' commands to close shell
2011-04-16 21:10:22 +02:00
dogan yazar
31a14c3d90
Commented periodic resource related stuff for the sake of small code print and added minimal-net configuration in README.
2011-04-13 00:07:47 +02:00
Oliver Schmidt
78f7a74689
Merge remote-tracking branch 'origin/master'
2011-04-12 14:14:45 +02:00
Oliver Schmidt
07f3df45be
Converted scope-local variables into function-local variables.
...
The 6502-specific LC implementation doesn't allow for scope-local vaiables between PT_BEGIN/PROCESS_BEGIN/PSOCK_BEGIN and PT_BEGIN/PROCESS_END/PSOCK_END.
2011-04-12 14:12:09 +02:00
dogan yazar
4432a2e551
Bugfix for Post method not allowed.
2011-04-12 00:54:19 +02:00
dogan yazar
91dd236c55
Changes for minimal-net and bug fix for buffer handling.
2011-04-12 00:09:15 +02:00
Enric M. Calvo
1716d837fc
Merge branch 'master' of git://contiki.git.sourceforge.net/gitroot/contiki/contiki into master_cleanup
...
Makefile.z1 is broken into .common and .z1 to share it with Z1 Starter Platform
Conflicts:
.gitignore
platform/z1/Makefile.z1
2011-03-25 17:46:38 +01:00
Niclas Finne
1601b25d53
Updated to use new Rime sniffer API
2011-05-10 15:48:34 +02:00
Adam Dunkels
ade10623de
Bugfix: print out the correct total idle transmit and listen time
2011-05-08 22:25:20 +02:00
Nicolas Tsiftes
46cffcf114
Made it possible to access the results externally.
2011-03-21 09:17:54 +01:00
Adam Dunkels
bb86392ea0
Merge branch 'master' of ssh://contiki.git.sourceforge.net/gitroot/contiki/contiki
2011-03-03 06:22:41 +01:00
Adam Dunkels
f5a6b6f20a
Fixed bugs in the types to the printf arguments
2011-03-02 15:49:04 +01:00
Enric M. Calvo
840c1331d1
examples/sky-shell now runs out-of-the-box on Z1
...
For best results, use a Z1 Starter Platform with an sht11 sensor plugged
in the ziglet port.
Keep in mind that the light-sensor is mapped to the potentiometer in this platform.
XXX Tracing why powertrace does not show anything different from 0.
2011-03-01 19:42:23 +01:00
Fredrik Osterlind
499c13a357
removed execute flag of source files (avoids diff problems with egit)
2011-03-01 18:16:42 +01:00
dak664
263f7e6ebd
Insidious minimal-net segmentation fault if initialized ptr not declared static.
2011-02-19 15:43:43 -05:00
Adam Dunkels
847c99d804
Explicitly turn LEDs off if the command is interrupted
2011-02-10 22:43:18 +01:00
Adam Dunkels
9c62a8c1a6
Set default number of retries to 8 to make the netperf command more robust
2011-02-07 17:34:39 +01:00
oliverschmidt
b15deeff07
Fixed bug introduced with the 8.3 filesystem support.
...
If we use .htm instead of .html then we should also check for .htm instead of .html when it comes to MIME type setting.
Interestingly this didn't show up when testing with Internet Explorer as that one just ignores the wrong MIME type and displays the HTML page as expected.
Thanks to Shane Wood for pointing out the issue!
2011-01-25 20:13:41 +00:00
nvt-se
50aee97fc2
More comments + minor adjustments to the header file
2011-01-19 05:09:57 +00:00
nvt-se
d34de25f29
A facility for testing units of Contiki software.
2011-01-18 19:10:06 +00:00
nifi
569895af1c
Removed void * operations
2011-01-12 22:58:33 +00:00
joxe
ce46b7c6cb
patched rest-code for econotag
2011-01-12 18:32:36 +00:00
adamdunkels
026076e1f4
Moved packet structure into its own header file
2011-01-09 21:08:30 +00:00
nifi
f3d22e6287
dos2unix conversion
2011-01-07 11:55:36 +00:00
doganyazar
b0236dd204
Added support for Uri_Query option
2011-01-03 23:49:16 +00:00
dak664
a026c94467
Fix compiler warnings
2010-12-14 22:45:22 +00:00
doganyazar
8c9f78374a
Subscription Lifetime update
2010-11-30 13:24:05 +00:00
doganyazar
135d5f0ace
Subscription lifetime update
2010-11-30 13:23:30 +00:00
doganyazar
726f927c40
Bug fix and updates
2010-11-24 10:16:45 +00:00
doganyazar
e4fdaa3ccc
Bug fix and updates in http implementation.
2010-11-24 10:15:10 +00:00
doganyazar
ed6012b4ab
Bug fix and added new features in coap.
2010-11-24 10:14:09 +00:00
doganyazar
f9d5815e19
Changed HTONS to uip_htons
2010-10-28 14:59:17 +00:00
doganyazar
1db955f913
Changed HTONS to uip_htons and removed some commented code
2010-10-28 13:18:49 +00:00
doganyazar
e441bd4321
Initial commit of an experimental COAP/HTTP/REST implementation for Contiki
2010-10-28 12:37:42 +00:00
adamdunkels
7f95059703
The collect view functions now take the node's routing metric, not the parent's routing metric.
2010-10-24 21:04:39 +00:00
adamdunkels
959af3b803
Avoid including the powertrace tools makefile more than once.
2010-10-24 21:04:17 +00:00
adamdunkels
d0852a5bcc
The collect view functions now take the node's routing metric, not the parent's routing metric. The node ID is now given as the last two bytes of the Rime address, to make it play nice with 8-byte Rime addresses.
2010-10-24 21:03:52 +00:00
adamdunkels
d6cb77a1d0
Broke out shell code from the collect-view app to make it useful for non-shell apps too. Added a shell app for interacting with collect-view. Broke out handling of parent, rtmetric, etx, and num_neighbors to make collect-view independent of rime collect.
2010-10-20 15:21:43 +00:00
adamdunkels
ce53d7b748
Rewrote part of the repeat command to make the repeat cycle deterministic
2010-10-20 15:18:49 +00:00
oliverschmidt
fd18646d12
Added PETSCII support to the FTP client. It seems reasonable to do this in ftpc.c (instead of ftp.c) as all command connection strings are given in PETSCII in the C source.
2010-10-19 22:30:13 +00:00
adamdunkels
5585d72c86
A simple but substantial change: uIP used the htons()/HTONS() macro
...
functions for converting between host and network byte order. These
names are the de facto standard names for this functionality because
of the original BSD TCP/IP implementation. But they cause problems for
uIP/Contiki: some platforms define these names themselves (Mac OS,
most notably), causing compilation problems for Contiki on those
platforms.
This commit changes all htons to uip_htons instead. Same goes for
htonl, ntohs, and ntohl. All-caps versions as well.
2010-10-19 18:29:03 +00:00
adamdunkels
665eaba2df
Added function for creating a message in a separate buffer
2010-10-19 07:33:47 +00:00
adamdunkels
d55079e7ba
Arch-specific code template that works on all platforms
2010-10-19 07:33:09 +00:00
oliverschmidt
b91bc69653
- Allow to configure window dimensions.
...
- Added usage text in fullscreen windowless scenario.
2010-10-16 09:55:06 +00:00
oliverschmidt
3eadd924ea
- Activated toggle between download/upload and upload dialog. However removed actual upload button. This seems reasonable as otherwiese the whole UI concept with remote and local directory listing doesn't make sense to the user.
...
- Made sure that the "low level" keystroke events are only handled if no dialog is displayed.
- Changed anonymous to 'anonymous'.
- Added option to run in fullscreen windowless mode by replacing in that scenario the dialogs with windows.
2010-10-16 08:15:40 +00:00
adamdunkels
f82279c299
Made the collect-view application that was preivously hidden inside examples/sky-shell into its own application. This makes it possible for other platforms to use the same nica Java gui from the sky-shell application.
2010-10-12 11:37:41 +00:00
adamdunkels
0c5f9992c1
Increased the default number of retransmissions for the send command
2010-10-12 11:36:42 +00:00
adamdunkels
3f6dc30373
Added a powertrace command as an interface to the powertrace app
2010-10-12 11:34:49 +00:00
adamdunkels
04ede258d0
Bugfix: rfchannel did not print out over the correct command structure
2010-10-12 11:34:08 +00:00
adamdunkels
14940b65b8
Added the total power consumption to each powertrace printout; updated powertrace scripts to reflect this change
2010-10-06 18:40:21 +00:00
oliverschmidt
32701dacb5
Fixed recent build error in example-shell.
...
Both apps/webbrowser and apps/webserver contain a http-strings.c. It seems unclear to me if the original intention was to have them identical (but then they should have been factored out in the first place) or if they were only very similiar by chance.
Anyway, currently webserver/http-strings.c is a clean superset of webbrowser/http-strings.c so if a project has both HTTP server and client parts it is desirable to use the webserver variant. In the case of apps/shell this can be archived by adding webserver *before* webbrowser to the APPS variable.
This seems like a hack to me - but the whole shell build qualifies as hack, doesn't it ;-)
2010-09-29 11:53:39 +00:00
oliverschmidt
a6a2d5de9f
Fixed recently introduced minor inconsistency.
2010-09-29 09:35:56 +00:00
oliverschmidt
cd24e920b6
Made cfs-based webserver example compatible with 8.3 file systems.
2010-09-28 20:40:52 +00:00
adamdunkels
0261af4af2
Made use of the new collect keepalive timer
2010-09-22 22:11:20 +00:00
adamdunkels
b72e90597e
Rewrote the default powertrace_sniff() behaviour. Instead of printing
...
out power data for all incoming and outgoing packets (which causes
problems when there is much traffic), the power data for the packets
is instead logged and periodically printed out in aggregated form.
2010-09-22 22:09:52 +00:00
adamdunkels
2be8454a15
Const and typecast bugfix
2010-09-14 07:18:14 +00:00
adamdunkels
f11b0d56ee
Fixed compilation error
2010-09-14 06:40:17 +00:00
adamdunkels
6794154aa5
Set a default value for 'send' commands without arguments
2010-09-13 19:15:21 +00:00
adamdunkels
3be23eb3fc
Fixed alignment issue
2010-09-13 13:29:47 +00:00
adamdunkels
f1769a3622
Added the number of hop-by-hop retransmissions to the 'send' command
2010-09-13 13:29:29 +00:00
oliverschmidt
a5dff5e08a
Up to now the root of the webserver filesystem was always the current directory. Now an optional file 'wwwroot.cfg' is read. If present its content is used as prefix in the conversion of http paths to local paths. This prefix may be a relative path as well as an absolute path.
...
This is especially useful for the cc65-based targets as it ain't possible there to "just change into the wwwroot directory and start the webserver using its pathname".
2010-08-30 19:44:38 +00:00
oliverschmidt
05f938e7c1
Converting the last screen line from ASCII to PETSCII as it was done up to now almost never makes sense. Either the conent to be converted is not the last screen line or the last screen line was already converted (and is incorrectly converted back). Therefore now only a partial line not already converted before gets converted.
2010-07-21 21:03:06 +00:00
adamdunkels
11e25499a5
Servreg-hack makefile
2010-06-15 20:01:10 +00:00
adamdunkels
f8437ad545
Periodically increase sequence number to avoid active registrations being garbage collected in neighbors
2010-06-15 19:32:29 +00:00
adamdunkels
5dc55f0a1b
A quick and dirty service registry daemon hack. The servreg-hack
...
allows a program to register an 8-bit service ID that gets
disseminated to the entire network, as long as a servreg-hack daemon
is running on all neighbors. Other nodes can look up the service ID to
figure out what nodes in the network offer this service.
This is officially labeled as a "hack" so that we don't get too comfy
with it; this hack is not the future of service discovery and
advertisement in Contiki.
2010-06-15 19:00:28 +00:00
adamdunkels
951fd78f6c
ctimer moved from net/rime to sys/
2010-06-14 18:58:45 +00:00
nifi
f537fac5f0
Made arguments const to allow constant strings as arguments
2010-06-14 14:08:17 +00:00
nifi
a453acd325
Added support for IPv6 URLs
2010-06-09 08:36:43 +00:00
nifi
b54c6e673b
Updated API for uiplib and resolv to use uip_ipaddr_t instead of uint16_t for compability with IPv6
2010-05-31 15:22:08 +00:00
adamdunkels
e53b93384a
Print out rdc instead of mac
2010-04-30 07:17:50 +00:00
adamdunkels
bac84c314c
Don't include sniffer code when using IPv6 - this saves significant code space because Rime won't be pulled in
2010-04-30 07:17:21 +00:00
nifi
a5264324b5
Added missing urlconv.c for optional URL filtering.
2010-04-19 21:25:49 +00:00
nvt-se
75690c3399
Improved configuration for low-power wireless networks. Removed legacy code regarding netsim and energest. Fixed bug with state transitions, in which timers were stopped incorrectly.
2010-04-12 14:39:52 +00:00
nvt-se
40f7541f88
Report an error if cfs_write failed.
2010-04-12 13:21:58 +00:00
oliverschmidt
eebbd2694c
Set the maximum number of concurrent web server connections by default to the maximum number of concurrent TCP connections.
2010-04-11 20:54:39 +00:00
oliverschmidt
85082693c5
Added final newline to make GCC happy.
2010-04-11 20:16:56 +00:00
oliverschmidt
f22b0dffb3
Made CFS web server pathname length configurable via WEBSERVER_CONF_CFS_PATHLEN and increased default pathname length from 20 to 80 chars in order to allow to actually make use of subdirs.
2010-04-11 20:10:12 +00:00
oliverschmidt
eae42d02d5
Added optional URL filtering code to the CFS web server contributed by Kajtar Zsolt (and activated it by default).
2010-04-11 19:18:47 +00:00
oliverschmidt
62e6882946
Include slash in CFS web server state field 'filename' (like in the non-CFS web server).
2010-04-11 15:19:34 +00:00
oliverschmidt
157a95ef19
Reduced code size by removing one PT_WAIT_THREAD call site.
2010-04-11 12:29:07 +00:00
nvt-se
fec9171d5d
Print the node ID instead of the first byte in the Rime address. That byte often has the value 0 when using powertrace with IPv6.
2010-04-09 15:47:45 +00:00
oliverschmidt
48f7992a48
Minor syntax simplification.
2010-04-06 20:41:42 +00:00
oliverschmidt
5a3eb98937
Log requests in PETSCII on CBMs in the non-CFS web server (as was already done in the CFS web server).
2010-04-06 20:35:40 +00:00
oliverschmidt
186ab03dd2
Search for last '.' just like in send_headers().
2010-04-06 20:16:25 +00:00
oliverschmidt
37d5c753c0
Copy '/404.html' to filename in order to allow send_headers() to send the proper content type.
2010-04-06 20:10:45 +00:00
oliverschmidt
d1c4b4968c
Added GIF support to the CFS web server (which was already present in the non-CFS web server).
2010-04-06 12:11:41 +00:00
oliverschmidt
69b0727a6d
There are no query strings or alike in the CFS web server so the file extensions have to be the actual end of the requested filename.
2010-04-06 12:03:18 +00:00
oliverschmidt
5c75b89ef7
Reduced code size by reducing the SEND_STRING call sites.
2010-04-06 11:49:47 +00:00
adamdunkels
1fa81eac59
Print out the name of the radio duty cycling mechanism instead of the MAC
2010-04-04 12:27:31 +00:00
adamdunkels
1241aa34d0
Added a function powertrace_print() that prints out the current power trace
2010-03-29 21:49:07 +00:00
adamdunkels
2617274989
Updated to new announcement API
2010-03-25 08:55:20 +00:00
adamdunkels
79ba20ddcc
Updated to new collect router API
2010-03-25 08:52:23 +00:00
adamdunkels
aeec1769dc
Added functions for turning powertracing off
2010-03-19 13:23:31 +00:00
adamdunkels
f2c9b3e813
Remove old neighbor.h inclusion
2010-03-19 13:20:40 +00:00
nvt-se
cfcb6c6b71
Updated for the changed Rime API
2010-03-18 14:25:54 +00:00
joxe
fc738a5809
fixed for new uip6 APIs
2010-03-17 13:19:34 +00:00
joxe
da36724ac8
updated for new uip APIs
2010-03-17 12:27:52 +00:00
fros4943
3769a28516
updated to new sensors API
2010-03-14 19:54:00 +00:00
adamdunkels
331f93b439
Removed the 'nodes' command from the shell: it never really worked
2010-02-28 14:16:19 +00:00
adamdunkels
c4c4e8164d
Enabled compilation without timesynch enabled
2010-02-23 18:22:44 +00:00
adamdunkels
2186d70c59
Added per-packet power profile tracing
2010-02-23 18:22:16 +00:00
adamdunkels
5e6fd67213
Powertrace: a program that periodically prints out the power consumption; suitable for experiments or simulations that want to measure power consumption
2010-02-20 14:15:45 +00:00
adamdunkels
6b523f2446
Fixed compilation without timesynch compiled in
2010-02-18 20:56:12 +00:00
oliverschmidt
340de209c7
Allow to build the webbrowser without history support - by setting WWW_CONF_HISTORY_SIZE to 0.
2010-02-13 10:39:57 +00:00
adamdunkels
ba56b22c03
Potential alignment problem fix
2010-02-04 16:21:15 +00:00
nifi
8cf4821a73
added check for too long server name
2010-02-04 15:23:15 +00:00
adamdunkels
4ea2312f23
Rewrote NULL-termination code to avoid writing to a const array
2010-02-04 14:59:08 +00:00
adamdunkels
35f8d24c2e
Bugfix: zero-terminate string before copying
2010-02-04 11:20:09 +00:00
oliverschmidt
2a6f169e46
- Added yet another PETSCII->ASCII conversion, this time for the file name in case of a 404.
...
- Use all lowercase for the 404 message to avoid another PETSCII->ASCII conversion.
- Write logfile entries for all 404s.
- Adjust memory buffers on the C128 to accomodate for the items above.
2010-02-03 23:19:39 +00:00
adamdunkels
dda757aca7
I made a mess out of the dec64 command being moved to a new module; this commit should fix the previous issues though
2010-02-03 21:53:51 +00:00
adamdunkels
551f7fc7a7
Moved the dec64 command into the shell base64 module
2010-02-03 21:39:25 +00:00
adamdunkels
815468b442
Added missing argument to send_string()
2010-02-03 21:06:51 +00:00
adamdunkels
6fc0c73bac
Reverted the recent addition of the directory listing: instead, a 404 is now sent to indicate that a notfound.html file is missing
2010-02-03 20:41:16 +00:00
adamdunkels
217fa504e7
Small documentation fix
2010-02-03 20:40:00 +00:00
adamdunkels
1a34dbe550
Broke out the base64 commands from the text module
2010-02-03 20:37:29 +00:00
adamdunkels
e029cf489e
When a file was not found, and no notfound.html was found, send directory contents instead
2010-02-02 18:17:55 +00:00
adamdunkels
1a42eac80b
Print out the performance test number for automatic processing
2010-02-02 15:29:24 +00:00
adamdunkels
7ed2af70f9
Two 'peek' and 'poke' commands for reading and writing directly to memory
2010-02-02 15:28:52 +00:00
oliverschmidt
dbfa1efdcf
Allow to build the web browser without DNS support - like i.e. the email client and the IRC client.
2010-02-01 19:44:30 +00:00
adamdunkels
354243afcd
Added missing Rime channel for the runicast debug command
2010-01-31 23:57:22 +00:00
oliverschmidt
76e21b5912
Added conversion of From field from PETSCII to ASCII (and adjusted setup window size to commented-out POP3 settings).
2010-01-31 21:44:49 +00:00
oliverschmidt
de3142c0d4
Made 'Erase' button and dialog optional to make email client compatible with non-windows CTK.
2010-01-31 21:13:38 +00:00
adamdunkels
435add5e17
Added a debug command for testing reliable unicast (runicast) communication
2010-01-31 19:35:12 +00:00
adamdunkels
4938df5c05
Update to Contiki version number 2.4
2010-01-29 18:03:55 +00:00
joxe
318cf56564
fixed for new sensor api
2010-01-14 15:05:40 +00:00
adamdunkels
f50b8db53b
Implement repeats with a periodic second timer to allow for greater range than what is possible with Contiki ctimers. Use RTIMER_NOW() instead of rtimer_arch_now().
2009-12-09 18:12:23 +00:00
adamdunkels
01153b468e
Fixed compliation problem
2009-11-09 08:22:17 +00:00
adamdunkels
01442326b2
Made rimeaddr_t pointers const when they should be
2009-11-08 19:42:59 +00:00
adamdunkels
3c8d51e05f
Added command line options for enabling the four different performance tests
2009-11-04 07:48:18 +00:00
adamdunkels
4928e43880
netperf: a new small shell command that measures the communication
...
performance between two local (single-hop) nodes. It sends packets
over both broadcast and unicast, both in one direction and in both, as
well as tested the stream mode of the underlying MAC protocol.
2009-11-03 22:52:39 +00:00
adamdunkels
2662c87d60
Printout power data as well
2009-11-03 10:04:23 +00:00
fros4943
b0a92c5f4e
added log output + minor fix
2009-10-27 10:46:24 +00:00
adamdunkels
63f927fc8d
Added missing string.h include, for memset()
2009-10-18 11:42:06 +00:00
adamdunkels
bddd31abf2
Fixed compiler warnings
2009-09-09 21:06:51 +00:00
dak664
0798c56899
Print ipv6 address in weblog and tcp_stats cgi
2009-08-12 18:23:37 +00:00
dak664
8d9f8e3a17
ipv6 address logging
2009-08-11 16:07:54 +00:00
joxe
92f8ac6a2b
added webserver-nogui.c to webserver sources
2009-06-23 21:06:34 +00:00
nvt-se
2b1053f0e3
shorten file size function by using the new CFS_SEEK_END.
2009-05-15 23:04:15 +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
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
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
fros4943
8f66601a5a
fixed compiler warnings (as suggested by Niclas Finne)
2009-04-20 13:18:07 +00:00
fros4943
a23b4fd40b
two new shell commands: download and sendcmd
2009-04-16 14:33:47 +00:00
nvt-se
ddbc5a9555
send only packets in the request set. reset the request set immediately
...
after sending the packets.
2009-04-07 14:07:39 +00:00
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
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
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
adamdunkels
cd6ab0ec47
Shave off whitespace at the end of a command (they would otherwise cause problems with filenames having 'invisible' trailing spaces).
2008-07-03 21:15:12 +00:00
adamdunkels
f4f812d81a
Better error handling if the file could not be opened
2008-07-03 21:14:29 +00:00
adamdunkels
fa9a34993f
Added an optional 'offset' parameter to the read command. With the offset parameter, reading starts 'offset' bytes into the file
2008-07-03 21:13:54 +00:00
adamdunkels
56fd2519f7
Slightly more informative output
2008-07-03 21:13:13 +00:00
adamdunkels
86bbb86ed9
If the reps argument to the repeat command is 0, it means to repeat infinitely
2008-07-03 17:56:56 +00:00
adamdunkels
38e39bbc1c
Added a separate file for CFS Coffee-specific commands
2008-07-03 17:56:17 +00:00
adamdunkels
7ed816840e
Fixed compiled warnings
2008-07-03 09:52:15 +00:00
adamdunkels
09f5b6d2f5
Send one extra byte to ensure that the terminating zero is included
2008-07-03 09:51:21 +00:00
adamdunkels
0000a091cc
Bugfix: CFS file handles can be 0
2008-07-03 09:50:23 +00:00
matsutsuka
d194d54e8e
CC_CONST_FUNCTION replaces some const keywords in order to workaround a sdcc bug, which cannot handle function pointers as const.
2008-07-02 15:02:33 +00:00
adamdunkels
b8820a7d89
Added a 'format' command that formats a CFS Coffee flash file system
2008-07-02 14:14:37 +00:00
adamdunkels
88fb193a68
Print MAC layer with mac command
2008-07-02 14:08:06 +00:00
adamdunkels
adbf6c47ab
Bugfix: don't try to read/write/append to file if it was not possible to open it. Bugfix: CFS file descriptors that are 0 are OK.
2008-07-02 14:06:46 +00:00
adamdunkels
66876625d4
Changed name of the simple-cc2420 module to cc2420: changed all function names and variable names from simple_cc2420_* to cc2420_*.
2008-07-02 09:05:40 +00:00
adamdunkels
1586d8f36f
Changed filename of the CC2420 driver from simple-cc2420 to cc2420.
2008-07-01 21:02:51 +00:00
adamdunkels
3b72a403ba
Fixed help text on rfchannel command
2008-06-23 19:51:29 +00:00
adamdunkels
9f65ebf161
Added 'graphical' (ASCII-graphics) power display
2008-06-21 18:33:22 +00:00
oliverschmidt
90797f15a7
Fixed copy&paste issue.
2008-05-24 08:31:56 +00:00
oliverschmidt
6deed3d9aa
Print directory entry size right-justified.
2008-03-29 13:57:30 +00:00
oliverschmidt
e6cc0105b0
- It doesn't make sense to me add the shell sources here _AND_ link to the shell app.
...
- The shell app needs to be there so the '-' prefix is wrong here.
2008-03-28 22:40:55 +00:00
oliverschmidt
47dc2d8020
It doesn't seem reasonable to me to presume that all targets support the elfloader. Therefore shell-exec.c may not be part of the common source files. For now I just moved it to the sky dependent source. In case the dependency on the sky target is undesirable someone needs to come up with a more flexible approach.
2008-03-28 22:36:52 +00:00
adamdunkels
7d06f1bfe0
Added netsim output
2008-03-03 16:10:09 +00:00
oliverschmidt
c4250420ce
As adding some commands to the telnet server shell doesn't seem to be desirable in the application it's now done in the gui-specific code.
2008-02-29 00:07:03 +00:00
oliverschmidt
aa7ba44fb1
Avoided compiler warning.
2008-02-28 23:59:05 +00:00
oliverschmidt
2ce444c175
Made use of shell_quit().
2008-02-28 23:50:02 +00:00
adamdunkels
6479f001fa
Added a shell_quit() function that cleanly exits the shell (currently untested though)
2008-02-28 23:29:07 +00:00
adamdunkels
8906441004
Changed all sprintf() calls to snprintf() to make it useful for systems with very low buffer size
2008-02-24 20:59:51 +00:00
adamdunkels
bd04cc1a32
Added command for turning the MAC protocol on or off
2008-02-24 20:58:35 +00:00
adamdunkels
814558b1fe
Rewrote the telnet server to buffer the output in a single, large buffer rather than as individual lines. This both makes output faster and makes it possible to buffer more outgoing data.
2008-02-24 20:43:28 +00:00
adamdunkels
10692296a1
Specify that the telnet server uses the shell application
2008-02-24 20:38:57 +00:00
adamdunkels
9c51d8ef1b
Added a shell_start() function that prints out the shell prompt and a small helpful message
2008-02-24 20:35:03 +00:00
adamdunkels
33c2116f6a
Better looking senseconv output
2008-02-24 20:34:05 +00:00
adamdunkels
42f52947e0
Made ping output nicer, made rtt measurement work without timesynch too
2008-02-24 20:33:38 +00:00
oliverschmidt
f5e7da082c
Replaced '404.html' with 'notfound.html' as '404.html' is no valid filename for the Apple2 disk operating system ProDOS 8.
2008-02-21 09:25:54 +00:00
oliverschmidt
f74e918f00
Adjusted process display cgi to recent change in process states.
2008-02-17 13:59:22 +00:00
oliverschmidt
2add546d00
Improve consistency if WITH_LOADER_ARCH is 0.
2008-02-15 17:31:44 +00:00
oliverschmidt
f4095c7289
Avoided compiler warnings by adding casts and moved variable definitions to the begin of function bodies.
2008-02-10 12:29:54 +00:00
oliverschmidt
4e6508b578
Avoided compiler warnings by adding casts. However it might make sense to start taking into account that C pointer differences do not have the type 'int'...
2008-02-10 12:24:43 +00:00
oliverschmidt
f244bdbf2d
Accomodate for the now more complex shell output.
2008-02-09 18:51:56 +00:00
oliverschmidt
b1c748c137
Adjusted telnet server to the new shell logic.
2008-02-09 17:15:58 +00:00
oliverschmidt
518a84fc66
Added a 'run' shell command similiar to the 'exec' command but using the high-level LOADER_LOAD() interface instead of the ELF-loader specific interface.
2008-02-09 14:07:58 +00:00
oliverschmidt
614fa668cd
Removed SELFSTART_PROCESS as AUTOSTART_ENABLE generally serves that purpose - and AUTOSTART_ENABLE gets already set as required :-)
2008-02-08 22:48:28 +00:00
adamdunkels
e70e729be6
Description made clearer
2008-02-08 20:40:10 +00:00
oliverschmidt
d2886875ec
Added a 'run' shell command similiar to the 'exec' command but using the high-level LOADER_LOAD() interface instead of the ELF-loader specific interface.
2008-02-08 12:49:54 +00:00
oliverschmidt
bdceab824a
Renamed shell-gui.c to gui-shell.c to fit the new shell file naming scheme.
2008-02-07 23:11:56 +00:00
oliverschmidt
b2bcdfd55b
Adjust shell GUI to the new shell logic.
2008-02-07 23:08:48 +00:00
oliverschmidt
0a8f384a40
Allow to optionally (triggered with SELFSTART_PROCESS) self start the application.
2008-02-07 16:28:11 +00:00
adamdunkels
9444e5cbc1
Refactored netcmd command code that was broken out from shell-rime.c
2008-02-05 20:35:21 +00:00
adamdunkels
b69001cbd4
Broke out the netcmd command from shell-rime.c into shell-rime-netcmd.c
2008-02-05 12:23:32 +00:00
adamdunkels
3fbff69658
Compile shell-sky.c only for the sky target, added shell-rime-netcmd.c
2008-02-05 12:22:49 +00:00
adamdunkels
a26d87e09e
Rewrite of the old Contiki shell. The new shell supports dynamic
...
insertion of new commands and command pipelining. There are also a
bunch of new commands for network access (using Rime): ping, data
collection, packet sniffing, sending shell commands across the
network, and testing the single-hop throughput to neighboring
nodes. Commands are also available for reading from and writing to
files, reading the sensors (on the Tmote Sky platform), and accessing
the power and energy consumption of the system. Dynamic loading of
programs across the network is also possible, although a little
untested at the moment.
2008-02-04 23:42:17 +00:00
oliverschmidt
00d75c8d16
Made use of uip_ipaddr_to_quad().
2008-01-04 23:28:33 +00:00
oliverschmidt
a5ab7ee5b7
Don't depend on program handler if building without wget support.
2007-12-15 21:56:23 +00:00
oliverschmidt
f51a6a6807
Have ctk (at least on conio) work correctly without menus.
2007-12-15 21:04:51 +00:00
oliverschmidt
2db90feaab
Minimal reformatting.
2007-12-15 13:03:17 +00:00
oliverschmidt
b1e1f07f64
Yet another PETSCII<->ASCII issue solved - this time it caused failure to send the right content type.
2007-12-09 23:35:03 +00:00
oliverschmidt
d2d85b4303
Avoid file handle leaks.
2007-12-01 21:27:48 +00:00
oliverschmidt
52436163aa
Made webbrowser configuration defaults visible.
2007-11-30 21:53:50 +00:00
oliverschmidt
c8e7967710
Provided webbrowser configuration defaults.
2007-11-30 21:51:59 +00:00
oliverschmidt
e4a568c1fc
Introduced WWW_CONF_WITH_WGET to make the "URL forwarding" to wget.prg optional (and minor formatting changes).
2007-11-30 16:09:40 +00:00
oliverschmidt
3c68e9c8f2
Removed obsolete declaration and added PROCESS_NAME().
2007-11-30 11:16:45 +00:00
oliverschmidt
2748a0803f
Minor formatting change.
2007-11-30 11:15:41 +00:00
oliverschmidt
2502148ade
Aligned PROCESS_NAME() position with other apps.
2007-11-30 11:15:03 +00:00
oliverschmidt
277323ca4e
Removed obsolete comment.
2007-11-30 11:14:05 +00:00
oliverschmidt
632240da25
Avoid memory block leaks (and minor code style adjustment).
2007-11-27 23:36:07 +00:00
oliverschmidt
74a6ee69e6
Allow to configure the maximum number of simultaneous connections to the cfs webserver.
2007-11-26 21:50:46 +00:00
oliverschmidt
2a98ace477
Allow to configure the maximum number of simultaneous connections to the cgi webserver.
2007-11-26 21:36:35 +00:00
oliverschmidt
ac55fb90e7
Added PETSCII support.
2007-11-26 20:53:00 +00:00
oliverschmidt
7acad03398
Optimzed PETSCII support.
2007-11-25 23:31:11 +00:00
oliverschmidt
ace9a6f5fa
Optimzed PETSCII support.
2007-11-25 18:39:06 +00:00
oliverschmidt
150fe09d4e
Allow to find the scripts on PETSCII machines.
2007-11-25 17:13:56 +00:00
oliverschmidt
4059cd22ce
Include 'Referer:' in referer log message.
2007-11-24 13:16:30 +00:00
oliverschmidt
89061533ed
Removed (unnecessary) reference to the textedit widget header that was recently moved to the backyard.
2007-11-22 12:02:24 +00:00
oliverschmidt
54b8d7ec82
Increased number of simultanious connections from two to three, fixed / streamlined 404.html handling and added logging on tcp resets.
2007-11-22 11:25:08 +00:00
oliverschmidt
764b2738be
Removed compiler warnings.
2007-11-18 02:54:45 +00:00
oliverschmidt
a57eb88f62
Removed compiler warning.
2007-11-18 01:41:00 +00:00
oliverschmidt
d609db3580
Removed compiler warnings.
2007-11-18 01:36:59 +00:00
oliverschmidt
de7b87868d
Removed compiler warnings.
2007-11-18 01:24:39 +00:00
oliverschmidt
d11e1e6fd2
Removed reference to logically empty file.
2007-11-18 01:13:56 +00:00
oliverschmidt
2f9e498620
Removed compiler warning.
2007-11-18 01:06:43 +00:00
oliverschmidt
84272a3dcb
Removed compiler warnings.
2007-11-18 00:57:44 +00:00
oliverschmidt
4b68a3ee5d
Removed compiler warnings.
2007-11-17 22:50:49 +00:00
oliverschmidt
f2dca37b22
Do not depend on TELNET_CONF_WINDOW_HEIGHT being defined.
2007-11-17 22:27:09 +00:00
oliverschmidt
38decb056f
Removed compiler warning.
2007-11-17 21:12:44 +00:00
oliverschmidt
f30a4960c8
Removed compiler warnings.
2007-11-17 20:52:07 +00:00
oliverschmidt
4c6b5b9c17
Removed compiler warnings.
2007-11-17 20:44:07 +00:00
oliverschmidt
062e2a1ce4
Removed compiler warning.
2007-11-17 20:13:54 +00:00
matsutsuka
1793323e55
Removed the last change so that we can assume all global variables are zero-initialized.
2007-09-30 02:32:23 +00:00
matsutsuka
7dd756dd36
Applications have been modified to support !UIP_UDP and !CTK_CONF_WINDOWCLOSE.
2007-09-29 04:12:15 +00:00
matsutsuka
4d046ef389
Window size has been made customizable, and widget placement is modified to fit in smaller screen size.
...
If UIP_UDP is turned off, iut doesn't lookup DNS (i.e. doesn't use resolv.c).
2007-09-29 04:02:06 +00:00
matsutsuka
4a34da849d
Initialization of string has been added, so as to strlen works appropriately while showing the textentry widget.
2007-09-22 04:12:30 +00:00
matsutsuka
582a7476d4
*-dsc.c files have been changed to remove forward reference for struct_icon variable, bacause it is strange that this variable is used wholly inside the C source file and declared extern for the forward reference.
2007-09-06 01:36:10 +00:00
matsutsuka
1a59b784b7
Followed a coding convention of contiki, in which cast operation should not be followed by a space char.
2007-09-01 00:56:03 +00:00
oliverschmidt
348a52aebe
Fixed recent change.
2007-08-30 20:32:29 +00:00
matsutsuka
9d4fc0a1a8
Support for z80(sdcc) port.
...
In order to support, some core modules are modified as follows:
core/sys/dsc.h
- If CTK_CONF_ICONS is diabled, the whole icon-related code is disabled.
- DSC_HEADER is changed to remove extra semicolon.
core/sys/process.h
- process_data_t is expressed by void* in signatures (known bug on sdcc).
core/sys/autostart.h
- autostart_processes is changed to remove extra semicolon.
core/sys/cc.h
- CC_CONF_ASSIGN_AGGREGATE is introduced.
- CC_CONF_INC_CAST_POINTER is introduced, a workaround of a kind
of sdcc bug for an increment.
core/net/hc.c
core/net/uip_arp.c
core/net/uaodv.c
- Aggregation assignments are changed to uip_ipaddr_copy.
core/net/psock.c
core/net/uipbuf.c
core/net/dhcpc.c
apps/shell/shell.c
core/ctk/vnc-server.c
core/ctk/vnc-out.c
- "register" keyword in a signature cannot be used in sdcc,
CC_REGISTER_ARG is used instead.
core/net/uip-over-mesh.c
- An extra semicolon is removed.
apps/dhcp/dhcp-dsc.c
apps/shell/shell-dsc.
apps/ftp/ftp-dsc.c
apps/process-list/process-list-dsc.c
apps/email/email-dsc.c
apps/webserver/webserver-dsc.c
apps/vnc/vnc-dsc.c
apps/vnc/vnc-viewer.h
apps/webbrowser/www-dsc.c
apps/about/about-dsc.c
apps/irc/irc-dsc.c
apps/telnet/telnet-dsc.c
apps/telnetd/telnetd-dsc.c
apps/netconf/netconf-dsc.c
apps/directory/directory-dsc.c
pps/calc/calc-dsc.c
- Modify an extern type to a real declaration, which is static
to prevent a compile error.
core/net/mac/xmac.c
- Variables cannot be defined in a head of block on sdcc.
core/ctk/ctk.h
core/ctk/ctk.c
apps/program-handler/program-handler.c
- If CTK_CONF_ICONS is diabled, the whole icon-related code is disabled.
Makefile.include
- Add a set of configuration for an assembler.
- $(CLEAN) variable is introduced for customized cleanup.
apps/process-list/process-list.c
- PROCESSLIST_CONF_HEIGHT is introduced to address smaller screen size.
core/lib/ctk-filedialog.c
- FILES_CONF_HEIGHT is introduced to address smaller screen size.
- "register" keyword in a signature cannot be used in sdcc,
CC_REGISTER_ARG is used instead.
apps/vnc/vnc-viewer.c
- A cast is added to prevent a compile error.
- "register" keyword in a signature cannot be used in sdcc,
CC_REGISTER_ARG is used instead.
apps/webbrowser/webclient.c
- CC_CONF_INC_CAST_POINTER is introduced, a workaround of a kind
of sdcc bug for an increment.
core/loader/elfloader.c
- A cast is added to prevent a compile error.
core/net/rime/rimeaddr.c
- An initialization is added to prevent a compile error.
core/net/rime/rudolph0.c
- NULL is changed to 0, because NULL causes a compile error.
core/net/rime/route-discovery.c
- Add an argument to match the definition of nf_callbacks.
cpu/z80/strcasecmp.h
cpu/z80/strcasecmp.c
cpu/z80/contiki-sdcc-conf.h
cpu/z80/mtarch.c
cpu/z80/mtarch.h
cpu/z80/Makefile.z80
- New files to make compilation availble on sdcc.
- Added support for multithreading.
2007-08-30 14:39:16 +00:00
ksb
3bb9fda749
Avoid warning about using a cast as a lvalue.
2007-08-22 10:59:56 +00:00
oliverschmidt
b16783b148
Moved unused apps file into backyard.
2007-05-26 22:18:11 +00:00
oliverschmidt
1aca43084f
Moved editor app into backyard as it was never platform independent anyway (but relied on the C64 hibit cursor).
2007-05-23 23:34:05 +00:00
oliverschmidt
e9e925bc6a
Avoid usage of nameless unions as they are - surprisingly at least to me - not part of any C spec.
2007-05-23 21:35:18 +00:00
oliverschmidt
8ddbf4642b
Made the webserver cfs support build and run.
2007-04-23 23:08:44 +00:00