From: Per Thomas Jahr <perja@extern.uio.no>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: [Bluez-users] Problems with security block
Date: Wed, 04 Oct 2006 22:00:40 +0200 [thread overview]
Message-ID: <1159992040.19347.29.camel@localhost.localdomain> (raw)
Hi,
(I hope this is the correct list to post questions like this to).
I'm programming a Java server that listens for incoming bluetooth
connections. This server runs on Fedora 4 with the avetana library as
the layer between Java and bluez. For the client, I use a Sony Ericsson
K800i with a small application written in Java Micro Edition.
Most things works fine, except for the second connection attempt from my
client to the server. For this attempt, I always get the message
"security block" in the client and the connection attempt fails. The
only way to connect again is to restart my server. Using hcidump shows
that there is far less information exchanged in the second attempt than
in the first.
Does anyone know what happens? It seems like bluez keeps information
about known devices or handle devices that have connected differently.
If so, can I somehow get bluez to forget about already connected
devices?
The documentation [1] says this about the error I'm getting:
SECURITY_BLOCK:
"Indicates the connection failed because the security settings on the
local device or the remote device were incompatible with the request."
Thanks
Per Thomas Jahr
[1]
http://java.sun.com/javame/reference/apis/jsr082/javax/bluetooth/BluetoothConnectionException.html
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next reply other threads:[~2006-10-04 20:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-04 20:00 Per Thomas Jahr [this message]
2006-10-04 20:05 ` [Bluez-users] Problems with security block Marcel Holtmann
2006-10-04 20:13 ` Per Thomas Jahr
2006-10-04 20:20 ` Marcel Holtmann
2006-10-05 6:49 ` Per Thomas Jahr
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=1159992040.19347.29.camel@localhost.localdomain \
--to=perja@extern.uio.no \
--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