]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Remove LinkSrcPacket.nc
authorscipio <scipio>
Thu, 8 Feb 2007 00:23:34 +0000 (00:23 +0000)
committerscipio <scipio>
Thu, 8 Feb 2007 00:23:34 +0000 (00:23 +0000)
tos/lib/net/le/LinkEstimatorP.nc
tos/lib/net/le/LinkSrcPacket.nc [deleted file]

index 2fee9a1d898063ce8b27103ec357999d1bc53df6..58ab66c64321993afcc308dfb7ce9388be77fb97 100644 (file)
@@ -39,7 +39,6 @@ module LinkEstimatorP {
     interface LinkEstimator;
     interface Init;
     interface Packet;
-    interface LinkSrcPacket;
   }
 
   uses {
@@ -559,11 +558,6 @@ implementation {
   }
 
 
-  // get the link layer source address for the incoming packet
-  command am_addr_t LinkSrcPacket.getSrc(message_t* msg) {
-    return call SubAMPacket.source(msg);
-  }
-
   // user of link estimator calls send here
   // slap the header and footer before sending the message
   command error_t Send.send(am_addr_t addr, message_t* msg, uint8_t len) {
diff --git a/tos/lib/net/le/LinkSrcPacket.nc b/tos/lib/net/le/LinkSrcPacket.nc
deleted file mode 100644 (file)
index f19433f..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-/* $Id$ */
-/*
- * "Copyright (c) 2005 The Regents of the University  of California.  
- * All rights reserved.
- *
- * Permission to use, copy, modify, and distribute this software and its
- * documentation for any purpose, without fee, and without written agreement is
- * hereby granted, provided that the above copyright notice, the following
- * two paragraphs and the author appear in all copies of this software.
- * 
- * IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
- * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
- * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF
- * CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- * 
- * THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
- * AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
- * ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO
- * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS."
- *
- */
-
-/*
- *  @author Rodrigo Fonseca
- *  Based on MintRoute, by Philip Buonadonna, Alec Woo, Terence Tong, Crossbow
- *  @date   $Date$
- */
-
-// Om: added the keyword "command"
-
-interface LinkSrcPacket {
-    /** Returns the am_addr of the link this message came from */
-    command am_addr_t getSrc(message_t* msg);
-}