From: Rizzo Davide <rizzo@eidosspa.it>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] How to emulate slave serial ports ?
Date: Tue, 09 Nov 2004 18:16:52 +0100 [thread overview]
Message-ID: <4190FB84.1040000@eidosspa.it> (raw)
Hi to all.
I'm experimenting with Bluez, I got some important results, but ...
I found a lot of mailings about how to use RFCOMM as a master, so how to
use Phones as slaves to connect to internet or phone lines.
My approach is different: I have a target system based on Linux 2.6.9
(ARM architecture), on which I fitted an USB to Bluetooth dongle. I want
my target system to make available one virtual serial port, and to
connect to it from an external Windows-based PC.
Now I have all low-level working, I use hciconfig, hcid and sdpd
(currently my sdpd has some problems, it doesnt'returns so I have to
call it as "hcid & ls"). Currently, from the Windows PC I successfully
browsed my linux device and paired it, but I'm not able to view the list
of exported services.
I understand how to establish a serial connection to an external device,
knowing its 6-bytes address, but I didn't found any literature on how to
export a "virtual" serial port.
Should I use "sdptool add SP" ? Or maybe "rfcomm listen /dev/rfcomm0" ?
Which tool is needed to achieve this ?
Thanks
Davide
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users/listinfo/bluez-users
next reply other threads:[~2004-11-09 17:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-09 17:16 Rizzo Davide [this message]
2004-11-09 18:13 ` [Bluez-users] How to emulate slave serial ports ? Marcel Holtmann
2004-11-10 8:28 ` [Bluez-users] " Davide Rizzo
2004-11-10 9:18 ` Marcel Holtmann
2004-11-10 9:51 ` Davide Rizzo
2004-11-10 9:59 ` Marcel Holtmann
2004-11-10 12:17 ` Davide Rizzo
2004-11-10 13:46 ` Marcel Holtmann
2004-11-10 14:34 ` Davide Rizzo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4190FB84.1040000@eidosspa.it \
--to=rizzo@eidosspa.it \
--cc=bluez-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox