Broken TCP/IP packets
- From: "Ali" <abdulrazaq@xxxxxxxxx>
- Date: 1 Apr 2007 02:47:11 -0700
I have a serial device that is using MCU's UART (rs232) for data
transfer, every time my device is suppose to deliver 20 bytes making
it a single transaction. We have a VB and C# app using MSCOMM and it
works perfectly.
Now I have added an Ethernet converter to convert serial data to TCP/
IP packets. It works atleast for half of the time. For the rest of
the problematic half the behavior is very strange, yes, my received
packets are broken in parts. For example I'll receive 20 bytes in tow
transactions like 10 byte for each time. I tried to look at the MCU
UART signal via oscilloscope but the timing was quite consistent.
Can't understand why packets are broken/scattered, any idea? where is
should be lookin?
The TCP/IP is using simple send function upon the arrival of serial
data. Is there anything that i can do with time out or anything else?
regards,
ali
.
- Follow-Ups:
- Re: Broken TCP/IP packets
- From: Alexander Nickolov
- Re: Broken TCP/IP packets
- From: Arkady Frenkel
- Re: Broken TCP/IP packets
- Next by Date: Re: Set Static IP configuration, Enable/Disable DHCP
- Next by thread: Re: Broken TCP/IP packets
- Index(es):
Relevant Pages
|