From owner-freebsd-bluetooth@FreeBSD.ORG Tue Aug 22 13:45:08 2006 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 841FC16A4E2 for ; Tue, 22 Aug 2006 13:45:08 +0000 (UTC) (envelope-from freebsd@abv.bg) Received: from smtp-out.abv.bg (smtp-out.abv.bg [194.153.145.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A8AC43D76 for ; Tue, 22 Aug 2006 13:45:02 +0000 (GMT) (envelope-from freebsd@abv.bg) Received: from mail04.abv.bg (mail04.ni.bg [192.168.151.19]) by smtp-out.abv.bg (Postfix) with ESMTP id 2BD37EB7BA for ; Tue, 22 Aug 2006 16:45:01 +0300 (EEST) Received: from mail04.abv.bg (localhost.localdomain [127.0.0.1]) by mail04.abv.bg (Postfix) with ESMTP id 778AB8AEEB for ; Tue, 22 Aug 2006 16:45:00 +0300 (EEST) Message-ID: <208735345.378631156254300487.JavaMail.nobody@mail04.abv.bg> Date: Tue, 22 Aug 2006 16:45:00 +0300 (EEST) From: Mario Pavlov To: freebsd-bluetooth@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 8bit X-Mailer: AbvMail 1.0 X-Originating-IP: 85.187.214.163 Subject: pairing PC and phone X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Aug 2006 13:45:08 -0000 Hello guys I'm tring to get my FreeBSD-6.1-STABLE to transfer files with my NOKIA 6021 phone here is what I do: # kldload ng_ubt # /etc/rc.bluetooth start ubt0 BD_ADDR: 11:11:11:11:11:11 Features: 0xbf 0xfe 0x8d 0x78 0x8 0x18 00 00 <3-Slot> <5-Slot> Max. ACL packet size: 678 bytes Number of ACL packets: 8 Max. SCO packet size: 48 bytes Number of SCO packets: 10 # hccontrol -n ubt0hci inquiry Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: 00:17:b0:53:55:29 Page Scan Rep. Mode: 0x2 Page Scan Period Mode: 0x2 Page Scan Mode: 00 Class: 52:02:04 Clock offset: 0x458 Inquiry complete. Status: No error [00] # hccontrol -n ubt0hci remote_name_request 00:17:b0:53:55:29 0 0 0 BD_ADDR: 00:17:b0:53:55:29 Name: Tilifon everything looks fine this is my config # cat /etc/bluetooth/hcsecd.conf device { bdaddr 00:00:00:00:00:00; name "Default entry"; key nokey; pin nopin; } device { bdaddr 00:17:b0:53:55:29; name "Tilifon"; key nokey; pin "nopin"; } so I run the hcsecd daemon and I try: # obexapp -c -a 00:17:b0:53:55:29 -C 1 my phone tells me that some device want to pair with it I chose accept and the phone is prompting me for passcode... I enter something and it sasy "pairing failed" and the obexapp exits how to deal with this passcode ? how to tell the obexapp to use some passcode ? I've also tried this: # hccontrol -n ubt0hci write_authentication_enable 1 # sdpcontrol -a 00:17:b0:53:55:29 browse and it prompts me for passcode again and the result is the same: "pairing failed" than I've tried this: # hccontrol -n ubt0hci write_authentication_enable 0 # sdpcontrol -a 00:17:b0:53:55:29 browse Record Handle: 0x00010078 Service Class ID List: Dial-Up Networking (0x1103) Generic Networking (0x1201) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 1 Bluetooth Profile Descriptor List: Dial-Up Networking (0x1103) ver. 1.0 Record Handle: 0x00010079 Service Class ID List: Serial Port (0x1101) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 15 Record Handle: 0x0001007a Service Class ID List: Serial Port (0x1101) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 3 Record Handle: 0x0001007b Service Class ID List: Handsfree Audio Gateway (0x111f) Generic Audio (0x1203) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 13 Bluetooth Profile Descriptor List: Handsfree (0x111e) ver. 1.1 Record Handle: 0x0001007c Service Class ID List: Headset Audio Gateway (0x1112) Generic Audio (0x1203) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 12 Bluetooth Profile Descriptor List: Headset (0x1108) ver. 1.0 Record Handle: 0x00010081 Service Class ID List: SIM Access (0x112d) Generic Telephony (0x1204) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 4 Bluetooth Profile Descriptor List: SIM Access (0x112d) ver. 1.0 Record Handle: 0x00010083 Service Class ID List: OBEX Object Push (0x1105) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 9 OBEX (0x0008) Bluetooth Profile Descriptor List: OBEX Object Push (0x1105) ver. 1.0 Record Handle: 0x00010084 Service Class ID List: OBEX File Transfer (0x1106) Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 10 OBEX (0x0008) Bluetooth Profile Descriptor List: OBEX File Transfer (0x1106) ver. 1.0 Record Handle: 0x00010086 Service Class ID List: 0x00000002-0000-1000-8000-0002ee000002 Protocol Descriptor List: L2CAP (0x0100) RFCOMM (0x0003) Protocol specific parameter #1: u/int8/bool 11 OBEX (0x0008) and again with obex, but still the same... can I anyone help me please thank you :) ----------------------------------------------------------------- http://ide.li/ - портал за българите по света. Статии, новини, форуми, снимки, информация.