Hi all,

to understand the authentication procedure, I make
a test between 2 entities designed by "A" and "B".

1. A connection is realized without authentication between these two entities, (they never paired before)

2. Then entity "A" launches an authentication request,

3. As they never paired no link key is available for the link "A"-"B", the pairing procedure
works well (same pin code at each side)


4. I disconnect the link "A"-"B", I reconnect "A" and "B" without authentication,

5. "A" executes an authentication request,


At this time, the authentication procedure doesn't need a pairing as a link key is available.

My first question is what can I do to force the pairing before an authentication request ?
In other word, where can I delete the link key for the link "A"-"B" in bluez ?


My second question, is how to configure security in a pan network ?

Can I set security at the L2CAP level with specific option during the setsockopt ?


thanks in advance for any help or suggestion


Michel




----------------------------------------------------------------