]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/rf2xx/rf230/RF230TimeSyncMessageC.nc
Expose the PacketTimeStamp interfaces in TimeSyncMessageC
[tinyos-2.x.git] / tos / chips / rf2xx / rf230 / RF230TimeSyncMessageC.nc
index 2319aa085d17e01c2f6157ea3d0254f93439c1b9..b308d10c5162716c1c32a8c79bf8ccb289da1a72 100644 (file)
@@ -28,15 +28,17 @@ configuration RF230TimeSyncMessageC
        provides
        {
                interface SplitControl;
+
                interface Receive[uint8_t id];
                interface Receive as Snoop[am_id_t id];
-               interface AMPacket;
-
                interface Packet;
+               interface AMPacket;
 
+               interface PacketTimeStamp<TRadio, uint32_t> as PacketTimeStampRadio;
                interface TimeSyncAMSend<TRadio, uint32_t> as TimeSyncAMSendRadio[am_id_t id];
                interface TimeSyncPacket<TRadio, uint32_t> as TimeSyncPacketRadio;
 
+               interface PacketTimeStamp<TMilli, uint32_t> as PacketTimeStampMilli;
                interface TimeSyncAMSend<TMilli, uint32_t> as TimeSyncAMSendMilli[am_id_t id];
                interface TimeSyncPacket<TMilli, uint32_t> as TimeSyncPacketMilli;
        }
@@ -52,8 +54,11 @@ implementation
        AMPacket        = RF230ActiveMessageC;
        Packet          = TimeSyncMessageLayerC;
 
+       PacketTimeStampRadio    = RF230ActiveMessageC;
        TimeSyncAMSendRadio     = TimeSyncMessageLayerC;
        TimeSyncPacketRadio     = TimeSyncMessageLayerC;
+
+       PacketTimeStampMilli    = RF230ActiveMessageC;
        TimeSyncAMSendMilli     = TimeSyncMessageLayerC;
        TimeSyncPacketMilli     = TimeSyncMessageLayerC;