diff -r 2c22f3bea8ba -r a89e2bedf004 master/fsm_foe.h --- a/master/fsm_foe.h Fri Mar 19 13:27:08 2010 +0100 +++ b/master/fsm_foe.h Thu Apr 29 14:05:15 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. */ }; /*****************************************************************************/