From owner-freebsd-bluetooth@FreeBSD.ORG Fri Oct 22 07:36:27 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 477861065672 for ; Fri, 22 Oct 2010 07:36:27 +0000 (UTC) (envelope-from plunky@rya-online.net) Received: from smtp6.freeserve.com (smtp5.freeserve.com [193.252.22.151]) by mx1.freebsd.org (Postfix) with ESMTP id D47EE8FC13 for ; Fri, 22 Oct 2010 07:36:26 +0000 (UTC) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3503.me.freeserve.com (SMTP Server) with ESMTP id 9C26B7000081; Fri, 22 Oct 2010 09:36:24 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3503.me.freeserve.com (SMTP Server) with ESMTP id 8DA627000086; Fri, 22 Oct 2010 09:36:24 +0200 (CEST) Received: from rya-online.net (unknown [89.194.103.211]) by mwinf3503.me.freeserve.com (SMTP Server) with SMTP id 8F0A37000081; Fri, 22 Oct 2010 09:36:23 +0200 (CEST) X-ME-UUID: 20101022073623585.8F0A37000081@mwinf3503.me.freeserve.com Received: (nullmailer pid 10587 invoked by uid 1000); Fri, 22 Oct 2010 07:36:17 -0000 Date: Fri, 22 Oct 2010 08:36:17 +0100 (BST) To: Maksim Yevmenkin In-Reply-To: References: <1287509041.022618.4884.nullmailer@galant.ukfsn.org> <1287561876.893861.6837.nullmailer@galant.ukfsn.org> User-Agent: Alpine 2.00 (NEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Message-Id: <1287732977.227959.8695.nullmailer@galant.ukfsn.org> From: Iain Hibbert Cc: freebsd-bluetooth@freebsd.org Subject: Re: obexapp print stream statistics after transfer 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, 22 Oct 2010 07:36:27 -0000 On Thu, 21 Oct 2010, Maksim Yevmenkin wrote: > thanks for your patches, Iain. please find attached combined patch. > please let me know if this works, and i will commit and release next > version yes, that all works fine thanks I have one bug-report that I haven't looked into properly, not sure if its obexapp or my phone (windows mobile 6) that is the problem.. if I connect to FTRN on phone, using folder browsing service and try GET on a larger file it fails and loses sync. I've done some tests and the largest file I can GET is 65528 bytes (can send larger files from either side no problem) for example with two files (that are text files full of 'a') % obexapp -a touch -C ftrn -f obex> ls Access Owner Group Size Modified Name .. n/a n/a 65528 n/a test.small n/a n/a 65529 n/a test.large Success, response: OK, Success (0x20) obex> get test.small 65528 bytes streamed in 4 seconds (16382 bytes/sec) Success, response: OK, Success (0x20) obex> get test.large Failure, response: Unknown response (0x53) obex> ls Access Owner Group Size Modified Name Could not parse XML: (null) Success, response: OK, Success (0x20) obex> ls Access Owner Group Size Modified Name .. n/a n/a 65528 n/a test.small n/a n/a 65529 n/a test.large Success, response: OK, Success (0x20) obex> get test.small 65528 bytes streamed in 3 seconds (21842 bytes/sec) Success, response: OK, Success (0x20) obex> dis Success, response: OK, Success (0x20) I guess its something to do with a uint16_t and a small amount of header but I've no time to look at that until early next week.. regards, iain