Go to advanced search

by maranhao
Mon Jun 17, 2019 6:49 pm
Forum: Beginners
Topic: [Guide] Receive files over Bluetooth on the command line
Replies: 13
Views: 20624

Re: [Guide] Receive files over Bluetooth on the command line

So the output of

Code: Select all

systemctl status obexpush
that demonstrates the session failed to setup is identical to what I see when I terminate the obexpush service by pressing Ctrl+C. It is as if the autostart service file kills the process upon completion of the autostart. Does that make sense?
by maranhao
Mon Jun 17, 2019 6:40 pm
Forum: Troubleshooting
Topic: RPi3 to RPi3 bluetooth file transfer
Replies: 8
Views: 2953

Re: RPi3 to RPi3 bluetooth file transfer

So I was able to resolve the file transfer issues by utilizing obexftp instead of ussp-push.

After installing obexftp, the command is as follows:

Code: Select all

obexftp --nopath --noconn --bluetooth BT_MAC_ADDRESS --channel BT_COMM_CHANNEL --put FILE
by maranhao
Sun Jun 16, 2019 11:50 pm
Forum: Troubleshooting
Topic: RPi3 to RPi3 bluetooth file transfer
Replies: 8
Views: 2953

Re: RPi3 to RPi3 bluetooth file transfer

1. Do I have to repair and retrust the devices every time I turn them off and then back on? So on RPi #1 I executed sudo obexpushd -B23 -o /bluetooth -n I have paired and trusted the devices in bluetoothctl. On RPi #2 I executed sudo ussp-push B8:27:EB:B3:F4:[email protected] /home/pi/Documents/Attendance\ Kios...
by maranhao
Sun Jun 16, 2019 10:08 pm
Forum: Beginners
Topic: [Guide] Receive files over Bluetooth on the command line
Replies: 13
Views: 20624

Re: [Guide] Receive files over Bluetooth on the command line

Yes, uppercase C. My full /etc/systemd/system/dbus-org.bluez.service file is as below. [Unit] Description=Bluetooth service Documentation=man:bluetoothd(8) ConditionPathIsDirectory=/sys/class/bluetooth [Service] Type=dbus BusName=org.bluez ExecStart=/usr/lib/bluetooth/bluetoothd -C NotifyAccess=main...
by maranhao
Sun Jun 16, 2019 8:53 pm
Forum: Troubleshooting
Topic: RPi3 to RPi3 bluetooth file transfer
Replies: 8
Views: 2953

Re: RPi3 to RPi3 bluetooth file transfer

I'm a bit confused. After running obexpushd on both RPi 3s do I need to pair the devices, or will this occur automatically when I issue the ussr-push command? When I try to connect the two devices after running obexpushd on both devices I get "Connection failed - No usable services on this device" e...
by maranhao
Fri Jun 14, 2019 4:02 pm
Forum: Beginners
Topic: [Guide] Receive files over Bluetooth on the command line
Replies: 13
Views: 20624

Re: [Guide] Receive files over Bluetooth on the command line

● obexpush.service - OBEX Push service Loaded: loaded (/etc/systemd/system/obexpush.service; enabled; vendor preset: enabled) Active: inactive (dead) since Thu 2019-06-13 18:08:16 CDT; 16h ago Process: 355 ExecStart=/usr/bin/obexpushd -B23 -o /bluetooth -n (code=exited, status=0/SUCCESS) Main PID: 3...
by maranhao
Thu Jun 13, 2019 10:34 pm
Forum: Beginners
Topic: [Guide] Receive files over Bluetooth on the command line
Replies: 13
Views: 20624

Re: [Guide] Receive files over Bluetooth on the command line

Thanks for the helpful tutorial Douglas. Everything worked for me with the exception of the autostart. After executing "sudo systemctl enable obexpush" and rebooting I ran "sudo sdptool browse local" and didn't find an instance of obexpush running.

Thoughts? Any help is much appreciated.

Thanks!
by maranhao
Thu Jun 13, 2019 9:52 pm
Forum: Beginners
Topic: [Guide] Receive files over Bluetooth on the command line
Replies: 13
Views: 20624

Re: [Guide] Receive files over Bluetooth on the command line

Doug, great walk through of the process. Everything works for me with the exception of the autostart. After creating the file (by copy and pasting your text) I ran "sudo systemctl enable obexpush", rebooted my Pi and then checked to verify it was working by running "sudo sdptool browse local" and it...

Go to advanced search