Identify Packet Drop in a protocol over the air from transmitter to receiver

Hi,

How to identify a particular packet in a protocol sent over the air that gets dropped on the Receiving side ?

Packets will be segmented into many tiny packets so, how to identify that particular packet that gets dropped ?

Thx in advans, Karthik Balaguru

Reply to
karthikbg
Loading thread data ...

Put a unique identifier in each packet.

Reply to
Tom Lucas

By giving them an identification number, advanced 1 at a time, modulo a number large enough to cover the appropriate delays.

--
 
 
 
 "A man who is right every time is not likely to do very much."
                           -- Francis Crick, co-discover of DNA
 "There is nothing more amazing than stupidity in action."
                                             -- Thomas Matthews
Reply to
CBFalconer

Use sequence numbers. The number of sequence numbers you need depends on your protocol. iirc USB just has the one bit that implements this functionality, because it's a master slave protocol. But you might want to use a 4-bit number, 8-bit, 32-bit number or a-another. What you can get away with depends on your protocol.

HTH

Paul.

Reply to
Paul Taylor

Isn't that what sequence numbers are for?

--
Dan Henry
Reply to
Dan Henry

This particular problem already exists and has been addressed in the TCP/IP protocol stack for ethernet. You might want to look at how UDP (broadcasting, don't care about packet loss) and TCP (no data loss) work. TCP has various mechanisms to detect lost packets, such as sequence numbers, but also handles problems like fragmented packets. Jack Peacock

Reply to
Jack Peacock

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.