How to recieve a UART message using interrupt and HAL without knowing the length of the message?
Hello community!
I'm staging in a company and they let my program a conversor on my own, de issue is when I started with the UART communication. I need to analyse a message recieved by the user, so I need to be able to analyse any kind of message recieved without knowing the length and using HAL functions. I also need to do it without blocking the program, so it has to be done with interrupts.
I have tried with HAL_UART_Receive_IT and combining HAL_UART_Receive with HAL_UART_IRQHandler but I got the same results.
If there is any source would be a big help.
Anticipated Thanks!
(Sorry if my english is bad, i'm from a foreign country, if any aclaration is needed i'll be here)
