[En-Nut-Discussion] UART Problems

Harald Kipp harald.kipp at egnite.de
Mon Jan 5 12:22:19 CET 2004


Hi Manuel,

You should receive an empty string only if
receive timeouts had been set. Without read
timout, you will get at least one character.

Another idea: May be the device sends ASCII 0.
In this case do not use strlen but the return
value of the _read() call.

Regards,
Harald




More information about the En-Nut-Discussion mailing list