From owner-freebsd-bluetooth@FreeBSD.ORG Fri Mar 23 16:26:35 2007 Return-Path: X-Original-To: freebsd-bluetooth@freebsd.org Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AB40B16A400 for ; Fri, 23 Mar 2007 16:26:35 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.247]) by mx1.freebsd.org (Postfix) with ESMTP id 6737D13C4C8 for ; Fri, 23 Mar 2007 16:26:35 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1304542ana for ; Fri, 23 Mar 2007 09:26:34 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=n3Ccp33dfKyMjvw9e3dt6Oe8y30T/2qtCijOKhoIGjd1SPt/tGKJYmNHrGcc9wIWPi2x8Y1CYlMepvBjt21JK/7n1TYIQQzWVDeCp58kV68YLue8SK/+mqywaDU6ffezwZSfBIZ7Lw8Y9rbYbYviACpLtn20gkMjBclECkhMLsY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=aK3KAEHJOUgUsJE4t0E5+PYWVuWZdChUiyv1CITYtoBA58SWMrmfjuDmy0XPirlgIQP2CVwJMjdd/qcEqycFhmSBe5SqpMQJZqxAhcef9vDAr7dGeSCruqLN9MyhtXZIQsYycs9MnIgjIJiz/iUGqufR7pSmzFYKl3QbzpszWdA= Received: by 10.100.44.13 with SMTP id r13mr2853899anr.1174667194473; Fri, 23 Mar 2007 09:26:34 -0700 (PDT) Received: by 10.100.168.6 with HTTP; Fri, 23 Mar 2007 09:26:34 -0700 (PDT) Message-ID: Date: Fri, 23 Mar 2007 09:26:34 -0700 From: "Maksim Yevmenkin" To: "ml-vic@de-martino.it" In-Reply-To: <4603f621.1a4.33b3.1705538524@webmailh3.aruba.it> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4603f621.1a4.33b3.1705538524@webmailh3.aruba.it> Cc: freebsd-bluetooth@freebsd.org Subject: Re: L2CAP doesn't seem to be up 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, 23 Mar 2007 16:26:35 -0000 On 3/23/07, ml-vic@de-martino.it wrote: > After struggling with the pieces of documentation around, I > was able to make my cellular phone to pair with the noteboob > via a usb bt dongle. > Now it is connected. Nevertheless if I--->>> > > ## 00:12:d2:65:c2:03 My cell phone > > NbBSD# l2ping -a 00:12:d2:65:c2:03 > 0 bytes from e61 seq_no=0 time=2458.346 ms result=0 > 0 bytes from e61 seq_no=1 time=91.986 ms result=0 > 0 bytes from e61 seq_no=2 time=55.169 ms result=0 this looks normal. nokia's usually do not return payload in l2cap echo response. > NbBSD# l2control -a 00:12:d2:65:c2:03 read_Channel_List > l2control: Could not bind socket, bdaddr=00:12:d2:65:c2:03: > Network is down for the last time, please _read_man_page_ % man l2control -a BD_ADDR Connect to the local device with the specified BD_ADDR. Example: -a 00:01:02:03:04:05. the address you specify in the l2control command line is the address of _local_ device. not remote. local means address of your bluetooth dongle. also l2ping will not create a l2cap connection because l2cap echo request/response go over control l2cap channel. just try to use sdpcontrol to query your phone for servies. if you see response - then everything is working. > and also > > NbBSD# hccontrol -n ubt0hci create_connection > 00:12:d2:65:c2:03 > BD_ADDR: e61 > Connection handle: 42 > Encryption mode: Disabled [0] why are you keep doing this? you do not have to use low level (i.e. hci) commands to create connections etc. max > > NbBSD# hccontrol -n ubt0hci read_connection_list > Remote BD_ADDR Handle Type Mode Role Encrypt Pending > Queue State > > > NbBSD# l2control -a 00:12:d2:65:c2:03 read_Connection_List > l2control: Could not bind socket, bdaddr=00:12:d2:65:c2:03: > Network is down > > If I try > > NbBSD# hccontrol -n ubt0hci create_connection e61 > BD_ADDR: e61 > Connection handle: 42 > Encryption mode: Disabled [0] > NbBSD# hccontrol -n ubt0hci read_connection_list > Remote BD_ADDR Handle Type Mode Role Encrypt Pending > Queue State > > Why is the L2CAP is not up? > > Ciao > Vittorio > _______________________________________________ > freebsd-bluetooth@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-bluetooth > To unsubscribe, send any mail to "freebsd-bluetooth-unsubscribe@freebsd.org" >