From: Marcel Holtmann <marcel@holtmann.org>
To: Daniel Matthes <matthes@ftz.htwk-leipzig.de>
Cc: "'linux-bluetooth@vger.kernel.org'" <linux-bluetooth@vger.kernel.org>
Subject: Re: Establish a SPP Connection between two linux computers
Date: Mon, 27 Oct 2008 21:01:01 +0100 [thread overview]
Message-ID: <1225137661.7157.36.camel@californication> (raw)
In-Reply-To: <09E68493E3CD0D47BF12172B07F527382CC88B2B9C@mail1.ftz.htwk-leipzig.de>
Hi Daniel,
> I want to connect two debian (lenny) systems with two Anycom USB-200 USB Dongles, so I've downloaded the bluez-1.41 driver.
>
> I want to create a serial connection (by using SPP).
>
> At the beginning, I've tested the driver by connecting a linux operating system with a windows operating system.
>
> I run sdptool browse and I've found:
>
> Service Name: Serieller Bluetooth-Anschluss
> .
> Protocol Descriptor List:
> "L2CAP" (0x0100)
> "RFCOMM" (0x0003)
> Channel: 1
> ..
>
> After this I run rfcomm bind 0 <bdaddr> 1 and then I could establish with minicom a connection to the windows system and send data.
>
> In the second turn. I install bluez on the second linux computer. After running sdptool browse, there are no entries for serial support.
> I've also created an entry with sdptool add -channel 1 SP. Afterwards I could browse the serial port entry with the other computer,
> but there was also no way to connect the computers.
>
> So here my question: How can I connect two linux systems with bluetooth by using the serial port profile.
the rfcomm listen command might get you somewhere, but also rctest would
do it. However in the end you have to write your own daemon to do the
work correctly.
Regards
Marcel
prev parent reply other threads:[~2008-10-27 20:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-21 13:15 Establish a SPP Connection between two linux computers Daniel Matthes
2008-10-23 8:43 ` Daniel Matthes
[not found] ` <09E68493E3CD0D47BF12172B07F527382CCB5D1EBA@mail1.ftz.htwk-leipzig.de>
2008-10-24 13:23 ` AW: " Daniel Matthes
2008-10-27 20:01 ` Marcel Holtmann [this message]
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=1225137661.7157.36.camel@californication \
--to=marcel@holtmann.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=matthes@ftz.htwk-leipzig.de \
/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