provides interface CC2420Tx;
/* provides interface RadioBackoff;*/
/* provides interface RadioTimeStamping as TimeStamp;*/
- provides interface ReceiveIndicator as EnergyIndicator;
- provides interface ReceiveIndicator as ByteIndicator;
+/* provides interface ReceiveIndicator as EnergyIndicator;*/
+/* provides interface ReceiveIndicator as ByteIndicator;*/
/* uses interface Alarm<T32khz,uint32_t> as BackoffAlarm;*/
uses interface Alarm<T62500hz,uint32_t> as BackoffAlarm;
- uses interface CC2420Packet;
- uses interface CC2420PacketBody;
uses interface GpioCapture as CaptureSFD;
uses interface GeneralIO as CCA;
uses interface GeneralIO as CSN;
}
/***************** Indicator Commands ****************/
- command bool EnergyIndicator.isReceiving() {
- return !(call CCA.get());
- }
-
- command bool ByteIndicator.isReceiving() {
- bool high;
- atomic high = sfdHigh;
- return high;
- }
+/* command bool EnergyIndicator.isReceiving() {*/
+/* return !(call CCA.get());*/
+/* }*/
+/* */
+/* command bool ByteIndicator.isReceiving() {*/
+/* bool high;*/
+/* atomic high = sfdHigh;*/
+/* return high;*/
+/* }*/
/***************** RadioBackoff Commands ****************/