2004-04-19 15:37:30

by Anthony Yulo

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

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?

tnx..

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail



-------------------------------------------------------
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


2004-04-19 16:13:20

by Marcel Holtmann

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

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




-------------------------------------------------------
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