X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Fmac%2Ftkn154%2FRadioClientC.nc;h=4412d21a79de89b43efd5df59f8fc0a86e7fc737;hb=280de4fedba9a7080138600e623cdadf22bf728a;hp=551679c22604e8b54fa9a153448e8e300e80dd72;hpb=cfc8b8448d14883d4d47e0852797366ef0c13a75;p=tinyos-2.x.git diff --git a/tos/lib/mac/tkn154/RadioClientC.nc b/tos/lib/mac/tkn154/RadioClientC.nc index 551679c2..4412d21a 100644 --- a/tos/lib/mac/tkn154/RadioClientC.nc +++ b/tos/lib/mac/tkn154/RadioClientC.nc @@ -32,14 +32,17 @@ * @author Jan Hauer * ======================================================================== */ + #include "TKN154_MAC.h" generic configuration RadioClientC() { provides { + interface RadioOff; interface RadioRx; interface RadioTx; - interface RadioOff; + interface SlottedCsmaCa; + interface UnslottedCsmaCa; interface Resource as Token; interface ResourceRequested as TokenRequested; interface ResourceTransfer; @@ -60,6 +63,8 @@ implementation RadioRx = RadioControlP.RadioRx[CLIENT]; RadioTx = RadioControlP.RadioTx[CLIENT]; RadioOff = RadioControlP.RadioOff[CLIENT]; + SlottedCsmaCa = RadioControlP.SlottedCsmaCa[CLIENT]; + UnslottedCsmaCa = RadioControlP.UnslottedCsmaCa[CLIENT]; Token = RadioControlP.Token[CLIENT]; IsResourceRequested = RadioControlP.IsResourceRequested; TokenRequested = RadioControlP.TokenRequested[CLIENT];