From: Daniel Abraham <daniel.shrugged@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: obexd OPP pull problem
Date: Tue, 27 Apr 2010 02:12:52 +0300 [thread overview]
Message-ID: <t2m2c3916b71004261612i68ccba50h78c83ab3a02713cb@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1342 bytes --]
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
Apr 27 01:20:58 dabraham-mobl kernel: btusb_intr_complete: hci0 urb
ffff880045f54d80 failed to resubmit (1)
Apr 27 01:20:58 dabraham-mobl kernel: btusb_bulk_complete: hci0 urb
ffff880045f54cc0 failed to resubmit (1)
Apr 27 01:20:58 dabraham-mobl kernel: btusb_bulk_complete: hci0 urb
ffff880045f54540 failed to resubmit (1)
Both computers list the other side as visible & paired, both have OPP
enabled, other types/directions of OBEX traffic work well, so I'm
baffled...
By the way, I'm using obexd 0.23, bluez 4.63, and the other side is an
recent IVT stack (with a configured default vCard of course).
Also attaching hcidump file.
Any ideas?
Also, a second question: is there any way to define in BlueZ a default
vCard to serve?
Thanks
[-- Attachment #2: opp-pull.hcidump --]
[-- Type: application/octet-stream, Size: 5537 bytes --]
next reply other threads:[~2010-04-26 23:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-26 23:12 Daniel Abraham [this message]
2010-04-27 7:20 ` obexd OPP pull problem Luiz Augusto von Dentz
2010-04-27 8:33 ` Luiz Augusto von Dentz
2010-04-27 11:51 ` Daniel Abraham
2010-05-12 21:21 ` Daniel Abraham
2010-05-13 1:00 ` Vinicius Gomes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=t2m2c3916b71004261612i68ccba50h78c83ab3a02713cb@mail.gmail.com \
--to=daniel.shrugged@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).