UART data receive acknowledgement
Two devices A & B are communicating on UART. A sends data stream to B. B sends one byte data back to A to acknowldge that data has been received.
I want to implement if A doesn't receive acknowledgement from B then it display Error message on LCD.
Please suggest best logic in A to implement this.
As far I think I should start the UART_Receive_IT API for one byte . and complete callback sets the flag for acknowlegement. Incase flag is not set within one second or so after sending data then A display Error message on LCD. Should I start HAL_Delay(1000) after sending data and then check for flag set or not?
If anyother best way, kindly suggest.
I am still relatively new to coding word..so trying to find best ways.. ;)


