该楼层疑似违规已被系统折叠隐藏此楼查看此楼
在一块Raspberry Pi 3的板子与一个带蓝牙的血氧检测板子连接时出现一些问题:板子如图所示
这个板子在与手机蓝牙连接时只需要输入六位000000pin码即可连接,但是在与树莓派连接时一直连接失败,显示Authentication failed ,需要输入六位passkey但是我并不知道passkey是多少,试过简单的000000,111111,123456等,均无法实现连接,在网上并没有查阅到相关的资料,因此在这里被卡住了很久,请求大神知道,救救孩子
[bluetooth]# pair D0:39:72:CB:B5:81
Attempting to pair with D0:39:72:CB:B5:81
[CHG] Device D0:39:72:CB:B5:81 Connected: yes
Request passkey
[agent] Enter passkey (number in 0-999999): [NEW] Primary Service
/org/bluez/hci0/dev_D0_39_72_CB_B5_81/service000c
00001801-0000-1000-8000-00805f9b34fb
Generic Attribute Profile
[NEW] Characteristic
/org/bluez/hci0/dev_D0_39_72_CB_B5_81/service000c/char000d
00002a05-0000-1000-8000-00805f9b34fb
Service Changed
[NEW] Descriptor
/org/bluez/hci0/dev_D0_39_72_CB_B5_81/service000c/char000d/desc000f
00002902-0000-1000-8000-00805f9b34fb
Client Characteristic Configuration
[NEW] Primary Service
/org/bluez/hci0/dev_D0_39_72_CB_B5_81/service0010
0000180a-0000-1000-8000-00805f9b34fb
Device Information
[NEW] Characteristic
/org/bluez/hci0/dev_D0_39_72_CB_B5_81/service0010/char0011
00002a23-0000-1000-8000-00805f9b34fb
System ID
[NEW] Characteristic
/org/bluez/hci0/dev_D0_39_72_CB_B5_81/service0010/char0013
00002a24-0000-1000-8000-00805f9b34fb
Model Number String
[NEW] Characteristic
/org/bluez/hci0/dev_D0_39_72_CB_B5_81/service0010/char0015
00002a25-0000-1000-8000-00805f9b34fb
Serial Number String
[NEW] Characteristic
/org/bluez/hci0/dev_D0_39_72_CB_B5_81/service0010/char0017
00002a26-0000-1000-8000-00805f9b34fb
Firmware Revision String
[NEW] Characteristic
/org/bluez/hci0/dev_D0_39_72_CB_B5_81/service0010/char0019
00002a27-0000-1000-8000-00805f9b34fb
Hardware Revision String
[NEW] Characteristic
/org/bluez/hci0/dev_D0_39_72_CB_B5_81/service0010/char001b
00002a28-0000-1000-8000-00805f9b34fb
Software Revision String
[NEW] Characteristic
/org/bluez/hci0/dev_D0_39_72_CB_B5_81/service0010/char001d
00002a29-0000-1000-8000-00805f9b34fb
Manufacturer Name String
[NEW] Characteristic
/org/bluez/hci0/dev_D0_39_72_CB_B5_81/service0010/char001f
00002a2a-0000-1000-8000-00805f9b34fb
IEEE 11073-20601 Regulatory Cert. Data List
[NEW] Characteristic
/org/bluez/hci0/dev_D0_39_72_CB_B5_81/service0010/char0021
00002a50-0000-1000-8000-00805f9b34fb
PnP ID
[NEW] Primary Service
/org/bluez/hci0/dev_D0_39_72_CB_B5_81/service0023
0000aaf0-0000-1000-8000-00805f9b34fb
Unknown
[NEW] Characteristic
/org/bluez/hci0/dev_D0_39_72_CB_B5_81/service0023/char0024
0000aaf1-0000-1000-8000-00805f9b34fb
Unknown
[NEW] Descriptor
/org/bluez/hci0/dev_D0_39_72_CB_B5_81/service0023/char0024/desc0026
00002901-0000-1000-8000-00805f9b34fb
Characteristic User Description
[NEW] Characteristic
/org/bluez/hci0/dev_D0_39_72_CB_B5_81/service0023/char0027
0000aaf2-0000-1000-8000-00805f9b34fb
Unknown
[NEW] Descriptor
/org/bluez/hci0/dev_D0_39_72_CB_B5_81/service0023/char0027/desc0029
00002902-0000-1000-8000-00805f9b34fb
Client Characteristic Configuration
[NEW] Descriptor
/org/bluez/hci0/dev_D0_39_72_CB_B5_81/service0023/char0027/desc002a
00002901-0000-1000-8000-00805f9b34fb
Characteristic User Description
[CHG] Device D0:39:72:CB:B5:81 UUIDs: 00001800-0000-1000-8000-00805f9b34fb
[CHG] Device D0:39:72:CB:B5:81 UUIDs: 00001801-0000-1000-8000-00805f9b34fb
[CHG] Device D0:39:72:CB:B5:81 UUIDs: 0000180a-0000-1000-8000-00805f9b34fb
[CHG] Device D0:39:72:CB:B5:81 UUIDs: 0000aaf0-0000-1000-8000-00805f9b34fb
[CHG] Device D0:39:72:CB:B5:81 ServicesResolved: yes
[CHG] Device D0:39:72:CB:B5:81 Name: RD_BLE APP
[CHG] Device D0:39:72:CB:B5:81 Alias: RD_BLE APP
[CHG] Device D0:39:72:CB:B5:81 Modalias: bluetooth:v000Dp0000d0110
pair D0:39:72:CB:B5:81
Failed to pair: org.bluez.Error.AuthenticationFailed
[DLCKM01]# pair D0:39:72:CB:B5:81
Attempting to pair with D0:39:72:CB:B5:81
Request passkey
[agent] Enter passkey (number in 0-999999): 000000
Failed to pair: org.bluez.Error.AuthenticationFailed
[CHG] Device D0:39:72:CB:B5:81 ServicesResolved: no
[CHG] Device D0:39:72:CB:B5:81 Connected: no
如果觉得《树莓派蓝牙连接手机显示没有服务器 求助树莓派蓝牙连接问题》对你有帮助,请点赞、收藏,并留下你的观点哦!