Re: [Bluez-users] MTU in l2test

Marcel Holtmann
2005-01-03T11:00:31Z

Hi Manjunath,

> > > I am varying the mtu and data size variables in the l2test program.
> > > From the docs, I learnt that maximum L2CAP payload is 65535 bytes. I
> > > am unable to set the data size above 45000 bytes inspite of setting my
> > > MTU to 65535 (both on the sender and the receiver).
> > > I get an error saying "Send failed. Resource temporarily unavailable".
> > > Hope you can help me with this one.
> >
> > the MTU is different for incoming and outgoing side. With what kind of
> > device and what commands lines are you testing these.
>
> I am using anycom-120 dongles and using the l2test utility. I am also
> setting the incoming and outgoing mtu values (imtu and omtu variables)
> to the same value, say 65000 bytes. My 'datasize' is about 45000
> bytes. I get the error as mentioned above.

what is the output of "hciconfig -a" of the Anycom dongle. Check when
this error occurs. Do you see it only when calling the send()/write()
function? Maybe there is a buffer problem. What do you see with hcidump?
Is the MTU correctly negotiated?