Problem: The clients rely on the structure disp_op_t for the arguments and the return types.
The actual implementation of _acq_get_data_block returns to the caller only the valid bytes read, as opposed to the specified in its corresponding disp_op_t structure.
Solution: Add the number of valid bytes in the data block structure and return the whole structure.
Issue by lerwys Friday Oct 31, 2014 at 18:54 GMT Originally opened as https://github.com/lnls-dig/bpm-sw/issues/44
Problem: The clients rely on the structure disp_op_t for the arguments and the return types. The actual implementation of _acq_get_data_block returns to the caller only the valid bytes read, as opposed to the specified in its corresponding disp_op_t structure.
Solution: Add the number of valid bytes in the data block structure and return the whole structure.