]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/rf2xx/layers/ActiveMessageConfig.nc
reorganized packet header handling, added RF212Ieee154MessageC for BLIP
[tinyos-2.x.git] / tos / chips / rf2xx / layers / ActiveMessageConfig.nc
index d3dadd427c8861de48132f766418884282926dfc..d9665af2e717250de415cbf84eb502edddddd90b 100755 (executable)
@@ -27,15 +27,10 @@ interface ActiveMessageConfig
 {
        /**
         * This command is called when the message first enters the radio stack
-        * via the Send.send command. This should clear the packet if the user
-        * forgot to do so (or return EINVAL to be strict).
+        * via the Send.send command. This command should return TRUE if the
+        * packet is deffinitely not cleared, FALSE otherwise.
         */
-       command error_t checkPacket(message_t* msg);
-
-       /**
-        * Returns a pointer to the ActiveMessage header field in the message
-        */
-       command activemessage_header_t* getHeader(message_t* msg);
+       command bool forgotToClear(message_t* msg);
 
        /** Same as AMPacket.destination */
        command am_addr_t destination(message_t* msg);