Dropped data packets with an RFCOMM connection
Hi, I'm using an RFCOMM connection to transmit data from one powerbook to another. The application on the transmitting powerbook repeatedly uses the 'write:length:sleep' function to transmit a block of data (of about 10 bytes) to the other receiving powerbook every 10 ms. After running for about 1 minute (that's a total of 6000 blocks transmitted), a small number of blocks will not have arrived at the receiver. The transmitter will will have successfully (as returned by 'write:length:sleep') transmitted 6000 blocks, but the receiver will only have received say 5997 blocks. Some of the blocks have gone missing. Does anyone have an idea of where these missing blocks have gone? And a way to make the RFCOMM connection more reliable (without needing to add my own error correction algorithm to my application)? Can we not assume that an RFCOMM connection provides 100% reliability in a typical situation? Thanks Keith _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus _______________________________________________ bluetooth-dev mailing list | bluetooth-dev@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/bluetooth-dev Do not post admin requests to the list. They will be ignored.
participants (1)
-
Keith Phu