Return-Path: MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 27 Apr 2010 10:20:11 +0300 Message-ID: Subject: Re: obexd OPP pull problem From: Luiz Augusto von Dentz To: Daniel Abraham Cc: linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi, On Tue, Apr 27, 2010 at 2:12 AM, Daniel Abraham wrote: > I'm trying to write a Python script that pulls a business card via OPP > (almost the same as the obexd test script "pull-business-card", except > it also handles pairing). > > My problem is that when I call the method "PullBusinessCard", it > returns almost immediately, withtout a D-Bus exception (i.e. should be > successful), but no output file can be found. > > Here's what I see in /var/log/messages: > > Apr 27 01:20:54 dabraham-mobl bluetoothd[1529]: link_key_request > (sba=00:21:86:7A:E7:67, dba=00:1C:26:FC:15:AF) > Apr 27 01:20:54 dabraham-mobl obex-client[3067]: Transfer(0xd4cb40) > Error: Method not allowed It should return a D-Bus error due to transfer error, which is why it doesn't complete the transfer, so it might be a bug in vcard pull logic, but why the transfer is failing I don't know it shouldn't matter if you are paring or not. -- Luiz Augusto von Dentz Computer Engineer