TCP IP & UART together

Hello.

My module is 1306B

after openning TCP IP socket in client mode,
my program svitch the UART1 to the DATA Mode
uart work on 3 line mode (rx, tx, gnd).

module send all incoming UART data to TCP IP Socket

i now that size of the incoming packet is approximately 70 byte
but uart always receive 16 or 26 byte(frequently 26).

Did someone meet similar difficulties?
[/b]

What do you mean, “incoming”?
Data can “come in” on both the UART and the TCP/IP Socket - which one are you talking about? :unamused:

That sounds like perfectly normal UART behaviour to me!
Why do you consider that to be a “problem”?

Data --> | Uart | -> Application ->
TCP IP Socket (Client Mode) | -> TCP Server