X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Fmac%2Ftkn154%2FDataP.nc;h=146c3b47fabffd4581670ff853956e64596b2e05;hb=f55c745db4317742cc6244950e47b0b824ed0262;hp=4b541962e25665a2cde708b8ddeb3b76648b6c71;hpb=7e796f13f95812376e8f62fe68b53f826ea0199a;p=tinyos-2.x.git diff --git a/tos/lib/mac/tkn154/DataP.nc b/tos/lib/mac/tkn154/DataP.nc index 4b541962..146c3b47 100644 --- a/tos/lib/mac/tkn154/DataP.nc +++ b/tos/lib/mac/tkn154/DataP.nc @@ -42,7 +42,6 @@ module DataP interface MCPS_DATA; interface MCPS_PURGE; } uses { - interface GetNow as IsSendingBeacons; interface FrameRx as CoordCapRx; interface FrameTx as DeviceCapTx; interface FrameTx as CoordCapTx; @@ -145,7 +144,6 @@ implementation // indirect transmission? } else if ((txOptions & TX_OPTIONS_INDIRECT) && - call IsSendingBeacons.getNow() && (dstAddrMode >= ADDR_MODE_SHORT_ADDRESS)) { if (dstAddrMode == ADDR_MODE_SHORT_ADDRESS && dstAddr.shortAddress == 0xFFFF) { mhr[MHR_INDEX_FC1] &= ~FC1_ACK_REQUEST; @@ -275,5 +273,4 @@ implementation default command ieee154_status_t DeviceCfpTx.transmit(ieee154_txframe_t *data) {return IEEE154_INVALID_GTS;} default command ieee154_status_t BroadcastTx.transmit(ieee154_txframe_t *data) {return IEEE154_INVALID_PARAMETER;} default command ieee154_status_t CoordCfpTx.transmit(ieee154_txframe_t *data) {return IEEE154_INVALID_GTS;} - default async command bool IsSendingBeacons.getNow() {return FALSE;} }