renamed test processes

This commit is contained in:
fros4943 2007-03-22 10:04:47 +00:00
parent 14a4675318
commit 052f4e3a24
2 changed files with 9 additions and 9 deletions

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * 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" #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 int custom_counter = 0;
static char logMess[100]; static char logMess[100];

View file

@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * 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 <stdio.h> #include <stdio.h>
@ -38,20 +38,20 @@
#include "sys/log.h" #include "sys/log.h"
#include "node-id.h" #include "node-id.h"
#define COOYAH_PORT 1234 #define COOJA_PORT 1234
PROCESS(cooyah_example_process, "Example process for report"); PROCESS(cooja_test_process, "Example process for COOJA");
AUTOSTART_PROCESSES(&cooyah_example_process); AUTOSTART_PROCESSES(&cooja_test_process);
static struct uip_udp_conn *broadcast_conn; static struct uip_udp_conn *broadcast_conn;
/*---------------------------------------------------------------------*/ /*---------------------------------------------------------------------*/
PROCESS_THREAD(cooyah_example_process, ev, data) PROCESS_THREAD(cooja_test_process, ev, data)
{ {
PROCESS_BEGIN(); PROCESS_BEGIN();
log_message("Example process started", ""); log_message("Example process started", "");
broadcast_conn = udp_broadcast_new(COOYAH_PORT , NULL); broadcast_conn = udp_broadcast_new(COOJA_PORT , NULL);
button_sensor.activate(); button_sensor.activate();