Commit graph

173 commits

Author SHA1 Message Date
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
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
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
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 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
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
nifi 569895af1c Removed void * operations 2011-01-12 22:58:33 +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 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
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 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
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
adamdunkels 0261af4af2 Made use of the new collect keepalive timer 2010-09-22 22:11:20 +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
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
nifi a5264324b5 Added missing urlconv.c for optional URL filtering. 2010-04-19 21:25:49 +00:00
nvt-se 40f7541f88 Report an error if cfs_write failed. 2010-04-12 13:21:58 +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 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 f2c9b3e813 Remove old neighbor.h inclusion 2010-03-19 13:20:40 +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 6b523f2446 Fixed compilation without timesynch compiled in 2010-02-18 20:56:12 +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
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 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 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