]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/xe1205/phy/XE1205PhyRxTx.nc
LPL fixes, thanks to Francois Ingelrest and Roland Flury for the help
[tinyos-2.x.git] / tos / chips / xe1205 / phy / XE1205PhyRxTx.nc
index 19ac314c160d6c40b93ff61e51cabf55a0cda070..872da62e6b6091579c1d17eb58f677fe75165710 100644 (file)
@@ -64,7 +64,7 @@ interface XE1205PhyRxTx {
    * the client module returned NULL to continueSendBuf().
    *
    */
-  async event void sendFrameDone();
+  async event void sendFrameDone(error_t err);
 
 
   /**
@@ -93,6 +93,17 @@ interface XE1205PhyRxTx {
   async event void rxFrameEnd(char* data, uint8_t len, error_t status);
 
 
+ /**
+   * Signalled at end of a Ack reception.
+   *
+   * @param data pointer to Ack (at first byte of header)
+   * @param len length of the Ack 
+   * @param status SUCCESS if packet received ok, ERROR if packet reception was aborted.
+   *
+   */
+  async event void rxAckEnd(char* data, uint8_t len, error_t status);
+
+
   /** 
    * Set header size, ie number of bytes at start of packet to be read and passed along 
    * with the rxFrameBegin() event.
@@ -129,4 +140,5 @@ interface XE1205PhyRxTx {
 
 
 
+  async command void enableAck(bool onOff);
 }