2018-12-13 02:53 PM
using HAL or LL libraries, its mandatory to set the size message in the receive function. I want to receive messaege with undefined size. whats the best way to implment it! help please.
2018-12-13 05:06 PM
Each byte reception generates an interrupt, you process byte that into a buffer in a stateful fashion, when you have a complete packet, or line, or however you delineate content, you pass that off to a worker task to process/digest. If you don't like interrupts, have a circular DMA buffer, with adequate size for your sweep frequency, and have a worker task pull the data for processing.
2018-12-14 12:49 AM