Hi to all,
if i set my usb dongle in authentication mode
(hciconfig hci0 auth) and connect to my bluetooth phone,
(hcitool cc BTADDR)  the phone  ask me for the pin of my pc,
and after i ve entered correctly, the connection i created.

My question is: how can i control the same thing on my
bluez pc ? If i do the same (hcitool cc BTADDR) to connect
another pc instead of my phone no PIN is requested and
create connection fails!

I need to know this beacause i need to write a simple program
that listen for l2cap connection on a socket, GIVE THE PIN, and
allows the connection to be estabilished.

Thanks a lot!

Andrea