1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

added test for edge router

This commit is contained in:
mlenders 2011-07-24 17:26:29 +02:00
parent d4e16173b6
commit 0c291bd7e2
3 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,10 @@
SubDir TOP projects sixlowedge_test ;
Module sixlowedge_test : main.c : 6lowpan auto_init uart0 posix_io ;
UseModule sixlowedge_test ;
UseModule cc110x_ng ;
# UseModule transceiver ;
UseModule 6lowpan ;
UseModule vtimer ;
UseModule auto_init ;

View File

@ -0,0 +1,13 @@
#include <stdio.h>
#include <string.h>
#include <transceiver.h>
#include <vtimer.h>
#include "sys/net/sixlowpan/sixlowip.h"
#include "sys/net/sixlowpan/sixlowedge.h"
#include "sys/net/sixlowpan/sixlowerror.h"
int main(void)
{
border_initialize(TRANSCEIVER_CC1100, NULL);
}

View File

@ -0,0 +1,13 @@
#!/usr/bin/expect
set timeout 5
spawn pseudoterm $env(PORT)
expect {
"Hello World!" {}
timeout { exit 1 }
}
puts "\nTest successful!\n"