]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tests/tkn154/TestAssociate/device/TestAssociateAppC.nc
Added a component that accepts beacon request frames and responds with a beacon ...
[tinyos-2.x.git] / apps / tests / tkn154 / TestAssociate / device / TestAssociateAppC.nc
index c99e233a13910ebbad02640f33f4f11a0a169e3d..992d3dcb0ce8aee6687cd5d9938b8f2faa797e5a 100644 (file)
 configuration TestAssociateAppC
 {
 } implementation {
-  components MainC, LedsC, Ieee802154MacC as Ieee802154MacC,
+  components MainC, LedsC, Ieee802154BeaconEnabledC as MAC,
              new Timer62500C() as Timer;
   components TestDeviceC as App;
 
   MainC.Boot <- App;
   App.Leds -> LedsC;
-  App.MLME_RESET -> Ieee802154MacC;
-  App.MLME_SET -> Ieee802154MacC;
-  App.MLME_GET -> Ieee802154MacC;
+  App.MLME_RESET -> MAC;
+  App.MLME_SET -> MAC;
+  App.MLME_GET -> MAC;
   App.DisassociateTimer -> Timer;  
-  App.MLME_SCAN -> Ieee802154MacC;
-  App.MLME_SYNC -> Ieee802154MacC;
-  App.MLME_BEACON_NOTIFY -> Ieee802154MacC;
-  App.MLME_SYNC_LOSS -> Ieee802154MacC;
-  App.MLME_ASSOCIATE -> Ieee802154MacC;
-  App.MLME_DISASSOCIATE -> Ieee802154MacC;
-  App.MLME_COMM_STATUS -> Ieee802154MacC;
-  App.BeaconFrame -> Ieee802154MacC;
+  App.MLME_SCAN -> MAC;
+  App.MLME_SYNC -> MAC;
+  App.MLME_BEACON_NOTIFY -> MAC;
+  App.MLME_SYNC_LOSS -> MAC;
+  App.MLME_ASSOCIATE -> MAC;
+  App.MLME_DISASSOCIATE -> MAC;
+  App.MLME_COMM_STATUS -> MAC;
+  App.BeaconFrame -> MAC;
 
 }