User’s Manual
39
int ConsoleFinish(long timeout);
This function finishes receiving data from the RabbitLink serial console by blocking for
an optional amount of time to do it. If the timeout is set to 0, the function will not receive
any data, but will poll to determine whether there are more
data to receive.
PARAMETERS
timeout
The length of time to time out, in milliseconds, and is 0 for
ConsoleFinish()
to determine whether there are more data to
receive.
RETURN VALUE
0 if there are more data on the serial console, non-zero if all
the data have been re-
ceived
.
LIBRARY
STDIO.LIB
E.7 Example Using the RabbitLink Console API
main() {
// first method
SendToConsole("set ip 10.10.2.102\n", 19);
// second method
PrintToConsole(1);
printf("set gateway 10.10.2.1\n");
PrintToConsole(0);
}
int ConsoleFinish(long timeout);
Содержание RabbitLink EG2100
Страница 1: ...RabbitLink EG2100 Network Programming Gateway User s Manual 019 0090 020222 B ...
Страница 8: ...4 RabbitLink EG2100 ...
Страница 32: ...28 RabbitLink EG2100 ...
Страница 44: ...40 RabbitLink EG2100 ...
Страница 46: ...42 RabbitLink EG2100 ...
Страница 48: ......