From owner-freebsd-bluetooth@FreeBSD.ORG Fri Nov 12 14:28:36 2010 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFF3D106574E for ; Fri, 12 Nov 2010 14:28:36 +0000 (UTC) (envelope-from marek_sal@wp.pl) Received: from mx4.wp.pl (mx4.wp.pl [212.77.101.8]) by mx1.freebsd.org (Postfix) with ESMTP id 4D96A8FC18 for ; Fri, 12 Nov 2010 14:28:35 +0000 (UTC) Received: (wp-smtpd smtp.wp.pl 24355 invoked from network); 12 Nov 2010 15:01:54 +0100 Received: from cwx170.internetdsl.tpnet.pl (HELO marekdesktop) (marek_sal@[83.19.131.170]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with SMTP for ; 12 Nov 2010 15:01:54 +0100 Message-ID: From: "Marek Salwerowicz" To: Date: Fri, 12 Nov 2010 15:01:48 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5843 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-SPAM: NO 0000000 [QbIm] X-Mailman-Approved-At: Fri, 12 Nov 2010 16:31:45 +0000 Subject: Can't l2ping to BT device 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: Fri, 12 Nov 2010 14:28:36 -0000 Hi all, 'hccontrol inquiry' discovers the device I want to connect to, but l2ping can't ping to it: vv1% hccontrol inquiry Inquiry result, num_responses=1 Inquiry result #0 BD_ADDR: FF2 Page Scan Rep. Mode: 0x1 Page Scan Period Mode: 00 Page Scan Mode: 00 Class: 00:1f:00 Clock offset: 0x77cd Inquiry complete. Status: No error [00] vv1% l2ping -a FF2 0 bytes from FF2 seq_no=0 time=5127.835 ms result=0x4 0 bytes from FF2 seq_no=1 time=5128.129 ms result=0x4 0 bytes from FF2 seq_no=2 time=5127.133 ms result=0x4 0 bytes from FF2 seq_no=3 time=5128.159 ms result=0x4 ^C vv1% it's a new pair, so I typed config in hcsecd.conf: device { bdaddr 00:06:66:00:e2:84; # 'FF2' results in syntax error, need to be MAC address name "so51-FF2"; key nokey; pin "1234"; } and then restarted hcsecd during l2ping'ing hcsecd throws only this message: hcsecd[2315]: Received unexpected HCI event, event=0xff # hcidump : vv1% # hcidump HCIDump - HCI packet analyzer ver 1.5 device: any snap_len: 65535 filter: 0xffffffffffffffff > HCI Event: Vendor(0xff) plen 2 > HCI Event: Connect Complete(0x03) plen 11 < HCI Command: Create Connection(0x01|0x0005) plen 13 > HCI Event: Vendor(0xff) plen 2 > HCI Event: Command Status(0x0f) plen 4 > HCI Event: Vendor(0xff) plen 2 > HCI Event: Connect Complete(0x03) plen 11 < HCI Command: Create Connection(0x01|0x0005) plen 13 > HCI Event: Vendor(0xff) plen 2 > HCI Event: Command Status(0x0f) plen 4 > HCI Event: Vendor(0xff) plen 2 > HCI Event: Connect Complete(0x03) plen 11 ^C vv1% l2ping from other machine (stays next to vv1) to FF2 works great - the config is the same regards, -- Marek