需要先开启 debian 系统中的 obex 服务
systemctl --user start obex
systemctl --user enable obex
确认 obex 服务正常工作
user@debian:/tmp$ systemctl --user status obex
● obex.service - Bluetooth OBEX service
Loaded: loaded (/usr/lib/systemd/user/obex.service; enabled; preset: enabled)
Active: active (running) since Sat 2025-09-20 20:35:53 CST; 1h 9min ago
Invocation: 279f5e1a454a428dbb07065246269cb2
Main PID: 117672 (obexd)
Tasks: 7 (limit: 54969)
Memory: 4.8M (peak: 5.7M)
CPU: 432ms
CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/obex.service
└─117672 /usr/libexec/bluetooth/obexd
user@debian:/tmp$
就可以正常使用蓝牙发送文件给手机
假如手机发送文件给 Debian 系统 除了 pair
还需要 trust 手机设备的蓝牙地址 94:45:60:6D:XX:YY
user@debian:/tmp$ bluetoothctl
hci0 new_settings: powered bondable ssp br/edr le secure-conn wide-band-speech cis-central cis-peripheral
Agent registered
[Pixel]> trust 94:45:60:6D:XX:YY
这样 手机就可以发送文件到 debian ,系统接受完成后顶部就会有提示
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.