From owner-freebsd-bluetooth@FreeBSD.ORG Thu Oct 28 21:03:26 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 55DD3106566B for ; Thu, 28 Oct 2010 21:03:26 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 04AE98FC13 for ; Thu, 28 Oct 2010 21:03:25 +0000 (UTC) Received: by ywh2 with SMTP id 2so1084170ywh.13 for ; Thu, 28 Oct 2010 14:03:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=pli5CAvBpB5WqJAoJrZ3oOzO56mNseWEgjohGvYJ924=; b=pPRng8QpSNiHsL9BibzF0r73DYsJkpH/Wj+sDfeOlROVG1uM8jyskRYW5ZSirt3q0c wuAmzgViKURTqmTHr1NFz0n7p/qLZrcgH7G4YfoInfUsTncTmdF+TvSeCWGXZWmlHOvq MnSY+sWPM9+voPBPr3uZ88xI95i/LSuGdtxEo= 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; b=hFj7bj5VtHLvoewavG4CZ8Wtq29OyVoVMF3QzKIQ1fd3fGyZeZaA7g3EkbIGmdeToY twwbmJa6ELn10YrzAaeh4OyrraVHeOQFI5nEuPa8s9DEwQlf9BkLN4pJwa8bpkbUJsDo P1YO4HNZMQdLm18oHqbutL0ObUeLWxQ51sZSA= MIME-Version: 1.0 Received: by 10.42.151.7 with SMTP id c7mr1891647icw.9.1288299804921; Thu, 28 Oct 2010 14:03:24 -0700 (PDT) Received: by 10.231.191.206 with HTTP; Thu, 28 Oct 2010 14:03:24 -0700 (PDT) In-Reply-To: References: <1287509041.022618.4884.nullmailer@galant.ukfsn.org> <1287561876.893861.6837.nullmailer@galant.ukfsn.org> <1287732977.227959.8695.nullmailer@galant.ukfsn.org> <1287738768.915002.8520.nullmailer@galant.ukfsn.org> <1287857292.298365.1038.nullmailer@galant.ukfsn.org> <1287874077.365931.1417.nullmailer@galant.ukfsn.org> <1287909035.704733.393.nullmailer@galant.ukfsn.org> <1288042690.562160.2361.nullmailer@galant.ukfsn.org> <1288081190.705299.12876.nullmailer@galant.ukfsn.org> Date: Thu, 28 Oct 2010 14:03:24 -0700 Message-ID: From: Maksim Yevmenkin To: Iain Hibbert Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-bluetooth@freebsd.org Subject: Re: obexapp get failure 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: Thu, 28 Oct 2010 21:03:26 -0000 On Thu, Oct 28, 2010 at 1:31 PM, Iain Hibbert wrote: > On Tue, 26 Oct 2010, Maksim Yevmenkin wrote: > >> not sure if obexftp still being actively used. last time i checked >> there was a bunch of bluetooth-obex related code in gnome/kde etc. i >> dont keep track of it - things change too fast in linux land :) > > perhaps development has ceased with obexftp. I know that there is an obexd > in development for BlueZ now > >> > that patch does indeed make it work! fetching an 8k file with 4k MTU: >> >> thanks for trying it! could you please also try PUT (to and from >> obexapp server) using wm6? > > sure > > obexapp client PUT -> wm6 server, no change (that code path is not used) yes > wm6 client PUT -> obexapp server, it works ok but I see that the obexapp > server does not ever actually provide a Connection ID but that we do send > one that is zero with the Put response because it is not initialized to > OBEXAPP_INVALID_CONNECTION_ID, eg oops... yes, you are correct, we should initialize this. thanks for the patch! > One thing that I can't check, what would happen if the "obexapp client GET > -> remote" session get response did contain a Connection ID already, > would we send it twice? i'm not sure... i'm tempted to say no because header are parsed, i.e. we effectively move headers to another list (that is why we need reparse call). however, this is something that openobex library does internally, so, we need to test it. would be really nice to try it again apple mac os x. those guys usually do things according to standards :) thanks, max