Linux bluetooth development
 help / color / mirror / Atom feed
From: "Daniel Hertrich" <daniel.hertrich@gmx.de>
To: bluez-devel@lists.sourceforge.net
Subject: [Bluez-devel] "Can't connect RFCOMM socket"
Date: Fri, 24 Mar 2006 11:55:15 +0100 (MET)	[thread overview]
Message-ID: <31511.1143197715@www019.gmx.net> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 2293 bytes --]

Dear bluez developers,

with the bluez drivers I tried to make a connection from my Sharp Zaurus
SL-C3000 PDA using various BT hardware (USB and compact flash devices) to my
Nokia phone. First I thought the problem was hardware-related, hence I
bought some other hardware and tried. But since I always get the same error
message I now suspect it is the software.
Could you please give some advice where to look for the source of the
problem?

What I have:
* Linux kernel 2.4.20 on ARM machine (Sharp Zaurus)
* Bluez drivers bluez-*.ipk from http://bluez.sf.net/download/zaurus 

What I do:
* Create rfcomm device: mknod -m 666 /dev/rfcomm0 c 216 0
* Plug in BT hardware via CF or USB
* hciconfig hci0 up
--> hciconfig then shows the bdaddr of the hardware
* hcitool -i hci0 scan
--> bdaddr of surrounding BT devices are shown, so hardware seems to work
fine
* rfcomm bind /dev/rfcomm0 00:02:EE:0D:71:96 1
--> The phone asks "connect to ?" I confirm and enter the pin which is
stored in /etc/bluetooth/pin. After a few seconds:
--> Can't connecto to RFCOMM socket: Resource temporarily unavailable


Some of the hci* tools complained about a missing libsdp library.
I investigated a little in the source tree of the libraries and found a
libsdp.c file (or similar) in the libbluetooth tree, so I assumed it is safe
to use libbluetooth instead of libsdp. So I did a
ln -s /usr/lib/libbluetooth.so /usr/lib/libsdp.so.2
and then the tools stopped complaining.
Can this be the reason?
But what to do instead against the libsdp problem?

Thanks for any hint!
daniel

-- 
Dipl.-Ing. Daniel Hertrich
Reichertshofen, Germany
http://www.hermocom.com
http://www.daniel-hertrich.de

Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

             reply	other threads:[~2006-03-24 10:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-24 10:55 Daniel Hertrich [this message]
2006-03-24 11:17 ` [Bluez-devel] "Can't connect RFCOMM socket" Bastien Nocera
2006-03-24 14:03   ` Daniel Hertrich
2006-03-24 14:55   ` Daniel Hertrich

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=31511.1143197715@www019.gmx.net \
    --to=daniel.hertrich@gmx.de \
    --cc=bluez-devel@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