From ab265571b5460454b703df4749ee2c36d29cb94e Mon Sep 17 00:00:00 2001 From: janhauer Date: Thu, 10 Sep 2009 12:00:49 +0000 Subject: [PATCH] Now allows to use variable radio channel. --- .../tkn154/nonbeacon-enabled/TestAssociate/device/TestDeviceC.nc | 1 + .../TestIndirectData/device/TestIndirectDataDeviceC.nc | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/tests/tkn154/nonbeacon-enabled/TestAssociate/device/TestDeviceC.nc b/apps/tests/tkn154/nonbeacon-enabled/TestAssociate/device/TestDeviceC.nc index 87ec256a..955b60c3 100644 --- a/apps/tests/tkn154/nonbeacon-enabled/TestAssociate/device/TestDeviceC.nc +++ b/apps/tests/tkn154/nonbeacon-enabled/TestAssociate/device/TestDeviceC.nc @@ -74,6 +74,7 @@ module TestDeviceC ieee154_address_t coordAdr; coordAdr.shortAddress = COORDINATOR_ADDRESS; + call MLME_SET.phyCurrentChannel(RADIO_CHANNEL); call MLME_SET.macAutoRequest(FALSE); call MLME_SET.macPANId(PAN_ID); call MLME_SET.macCoordShortAddress(COORDINATOR_ADDRESS); diff --git a/apps/tests/tkn154/nonbeacon-enabled/TestIndirectData/device/TestIndirectDataDeviceC.nc b/apps/tests/tkn154/nonbeacon-enabled/TestIndirectData/device/TestIndirectDataDeviceC.nc index 9224c66a..71108b04 100644 --- a/apps/tests/tkn154/nonbeacon-enabled/TestIndirectData/device/TestIndirectDataDeviceC.nc +++ b/apps/tests/tkn154/nonbeacon-enabled/TestIndirectData/device/TestIndirectDataDeviceC.nc @@ -64,6 +64,7 @@ module TestIndirectDataDeviceC void startApp() { + call MLME_SET.phyCurrentChannel(RADIO_CHANNEL); call MLME_SET.macAutoRequest(FALSE); call MLME_SET.macPANId(PAN_ID); call MLME_SET.macCoordShortAddress(COORDINATOR_ADDRESS); -- 2.39.2