Skip to contentSkip to conversation

Difference between rctest.c and main.c in /rfcomm directory

Bluez-devel Anthony Yulo 2 participants 2 messages Apr 19, 2004 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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

maintainer
#1 lore raw

Hi Anthony,

Quoted 9 lines

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