无法在两个raspberry pi之间传输文件

2024-05-29 11:59:37 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试通过蓝牙连接两个树莓圆周率和发送文件,他们之间通过obex。为了完成这项任务,我做了很多事情,但每次都失败了。你知道吗

所以在pi上我安装了obexpushd和obexftp。然后我在后台运行obexpushd,并希望使用以下方法连接两个pi:

bluetoothctl
discoverable on
pairable on
agent on
default-agent
pair
connect

我没有联系。我可以配对这些圆周率,但当我试图连接他们,我有

Paired succesfully, but this device has no services which can be used with Raspberry Pi

或者

Connnection failed - no usable services on this device

但我有点困惑。我开始了obexpushd。但是obexftp呢? 我错过了什么?我只想在它们之间发送简单的txt文件


Tags: 文件noondeviceservicepithis事情

热门问题