I wouldn't use readBytesUntil at all.
Read the incoming bytes based on
Serial Input Basics - updated - Using Arduino / Introductory Tutorials - Arduino Forum
if you want to sanitize the incoming data, you could check for isPrintable
I wouldn't use readBytesUntil at all.
Read the incoming bytes based on
Serial Input Basics - updated - Using Arduino / Introductory Tutorials - Arduino Forum
if you want to sanitize the incoming data, you could check for isPrintable