Bluetooth gatttool can';t连接到蓝牙模块

Bluetooth gatttool can';t连接到蓝牙模块,bluetooth,raspberry-pi3,gatttool,Bluetooth,Raspberry Pi3,Gatttool,我正在尝试使用gatttool将蓝牙模块连接到覆盆子Pi3。 首先,我用下面的命令启动gatttool,并尝试连接 $ sudo gatttool -b (MAC ADDRESS) -I 然后显示一条错误消息 Error: connect: Device or resource busy (16) 我搜索了一下,找到了一些解决办法。在那之后,我又试了一次 $ sudo gatttool -t random -b (MAC ADDRESS) -I 然后,它尝试连接蓝牙模块一段时间,并显示以下

我正在尝试使用gatttool将蓝牙模块连接到覆盆子Pi3。 首先,我用下面的命令启动gatttool,并尝试连接

$ sudo gatttool -b (MAC ADDRESS) -I
然后显示一条错误消息

Error: connect: Device or resource busy (16)
我搜索了一下,找到了一些解决办法。在那之后,我又试了一次

$ sudo gatttool -t random -b (MAC ADDRESS) -I
然后,它尝试连接蓝牙模块一段时间,并显示以下错误

Error: connect error: Connection refused (111)
我从未听说过有人同时遇到这两个错误。我能做些什么来解决它