ProSoft Technology MVI69-ADM User Manual
Page 258
Advertising
![background image](/files/866090/content/doc258.png)
Serial Port Library Functions
MVI-ADM ♦ 'C' Programmable
Developer's Guide
'C' Programmable Application Development Module
Page 258 of 342
ProSoft Technology, Inc.
February 20, 2013
MVI_ERR_BADPARAM
invalid pointer
MVI_ERR_TIMEOUT
timeout elapsed before bytes retrieved
Example
BYTE str[10];
int nn;
nn = 10;
if (MVIsp_Gets(COM1, &str[0], '\r', &nn, 1000L) == MVI_SUCCESS)
printf("%d bytes were received\n",nn);
See Also
MVIsp_Getch (page 252)
MVIsp_Puts (page 253)
MVIsp_PutData (page 255)
Advertising