master/fsm_foe.h
changeset 1901 2a1106b1d863
parent 1465 3099d78343ea
child 2045 ff2a13a4603c
child 2498 9cdd7669dc0b
--- a/master/fsm_foe.h	Thu Apr 15 23:04:26 2010 +0200
+++ b/master/fsm_foe.h	Fri Apr 16 07:57:16 2010 +0200
@@ -60,31 +60,22 @@
     ec_foe_request_t *request; /**< FoE request */
     uint8_t toggle; /**< toggle bit for segment commands */
 
-    /** \cond */
+    uint8_t *tx_buffer; /**< Buffer with data to transmit. */
+    uint32_t tx_buffer_size; /**< Size of data to transmit. */
+    uint32_t tx_buffer_offset; /**< Offset of data to tranmit next. */
+    uint32_t tx_last_packet; /**< Current packet is last one to send. */
+    uint32_t tx_packet_no; /**< FoE packet number. */
+    uint32_t tx_current_size; /**< Size of current packet to send. */
+    uint8_t *tx_filename; /**< Name of file to transmit. */
+    uint32_t tx_filename_len; /**< Lenth of transmit file name. */
 
-    uint32_t tx_errors;
-    uint8_t *tx_buffer;
-    uint32_t tx_buffer_size;
-    uint32_t tx_buffer_offset;
-    uint32_t tx_last_packet;
-    uint32_t tx_packet_no;
-    uint32_t tx_current_size;
-    uint8_t *tx_filename;
-    uint32_t tx_filename_len;
-
-
-    uint32_t rx_errors;
-    uint8_t *rx_buffer;
-    uint32_t rx_buffer_size;
-    uint32_t rx_buffer_offset;
-    uint32_t rx_current_size;
-    uint32_t rx_packet_no;
-    uint32_t rx_expected_packet_no;
-    uint32_t rx_last_packet;
-    uint8_t *rx_filename;
-    uint32_t rx_filename_len;
-
-    /** \endcond */
+    uint8_t *rx_buffer; /**< Buffer for received data. */
+    uint32_t rx_buffer_size; /**< Size of receive buffer. */
+    uint32_t rx_buffer_offset; /**< Offset in receive buffer. */
+    uint32_t rx_expected_packet_no; /**< Expected receive packet number. */
+    uint32_t rx_last_packet; /**< Current packet is the last to receive. */
+    uint8_t *rx_filename; /**< Name of the file to receive. */
+    uint32_t rx_filename_len; /**< Length of the receive file name. */
 };
 
 /*****************************************************************************/