Skip to contentSkip to conversation

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

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

lore
Share & tools
lore
#0 lore raw

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

Quoted 17 lines

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,

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

Quoted 5 lines

RFCOMM..

but i noticed some additional constants i.e. RFCOMM_REUSE_DLC, RFCOMM_RELEASE_ONHUP.. in main.c of the /rfcomm directory (src)

Quoted 9 lines
Quoted 1 line

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

maintainer
#1 lore raw

Hi Anthony,

Quoted 1 line

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