<CR> is shorthand for "Carriage Return" which is ASCII value 13 in decimal or 0x0D in hexadecimal.
So what you have to do is look for a "$" then capture the next characters until a <CR> is found. Exactly how you get the characters depends on how the UART is set up and how you decode it depends on what the data is.
<CR> is shorthand for "Carriage Return" which is ASCII value 13 in decimal or 0x0D in hexadecimal.
So what you have to do is look for a "$" then capture the next characters until a <CR> is found. Exactly how you get the characters depends on how the UART is set up and how you decode it depends on what the data is.
An internet search will bring you many million hits.
Almost every ASCII table will show.
You don´t say which programming language you use ... but almost any language provides a shortcut...
Example: in C you may use the "/r" ...
The only difficult thing is that the definition of "CRLF" may vary. Some only use CR other s us LF and others really CRLF.
Liek alway... When in doubt: read the documentation