From 93ce938d8d227e833e805ce8ee5775c9edb044ab Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Thu, 3 Jul 2008 23:32:03 +0000 Subject: [PATCH] enable coffee code coffee and netcmd commands --- examples/sky-shell/sky-shell.c | 6 ++++-- examples/sky-shell/sky-upload.c | 16 +++++----------- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/examples/sky-shell/sky-shell.c b/examples/sky-shell/sky-shell.c index d1f968732..a43368a79 100644 --- a/examples/sky-shell/sky-shell.c +++ b/examples/sky-shell/sky-shell.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: sky-shell.c,v 1.1 2008/02/04 23:52:33 adamdunkels Exp $ + * $Id: sky-shell.c,v 1.2 2008/07/03 23:32:03 adamdunkels Exp $ */ /** @@ -98,16 +98,18 @@ PROCESS_THREAD(test_shell_process, ev, data) serial_shell_init(); shell_blink_init(); + shell_coffee_init(); /* shell_exec_init();*/ shell_file_init(); shell_netfile_init(); shell_ps_init(); shell_reboot_init(); shell_rime_init(); + shell_rime_netcmd_init(); shell_rime_ping_init(); shell_rime_sniff_init(); /* shell_rsh_init();*/ - shell_sendtest_init(); + /* shell_sendtest_init();*/ shell_sky_init(); shell_text_init(); shell_time_init(); diff --git a/examples/sky-shell/sky-upload.c b/examples/sky-shell/sky-upload.c index 5af90143e..ba87506df 100644 --- a/examples/sky-shell/sky-upload.c +++ b/examples/sky-shell/sky-upload.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: sky-upload.c,v 1.1 2008/02/04 23:52:33 adamdunkels Exp $ + * $Id: sky-upload.c,v 1.2 2008/07/03 23:32:19 adamdunkels Exp $ */ /** @@ -87,21 +87,15 @@ PROCESS_THREAD(test_shell_process, ev, data) PROCESS_BEGIN(); serial_shell_init(); - - shell_blink_init(); + + shell_coffee_init(); shell_exec_init(); shell_file_init(); shell_netfile_init(); shell_ps_init(); shell_rime_init(); - shell_rime_sniff_init(); - /* shell_rime_ping_init();*/ -/* shell_rsh_init(); */ -/* shell_sendtest_init();*/ - /*shell_sky_init();*/ - shell_text_init(); - /* shell_time_init();*/ - /* shell_vars_init();*/ + shell_rime_netcmd_init(); + shell_text_init(); #if 0 shell_register_command(&xmacprofile_command);