From 052f4e3a2460d02cf665c464d8086cca9e96f201 Mon Sep 17 00:00:00 2001 From: fros4943 Date: Thu, 22 Mar 2007 10:04:47 +0000 Subject: [PATCH] renamed test processes --- platform/cooja/testbutton.c | 6 +++--- platform/cooja/{cooyah.c => testcooja.c} | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) rename platform/cooja/{cooyah.c => testcooja.c} (90%) diff --git a/platform/cooja/testbutton.c b/platform/cooja/testbutton.c index c11b350d2..a2b77ce79 100644 --- a/platform/cooja/testbutton.c +++ b/platform/cooja/testbutton.c @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: testbutton.c,v 1.1 2006/08/21 12:11:16 fros4943 Exp $ + * $Id: testbutton.c,v 1.2 2007/03/22 10:04:47 fros4943 Exp $ */ @@ -45,9 +45,9 @@ #include "dev/button-sensor.h" -PROCESS(button_process, "Button test process"); +PROCESS(button_test_process, "Button test process"); -PROCESS_THREAD(button_process, ev, data) +PROCESS_THREAD(button_test_process, ev, data) { static int custom_counter = 0; static char logMess[100]; diff --git a/platform/cooja/cooyah.c b/platform/cooja/testcooja.c similarity index 90% rename from platform/cooja/cooyah.c rename to platform/cooja/testcooja.c index 508f8fe18..feeb55c01 100644 --- a/platform/cooja/cooyah.c +++ b/platform/cooja/testcooja.c @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: cooyah.c,v 1.1 2006/08/21 12:11:16 fros4943 Exp $ + * $Id: testcooja.c,v 1.1 2007/03/22 10:04:47 fros4943 Exp $ */ #include @@ -38,20 +38,20 @@ #include "sys/log.h" #include "node-id.h" -#define COOYAH_PORT 1234 +#define COOJA_PORT 1234 -PROCESS(cooyah_example_process, "Example process for report"); -AUTOSTART_PROCESSES(&cooyah_example_process); +PROCESS(cooja_test_process, "Example process for COOJA"); +AUTOSTART_PROCESSES(&cooja_test_process); static struct uip_udp_conn *broadcast_conn; /*---------------------------------------------------------------------*/ -PROCESS_THREAD(cooyah_example_process, ev, data) +PROCESS_THREAD(cooja_test_process, ev, data) { PROCESS_BEGIN(); log_message("Example process started", ""); - broadcast_conn = udp_broadcast_new(COOYAH_PORT , NULL); + broadcast_conn = udp_broadcast_new(COOJA_PORT , NULL); button_sensor.activate();