Re: [Bluez-devel] [Bluez-users] How to setup a reliable RFCOMM connection

amateur
2006-12-09T01:50:00Z

On Fri, Dec 08, 2006 at 11:24:31AM +0100, Marcel Holtmann wrote:
> Hi,
>
> > How to setup a reliable RFCOMM connection, that is, a connection with
> > infinite flush timeout. I find the RFCOMM_LM_RELIABLE option in the
> > example program l2test.c. It compiles, but at runtime setsockopt with
> > RFCOMM_LM give me an error. I'm using kernel-2.4.21 patched by
> > patch-2.4.21-mh10. So what's the problem. Doesn't kernel-2.4.21-mh10
> > support RFCOMM_LM? If so, how can I setup a reliable RFCOMM connection?
>
> the RFCOMM channels are always reliable. No need for any other options.
>
Does that mean that the Automatic Flush Timeout Timer for the L2CAP
connection underlying the RFCOMM connection is set to 0xFFFF by
default? And when does the RFCOMM_LM option introduced?