Rob Larson wrote: > "Martin Saxon" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> Hi everyone. >> >> I'm using the serial port on a T5 to talk to a data capture device, >> but it appears that if I try to send a data packet at the same time >> that data is arriving on the receive line, some of the received data >> gets dropped. ... > > What size receive buffer are you using? The default is 512 bytes. > Since there > is no hardware flow control on the T5, you need to allocate a large > enough > buffer to handle whatever amount could come in before you issue a > SrmReceive. > > You can allocate a larger buffer with SrmSetReceiveBuffer.
I've allocated a receive buffer of 11520 bytes. With the protocol I'm implementing, the problem occurs well before a buffer full of data is received. Martin. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/