Bluetooth file transfer on jessie
Hi, I transfer the photos off my mobile using bluetooth on wheezy and
I'm trying to do the same on jessie and having some difficulty.
Under wheezy, things are simple:
1)
# /usr/sbin/hciconfig hci0 piscan
makes the laptop discoverable.
2)
$ bluetooth-agent 1234
sets a passkey to connect to the laptop.
3)
$ yes | bt-obex -s /tmp/
OBEXAgent registered
saves me typing y as each file comes in from the mobile.
I omit (2) after having paired the first time.
With jessie, step (1) is fine and I can see:
$ hciconfig
hci0: Type: BR/EDR Bus: USB
BD Address: 00:1E:37:AF:C2:CC ACL MTU: 310:10 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:1056 acl:6 sco:0 events:48 errors:0
TX bytes:757 acl:7 sco:0 commands:29 errors:0
$ systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled)
Active: active (running) since Tue 2015-04-14 15:45:49 CDT; 53min ago
Docs: man:bluetoothd(8)
Main PID: 688 (bluetoothd)
Status: "Running"
CGroup: /system.slice/bluetooth.service
└─688 /usr/lib/bluetooth/bluetoothd
Apr 14 15:45:35 west bluetoothd[688]: Bluetooth daemon 5.23
Apr 14 15:45:49 west bluetoothd[688]: Starting SDP server
Apr 14 15:45:54 west bluetoothd[688]: Bluetooth management interface 1.6 initialized
Apr 14 15:45:55 west bluetoothd[688]: Sap driver initialization failed.
Apr 14 15:45:55 west bluetoothd[688]: sap-server: Operation not permitted (1)
$
But I don't know what to run to set up a passkey as in (2). None of
the man blue<foo> pages seem to say, as in wheezy:
bluetooth-agent [--adapter adapter-path] [--path agent-path] <passkey> [<device>]
(They are blueman-adapters blueman-applet blueman-assistant
blueman-browse blueman-manager blueman-sendto blueman-services
bluetoothctl.) In fact, most of the man pages look like skeletal
placeholders.
Packages containing blue|obex
wheezy: bluetooth bluez bluez-alsa bluez-cups bluez-gstreamer bluez-tools libbluetooth3 obexd-client obexd-server
jessie: blueman bluetooth bluez bluez-cups bluez-obexd bluez-test-scripts bluez-tools libbluetooth3:i386 obex-data-server
Any ideas?
Cheers,
David.
Reply to: