Commit graph

426 commits

Author SHA1 Message Date
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