X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Fshimmer%2FActiveMessageC.nc;h=0d22877b7a32c7c0a1adc7ffa5d584a32ce80a0d;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hp=9c705b7e1915f049bdcad62481abea5fcb474aa4;hpb=bef408170ad6af964a2a8950ea57c5d8fda75678;p=tinyos-2.x.git diff --git a/tos/platforms/shimmer/ActiveMessageC.nc b/tos/platforms/shimmer/ActiveMessageC.nc index 9c705b7e..0d22877b 100644 --- a/tos/platforms/shimmer/ActiveMessageC.nc +++ b/tos/platforms/shimmer/ActiveMessageC.nc @@ -1,6 +1,6 @@ // $Id$ -/* tab:4 +/* * "Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. * @@ -35,11 +35,12 @@ * */ /** - * The Active Message layer on the SHIMER platform. This is a naming wrapper + * The Active Message layer on the SHIMMER platform. This is a naming wrapper * around the CC2420 Active Message layer. * * @author Konrad Lorincz */ +#include "Timer.h" configuration ActiveMessageC { provides { @@ -52,6 +53,9 @@ configuration ActiveMessageC { interface Packet; interface AMPacket; interface PacketAcknowledgements; + interface PacketTimeStamp as PacketTimeStamp32khz; + interface PacketTimeStamp as PacketTimeStampMilli; + interface LowPowerListening; } } implementation { @@ -65,4 +69,9 @@ implementation { Packet = AM; AMPacket = AM; PacketAcknowledgements = AM; + LowPowerListening = AM; + + components CC2420PacketC; + PacketTimeStamp32khz = CC2420PacketC; + PacketTimeStampMilli = CC2420PacketC; }