[Tinyos-2-commits] CVS: tinyos-2.x/apps/tests/tkn154/TestAssociate/coordinator TestAssociateAppC.nc, 1.1, 1.2 TestCoordC.nc, 1.1, 1.2
Jan-Hinrich Hauer
janhauer at users.sourceforge.net
Wed Mar 4 10:32:02 PST 2009
Update of /cvsroot/tinyos/tinyos-2.x/apps/tests/tkn154/TestAssociate/coordinator
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv17605/apps/tests/tkn154/TestAssociate/coordinator
Modified Files:
TestAssociateAppC.nc TestCoordC.nc
Log Message:
- re-designed the radio driver interfaces, restructured/improved the CC2420 radio driver
- split the main MAC configuration (was TKN154P.nc) in two: one for beacon-enabled mode the other for nonbeacon-enabled mode (this decision has to be made at compile time now)
- added (serial) debugging functions (compile with "TKN154_DEBUG=1 make telosb" and use the java PrintfClient, see tinyos-2.x/apps/tests/TestPrintf/README.txt)
- improved readability, added comments
Index: TestAssociateAppC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/tests/tkn154/TestAssociate/coordinator/TestAssociateAppC.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TestAssociateAppC.nc 21 Jul 2008 14:56:59 -0000 1.1
--- TestAssociateAppC.nc 4 Mar 2009 18:30:53 -0000 1.2
***************
*** 37,54 ****
{
} implementation {
! components MainC, LedsC, Ieee802154MacC as Ieee802154MacC;
components TestCoordC as App;
MainC.Boot <- App;
App.Leds -> LedsC;
! App.MLME_RESET -> Ieee802154MacC;
! App.MLME_SET -> Ieee802154MacC;
! App.MLME_GET -> Ieee802154MacC;
! App.MLME_START -> Ieee802154MacC;
! App.MLME_ASSOCIATE -> Ieee802154MacC;
! App.MLME_DISASSOCIATE -> Ieee802154MacC;
! App.MLME_COMM_STATUS -> Ieee802154MacC;
! App.Frame -> Ieee802154MacC;
! App.IEEE154TxBeaconPayload -> Ieee802154MacC;
}
--- 37,54 ----
{
} implementation {
! components MainC, LedsC, Ieee802154BeaconEnabledC as MAC;
components TestCoordC as App;
MainC.Boot <- App;
App.Leds -> LedsC;
! App.MLME_RESET -> MAC;
! App.MLME_SET -> MAC;
! App.MLME_GET -> MAC;
! App.MLME_START -> MAC;
! App.MLME_ASSOCIATE -> MAC;
! App.MLME_DISASSOCIATE -> MAC;
! App.MLME_COMM_STATUS -> MAC;
! App.Frame -> MAC;
! App.IEEE154TxBeaconPayload -> MAC;
}
Index: TestCoordC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/tests/tkn154/TestAssociate/coordinator/TestCoordC.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TestCoordC.nc 21 Jul 2008 14:56:59 -0000 1.1
--- TestCoordC.nc 4 Mar 2009 18:30:58 -0000 1.2
***************
*** 57,61 ****
event void Boot.booted() {
! call MLME_RESET.request(TRUE, BEACON_ENABLED_PAN);
}
--- 57,61 ----
event void Boot.booted() {
! call MLME_RESET.request(TRUE);
}
More information about the Tinyos-2-commits
mailing list