Bluetooth: Difference between revisions
Share experiences with Bluetueth file transfer |
|||
Line 178: | Line 178: | ||
Run the command <code>asha_pipewire_sink</code> and choose your hearing aids as audio sink in your sound mixer application, for example <code>pavucontrol</code>. | Run the command <code>asha_pipewire_sink</code> and choose your hearing aids as audio sink in your sound mixer application, for example <code>pavucontrol</code>. | ||
=== File Transfer from/to Mobile Device === | |||
Use Case: When you're not using a desktop/window manager who supports accepting files the GUI (e.g. sway, etc) | |||
<syntaxhighlight lang="ini">{ | |||
### Editing /home/<youruser>/.config/systemd/user/obex.service.d/override.conf | |||
### Anything between here and the comment below will become the contents of the drop-in file | |||
[Service] | |||
ExecStart= | |||
ExecStart=/nix/store/...-bluez-5.78/libexec/bluetooth/obexd --root=./Downloads --auto-accept | |||
### Edits below this comment will be discarded | |||
... | |||
}</syntaxhighlight> | |||
With this config, after pairing (and - I suspect - trusting) your mobile device, you should be able to receive files from your phone. | |||
Caveat: When sending files to the phone, take into account that not all file extensions are accepted. Renaming the file before transfer did the trick. | |||
==Troubleshooting== | ==Troubleshooting== |