obexftp 并非在所有设备上运行

obexftp 并非在所有设备上运行

我使用蓝牙在 Fedora 26(带 KDE)盒子和我的 Android 设备之间传输文件。我有 4 台配对设备,2 部手机和 2 台平板电脑。Android 版本是 5 和 7。我的问题:仅在一台设备(带 Android 5 的 HTC M7 手机)上启用了文件传输 (obexftp),我不知道如何在其他 3 台设备上启用它!主要原因是我不知道“文件传输”一开始是如何启用的。

在其他 3 台设备上,我可以从 Fedora Box 向它们发送文件,反之亦然,但 obexftp 不起作用。当我尝试通过 Dolphin 打开与它们的 obexftp 连接时,Dolphin 根本拒绝这样做。

从 CLI(bluetoothctl):

HTC(文件传输工作的设备)的输出:

Alias: HTC M7
Class: 0x5a020c
Icon: phone
Paired: yes
Trusted: yes
Blocked: no
Connected: no
LegacyPairing: no
UUID: OBEX Object Push          (00001105-0000-1000-8000-00805f9b34fb)
UUID: OBEX File Transfer        (00001106-0000-1000-8000-00805f9b34fb)
UUID: Headset                   (00001108-0000-1000-8000-00805f9b34fb)
UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
UUID: Headset AG                (00001112-0000-1000-8000-00805f9b34fb)
UUID: PANU                      (00001115-0000-1000-8000-00805f9b34fb)
UUID: NAP                       (00001116-0000-1000-8000-00805f9b34fb)
UUID: Handsfree Audio Gateway   (0000111f-0000-1000-8000-00805f9b34fb)
UUID: SIM Access                (0000112d-0000-1000-8000-00805f9b34fb)
UUID: Phonebook Access Server   (0000112f-0000-1000-8000-00805f9b34fb)
UUID: Message Access Server     (00001132-0000-1000-8000-00805f9b34fb)
UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: Vendor specific           (00006675-7475-7265-6469-616c62756d70)
Modalias: bluetooth:v000Fp1200d1436

另一方面,没有启用 obexftp 的设备如下所示:

Name: Redmi
Alias: Redmi
Class: 0x5a020c
Icon: phone
Paired: yes
Trusted: yes
Blocked: no
Connected: yes
LegacyPairing: no
UUID: OBEX Object Push          (00001105-0000-1000-8000-00805f9b34fb)
UUID: Headset                   (00001108-0000-1000-8000-00805f9b34fb)
UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
UUID: Headset AG                (00001112-0000-1000-8000-00805f9b34fb)
UUID: PANU                      (00001115-0000-1000-8000-00805f9b34fb)
UUID: NAP                       (00001116-0000-1000-8000-00805f9b34fb)
UUID: Handsfree Audio Gateway   (0000111f-0000-1000-8000-00805f9b34fb)
UUID: SIM Access                (0000112d-0000-1000-8000-00805f9b34fb)
UUID: Phonebook Access Server   (0000112f-0000-1000-8000-00805f9b34fb)
UUID: Message Access Server     (00001132-0000-1000-8000-00805f9b34fb)
UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
Modalias: bluetooth:v000Fp1200d1436

从 Android 方面来看,所有设备的蓝牙设置完全相同,因此,我怀疑这 3 台设备上的蓝牙实现与 HTC 的不一样,或者我需要在 Fedora 上做一些事情。如能帮助我确定需要更改/启用什么,我将不胜感激。

相关内容