V104
Appendix F: Software Glossary
F-8
Retrieves a fixed-length character string from the input buffer. If the buffer contains less characters
than the length requested, str will contain only the remaining characters from the buffer. Appends
a ‘\0’ character to the end of str. Returns the retrieved string length.
Var: c – pointer to serial port structure
len – desired string length
str – pointer to output character string
Reference: ser1.h, ser0.h for source code.