From: razvanm Date: Wed, 25 Jun 2008 03:28:52 +0000 (+0000) Subject: Changes to comply with TEP4. X-Git-Tag: release_tinyos_2_1_0_0~161 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=0c93ead951bb9666631e78a7f7ebc06cd364a171 Changes to comply with TEP4. --- diff --git a/apps/tests/TestSimComm/TestCommAppC.nc b/apps/tests/TestSimComm/TestCommAppC.nc index 5cd94d2e..c45a546b 100644 --- a/apps/tests/TestSimComm/TestCommAppC.nc +++ b/apps/tests/TestSimComm/TestCommAppC.nc @@ -49,7 +49,7 @@ configuration TestCommAppC {} implementation { enum { - AM_TEST = 5 + AM_TEST = 133 }; components MainC, TestCommC as App, RandomC, ActiveMessageC, TossimActiveMessageC; diff --git a/apps/tosthreads/apps/TestSineSensor/TestSineSensorAppC.nc b/apps/tosthreads/apps/TestSineSensor/TestSineSensorAppC.nc index 2a5bdf2a..b37d3bbb 100644 --- a/apps/tosthreads/apps/TestSineSensor/TestSineSensorAppC.nc +++ b/apps/tosthreads/apps/TestSineSensor/TestSineSensorAppC.nc @@ -41,7 +41,7 @@ implementation { components new BlockingSineSensorC(); components BlockingSerialActiveMessageC; - components new BlockingSerialAMSenderC(100); + components new BlockingSerialAMSenderC(228); MainC.Boot <- TestSineSensorC; MainC.SoftwareInit -> BlockingSineSensorC; diff --git a/apps/tosthreads/capps/TestSineSensor/TestSineSensor.c b/apps/tosthreads/capps/TestSineSensor/TestSineSensor.c index a74be6c9..2f676b22 100644 --- a/apps/tosthreads/capps/TestSineSensor/TestSineSensor.c +++ b/apps/tosthreads/capps/TestSineSensor/TestSineSensor.c @@ -46,7 +46,7 @@ void tosthread_main(void* arg) { while( amSerialStart() != SUCCESS ); for(;;) { while( sinesensor_read(var) != SUCCESS ); - while( amSerialSend(AM_BROADCAST_ADDR, &msg, sizeof(uint16_t), 100) != SUCCESS ); + while( amSerialSend(AM_BROADCAST_ADDR, &msg, sizeof(uint16_t), 228) != SUCCESS ); led0Toggle(); } } \ No newline at end of file