Date: Fri, 23 Mar 2007 09:26:34 -0700 From: "Maksim Yevmenkin" <maksim.yevmenkin@gmail.com> To: "ml-vic@de-martino.it" <ml-vic@de-martino.it> Cc: freebsd-bluetooth@freebsd.org Subject: Re: L2CAP doesn't seem to be up Message-ID: <bb4a86c70703230926u54855c2bg8e25ff346e0ff6d@mail.gmail.com> In-Reply-To: <4603f621.1a4.33b3.1705538524@webmailh3.aruba.it> References: <4603f621.1a4.33b3.1705538524@webmailh3.aruba.it>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3/23/07, ml-vic@de-martino.it <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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bb4a86c70703230926u54855c2bg8e25ff346e0ff6d>