1 of 1 people found this helpful
I do not think you can set expected_data_size to const. It needs to be a variable, which is reset after the call to wiced_uart_receive_bytes.
What timeout do you use in your wiced_uart_receive_bytes call?
Can you share your uart receive code, it will make it easier to give feedback.
Thanks for your valuable answer,
i add the variable instead of the constant value and it update at the end of the while().
It is working fine.
once again thank you vary much...