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:
opp-pull.hcidump
Description: Binary data