Return-Path: Message-ID: <1ffb4b0705072008471f85c2df@mail.gmail.com> From: Mike Lee To: bluez-users@lists.sourceforge.net Subject: Re: [Bluez-users] Bluetooth as ttyS0 In-Reply-To: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2300_12630985.1121874453586" References: Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed, 20 Jul 2005 23:47:33 +0800 ------=_Part_2300_12630985.1121874453586 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 7/20/05, fyp@dreamx.org wrote:=20 >=20 > Hi! >=20 > I've having reading many sites and found that to bind a port for > bluetooth i need rfcomm. I've also tried the steps in doing it but it > doesn't seem like what I really wanted. >=20 > My objective is to make a USB Bluetooth dongle work as a Serial port > (i.e ttyS0). I've a USB Bluetooth dongle and a RS232 Bluetooth device. > This is to emulate a serial cable replacement. > A simple diagram of what I really want to achieve is osmething like > this: >=20 > |LinuxPC| USB<-->Bluetooth ~~~~~~ Bluetooth<-->RS232 |LinuxPC| I guess you are using rs232 bluetooth dongle in the right side. Then firs= t=20 of all, you need to know how to get the dongle works. For the usb dongle ,= =20 kernel should dynamic detect and what you need to do is to setup hcid. For= =20 the RS232 dongle, you need additional command hciattach to setup the dongle= =20 and run hcid.=20 Up to now , you should get something by "hciconfig -a". Then you should us= e=20 rfcomm command from bluez-util to setup the link between computer. Mike,Lee ------=_Part_2300_12630985.1121874453586 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

On 7/20/05, = fyp@dreamx.org <fyp@dreamx.org> wrote:
Hi!

I've having reading m= any sites and found that to bind a port for
bluetooth i need rfcomm. I'v= e also tried the steps in doing it but it
doesn't seem like what I really wanted.

My objective is to make = a USB Bluetooth dongle work as a Serial port
(i.e ttyS0). I've a USB Blu= etooth dongle and a RS232 Bluetooth device.
This is to emulate a serial = cable replacement.
A simple diagram of what I really want to achieve is osmething like
= this:

|LinuxPC| USB<-->Bluetooth ~~~~~~ Bluetooth<-->RS2= 32 |LinuxPC|
 
    I guess you are using rs232 bluetooth dongle in the= right side.  Then first of all, you need to know how to get the dongl= e works. For the usb dongle , kernel should dynamic detect and what you nee= d to do is to setup hcid. For the RS232 dongle, you need additional command= hciattach to setup the dongle and run hcid.=20
   Up to now , you should get something by "hciconfig -= a". Then you should use rfcomm command from bluez-util to setup the li= nk between computer.
 
 
Mike,Lee

 
------=_Part_2300_12630985.1121874453586-- ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users