I have a device with which I communicate via the serial port. I would like to refine the algorythm of receiving complete frames. Receiving frame have format <stx> ...... <etx><crc>. Is the following algorithm optimal for receiving a complete frame? Any tips ?</crc></etx></stx>
I have a device with which I communicate via the serial port. I would like to refine the algorythm of receiving complete frames. Receiving frame have format <stx> ...... <etx><crc>. Is the following algorithm optimal for receiving a complete frame? Any tips ?</crc></etx></stx>
Last edit: damian177 2022-02-11