Binary serial port read missing bytes in c
问题 I am sending binary data from an arduino to a serial port where this code is running. Using cutecom in hex mode can clearly read what I expect on that serial port. As shown below. 00000000: 24 04 85 ab 47 43 04 04 24 04 85 ab 47 43 04 04 00000010: 24 04 85 ab 47 43 04 04 24 04 85 ab 47 43 04 04 No problems up to here. I don't believe I need to give the arduino code. I am trying to read the same thing with c. However the code below only prints this: 24 85 ab 47 43 24 85 ab 47 43 24 85 ab 47 43