Re: [Bluez-users] Problems with security block

Marcel Holtmann
2006-10-04T20:05:39Z

Hi Per,

> 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?

show us the output of "hcidump -X -V" for both attempts.

Regards

Marcel