2004-04-20 05:18:28

by Anthony Yulo

[permalink] [raw]
Subject: Re: [Bluez-devel] Difference between rctest.c and main.c in/rfcomm directory


transforming a TTY device? so it would run as a standard Serial Port?

>From: Marcel Holtmann <[email protected]>
>To: Anthony Yulo <[email protected]>
>CC: BlueZ Mailing List <[email protected]>
>Subject: Re: [Bluez-devel] Difference between rctest.c and main.c in/rfcomm
>directory
>Date: Mon, 19 Apr 2004 18:13:20 +0200
>
>Hi Anthony,
>
> > I am only familiar with rfcomm that uses plain sockets...
> >
> > I am only familiart with the rctest.c code that just setup the socket
>for
> > RFCOMM..
> >
> > but i noticed some additional constants i.e. RFCOMM_REUSE_DLC,
> > RFCOMM_RELEASE_ONHUP.. in main.c of the /rfcomm directory (src)
> >
> > Can someone explain to me briefly whats this for?
>
>they are for transforming a Bluetooth RFCOMM socket into a TTY device.
>
>Regards
>
>Marcel
>
>

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail


2004-04-20 11:04:45

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] Difference between rctest.c and main.c in/rfcomm directory

Hi Anthony,

> transforming a TTY device? so it would run as a standard Serial Port?

yes and the only user of these flags and ioctl's should be the rfcomm
program.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel