Have you tried increasing the size of the serial driver's receive buffer ? I
don't have my RKM here and I can't remember the call offhand but if you still
have problems I can look it up. Also your loop is a
one-character-per-iteration loop. If you know you are going to receive more
than one character, you should request more than one in your read request.