AnsweredAssumed Answered

MQX 4.0.2 Telnet Server missing characters?

Question asked by wcampbell on May 8, 2014
Latest reply on May 11, 2014 by Martin Latal

I'm attempting to use the built-in MQX 4.0.2 (RTCS v3.08.00) telnet server on a V4 Coldfire 54415, but I'm running into a problem where it's losing data. I'm creating my task with TELNETSRV_init, and it is launching the task when I initiate a telnet connection to the device. In my task, I'm doing a loop that calls fgetc to grab each character, but only every other character is actually hitting my handler. The missed characters are being echoed back to my terminal program, but I can't find the source of the echo (I have echo turned off, and the characters that do hit my code are correctly not sending an echo). I don't even see the missing characters hitting the _io_telnet_read in telnetio.c. Has anyone else seen this behavior? Any suggestions on where I can look to see what's grabbing these extra bytes?

Outcomes