From: janhauer Date: Thu, 10 Sep 2009 12:00:49 +0000 (+0000) Subject: Now allows to use variable radio channel. X-Git-Tag: rc_6_tinyos_2_1_1~284 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=ab265571b5460454b703df4749ee2c36d29cb94e Now allows to use variable radio channel. --- 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);