I'm trying to use wiced_uart_receive_bytes(...) to receive modbus message and it crash after 3-4 message in the following line in platform_uart_receive_bytes(...) (STM32F4xx)
memcpy( data_in, available_data, bytes_available );
It seems to be that bytes_available = 0. I don't know how it is posible...
I'm using a ring_buffer of 256 and in this case message are of 25 bytes
Retrieving data ...