interface SplitControl;
interface RadioRx;
interface RadioTx;
+ interface SlottedCsmaCa;
+ interface UnslottedCsmaCa;
interface EnergyDetection;
interface RadioOff;
interface Set<bool> as RadioPromiscuousMode;
interface Timestamp;
+ interface GetNow<bool> as CCA;
} uses {
interface Notify<const void*> as PIBUpdate[uint8_t attributeID];
interface LocalTime<T62500hz>;
interface ReferenceTime;
interface ReliableWait;
interface TimeCalc;
- interface Leds;
interface Random;
}
} implementation {
SplitControl = PHY;
RadioRx = PHY;
RadioTx = PHY;
+ SlottedCsmaCa = PHY;
+ UnslottedCsmaCa = PHY;
RadioOff = PHY;
EnergyDetection = PHY;
PIBUpdate = PHY;
ReliableWait = PHY;
ReferenceTime = PHY;
TimeCalc = PHY;
+ CCA = PHY;
PHY.Random = Random;
- Leds = PHY.Leds;
components CC2420ControlTransmitC;
PHY.SpiResource -> CC2420ControlTransmitC;
PHY.CC2420Config -> CC2420ControlTransmitC;
CC2420ControlTransmitC.StartupAlarm = Alarm2;
FrameUtility = CC2420ControlTransmitC;
- Leds = CC2420ControlTransmitC;
PHY.TxControl -> CC2420ControlTransmitC;
PHY.CC2420Tx -> CC2420ControlTransmitC;
PHY.RxControl -> CC2420ReceiveC;
PHY.CC2420Rx -> CC2420ReceiveC.CC2420Rx;
ReferenceTime = CC2420ReceiveC;
- Leds = CC2420ReceiveC;
FrameUtility = CC2420ReceiveC;
CC2420ReceiveC.CC2420Config -> CC2420ControlTransmitC;
}