From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: From: Andrea Carlevato To: bluez-devel@lists.sourceforge.net Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6890_26755820.1126701916002" Subject: [Bluez-devel] How 'respond' in BlueZ to a PIN request ? Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed, 14 Sep 2005 14:45:16 +0200 ------=_Part_6890_26755820.1126701916002 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi to all, if i set my usb dongle in authentication mode (hciconfig hci0 auth) and connect to my bluetooth phone,=20 (hcitool cc BTADDR) the phone ask me for the pin of my pc,=20 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!=20 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 ------=_Part_6890_26755820.1126701916002 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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




------=_Part_6890_26755820.1126701916002-- ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel