Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2009 09:01:55 -0700
From:      Maksim Yevmenkin <maksim.yevmenkin@gmail.com>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        freebsd-bluetooth@freebsd.org
Subject:   Re: btpand example
Message-ID:  <bb4a86c70905180901mf4a2cc0j1a6a73c4d62c4a12@mail.gmail.com>
In-Reply-To: <200905161507.34845.doconnor@gsoft.com.au>
References:  <200905141438.17380.doconnor@gsoft.com.au> <bb4a86c70905141005i3df732c4sc87dc76f7a3675e6@mail.gmail.com> <200905161507.34845.doconnor@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 15, 2009 at 10:37 PM, Daniel O'Connor <doconnor@gsoft.com.au> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bb4a86c70905180901mf4a2cc0j1a6a73c4d62c4a12>