From owner-freebsd-bluetooth@FreeBSD.ORG Mon May 18 16:01:56 2009 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 D167D106566B for ; Mon, 18 May 2009 16:01:56 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-px0-f106.google.com (mail-px0-f106.google.com [209.85.216.106]) by mx1.freebsd.org (Postfix) with ESMTP id A49FC8FC08 for ; Mon, 18 May 2009 16:01:56 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by pxi4 with SMTP id 4so2254049pxi.3 for ; Mon, 18 May 2009 09:01:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=SOUi9n8QOqKijFKfY4NdYO6YP9dZEpz9gFmYQh8HrsA=; b=xp2T7xMn1zRo1dFld/EtB8QPwq+p2S6GTEj3I5ePHLrhb1z3rYiBJ2gU8/91r0wDFZ mnBwT4FYoR1HxPHMW2F5m4xP0BPKz+Ax3TedgY0fIA9TXst8JftIgn+7qFzxaIuGgMCj VLLuvmtP1PPXXJeW1P1z7Oxv6XBTdfYQdWXBo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=pDUQVGL2WvABToJsB4hxqMs5fLQy2vehEaCgkoh6pRuYahfWqT96v+TLHyOg8QgTd4 gW+R4blnjlfQahsQABI3ekDwDP2+RU3xklxeTWLpzxfRFzAPXc+aRv/B6OSb/CLUtSB6 ZsV7so7Ry2M7sqe5o3RcDxUwHYOe6J6Bq2ACg= MIME-Version: 1.0 Received: by 10.114.184.7 with SMTP id h7mr11587025waf.151.1242662515559; Mon, 18 May 2009 09:01:55 -0700 (PDT) In-Reply-To: <200905161507.34845.doconnor@gsoft.com.au> References: <200905141438.17380.doconnor@gsoft.com.au> <200905161507.34845.doconnor@gsoft.com.au> Date: Mon, 18 May 2009 09:01:55 -0700 Message-ID: From: Maksim Yevmenkin To: "Daniel O'Connor" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-bluetooth@freebsd.org Subject: Re: btpand example 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: Mon, 18 May 2009 16:01:57 -0000 On Fri, May 15, 2009 at 10:37 PM, Daniel O'Connor wrote: > On Fri, 15 May 2009, Maksim Yevmenkin wrote: >> Daniel, >> >> > I just got btpand working with my phone (Samsung Omnia i900 - WinMo >> > 6.1 based) and here's what I did.. >> >> cool! thank for reporting. >> >> > Note that unlike the NetBSD example '-d ubt0' or '-d ubt0hci' >> > doesn't work as it reports unknown host. I have 'me' in >> > /etc/bluetooth/hosts, but that is non-standard (and '-d local' >> > doesn't work). >> >> could you please try this patch? [...] > OK this works, thanks! > btpand -d ubt0 -s NAP -i tap0 -a pda > > (and ubt0hci) great! thanks! i've committed it. >> > Also, I found the MTU by trial and error, 600 works for me, 650 >> > does not. I am guessing this is a bluetooth thing but I'm not >> > sure.. If it is would it be possible for btpand to set the MTU? >> >> sure :) however, like Iain said, it would be interesting to see what >> is going on. any chance we could get both hcidump (created with -w >> option) and tcpdump? could it be something that has to do with tcp >> mss fixup? > > Hmm, where do I get hcidump from? from ports comm/hcidump > Also, I just tried it again and now I can set the MTU to 1500 and it > works fine.. > > I have reset my phone in the mean time so maybe it was out of memory or > something silly like that.. hmm... interesting... if/when it happens again could you please get both hci and tcp dumps? thanks, max