linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* obexd OPP pull problem
@ 2010-04-26 23:12 Daniel Abraham
  2010-04-27  7:20 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Abraham @ 2010-04-26 23:12 UTC (permalink / raw)
  To: linux-bluetooth

[-- 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 --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-05-13  1:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-26 23:12 obexd OPP pull problem Daniel Abraham
2010-04-27  7:20 ` 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

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).