From: Marcel Holtmann <marcel@holtmann.org>
To: Thomas Luby <thomas.luby@nokia.com>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Serial connection between two Linux machines
Date: Wed, 21 Jul 2004 18:16:02 +0200 [thread overview]
Message-ID: <1090426562.21683.119.camel@pegasus> (raw)
In-Reply-To: <40FE8D68.9040007@nokia.com>
Hi Thomas,
> I have two Linux machines. I wish to connect to one from the other
> using a terminal over Bluetooth
>
> The problem I have is annoying because it basically works. Anyway,
> here is the problem
>
> Master (USB bluetooth):
>
> modprobe hci_usb
> hciconfig hci0 up
> hciconfig
>
> mknod -m 666 /dev/rfcomm0 c 216 0
> rfcomm bind 0 00:60:57:18:FB:6E 1
>
> Slave (UART bluetooth):
>
> hciattach /dev/ttyS0 -s 115200 csr
> hciconfig hci0 up
> hcid
> dund --persist --listen
> sdpd
> sdptool add SP --channel=1
>
>
> I open a terminal on the master. A connection is present.
>
> I type echo "Hello" > /dev/bluetooth/rfcomm/0
>
> and on the master terminal I see "Hello"
>
> And this is where the problem comes. If I repeat the echo, I get:
> cannot create /dev/rfcomm0: No such device
>
> because the connection was closed
>
> I have sent huge files down the link with no problem...but when it
> reaches the end of the file, the connection closes everytime!
>
> If anyone knows what Im doing wrong I would appreciate it! I have
> searched for 2 days now and not managed to find the solution
use "rfconn connect ..." instead of "rfcomm bind ..." or keep the link
opened with "cat /dev/rfcomm0".
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2004-07-21 16:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-21 15:36 [Bluez-users] Serial connection between two Linux machines Thomas Luby
2004-07-21 16:16 ` Marcel Holtmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-07-21 16:36 Thomas.Luby
2004-07-21 16:50 ` Marcel Holtmann
[not found] <37AD475D23C5D0469726DD437E59714151177E@esebe022.ntc.nokia.com>
2004-07-22 6:54 ` Marcel Holtmann
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=1090426562.21683.119.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-users@lists.sourceforge.net \
--cc=thomas.luby@nokia.com \
/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