Re: L2CAP Maximum MTU / 0-Length packets
site_archiver@lists.apple.com Delivered-To: bluetooth-dev@lists.apple.com Any help from Apple would be appreciated. Regards Moritz Am 13.02.2005 um 21:49 schrieb Moritz Gmelin: Hi, Next question is about 0-length packets: Can anyone help on those two problems ? Regards Moritz This email sent to moritz.gmelin@gmx.de _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.a... Having PacketDecoder up and running again, I can confirm that both problems are related to the Mac side. 1. Packets larger than about 16000 bytes are being dropped although PacketDecoder displays them as correctly received. The l2capChannelData method of my Listener is simply not called for those large packets. 2. Writing 0-Lenght Packets is doing anything. PacketDecoder does not see any outbound packets. 1+ Byte-Packets are working correctly. When I try to open a L2CAP Connection from Linux to my Mac, the Mac offers a MTU (direction Linux -> Mac) of 32767. Sending data of size < 16000 is no problem, the receiver gets notified of incoming packets. But when the packet size exceeds 16000 (I don't know the exact number) my Application does not get notified of incoming packets. I can see the packets being sent by the linux side using hcidump. I cannot verify what is happening on the mac side since packet decoder does not work.... The Bluetooth specification allows for L2CAP Packets to be between 0 and 65535 bytes in length. When I send a 0-length packet from the Mac, I cannot see anyting coming in either on Windows (Widcomm Spylite Software) or on Linux (hcidump). Again, I cannot verify what PacketDecoder would see. _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/ moritz.gmelin%40gmx.de This email sent to site_archiver@lists.apple.com
participants (1)
-
Moritz Gmelin