Re: [Bluez-devel] l2cap xfer fails
From: Marcel Holtmann <marcel@holtmann.org>
Date: 2004-01-28 11:22:40
Hi Mauro,
what i wanted to say is that i can transfer (over L2CAP) data from console, but transfer of files redirected to stdin always fails. perhaps i am doing something wrong? such as calling write(2) over L2CAP sockets with buffers larger that 762 bytes?
I haven't checked the nc6 Bluetooth support so far, but the L2CAP is a SOCK_SEQPACKET and it has an in and an out MTU. The default MTU is 672 and this means if you send data with a larger buffer, the write() will fail. Regards Marcel ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel