]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/cc2420/lowpan/CC2420TinyosNetworkP.nc
Support for I-frames is on by default.
[tinyos-2.x.git] / tos / chips / cc2420 / lowpan / CC2420TinyosNetworkP.nc
index 0bd6dc583f550e58792911dcc3a3f62a8e6fd0df..6c2570c4a5c1f458f2ac4cc789b9a2f0938512b5 100644 (file)
@@ -71,26 +71,8 @@ implementation {
     return call SubSend.maxPayloadLength();
   }
 
-  command void* Send.getPayload(message_t* msg) {
-    return call SubSend.getPayload(msg);
-  }
-  
-  /***************** Receive Commands ****************/
-  command void* Receive.getPayload(message_t* msg, uint8_t* len) {
-    return call SubReceive.getPayload(msg, len);
-  }
-
-  command uint8_t Receive.payloadLength(message_t* msg) {
-    return call SubReceive.payloadLength(msg);
-  }
-  
-  /***************** NonTinyosReceive Commands ****************/
-  command void* NonTinyosReceive.getPayload[uint8_t networkId](message_t* msg, uint8_t* len) {
-    return call SubReceive.getPayload(msg, len);
-  }
-
-  command uint8_t NonTinyosReceive.payloadLength[uint8_t networkId](message_t* msg) {
-    return call SubReceive.payloadLength(msg);
+  command void* Send.getPayload(message_t* msg, uint8_t len) {
+    return call SubSend.getPayload(msg, len);
   }
   
   /***************** SubSend Events *****************/