按照群主告诉我的,我设置蓝牙模块发起配对,设置如下:
GAP setting
Security 中设置
- Security mode: Mode1
- security level: Authenticated pairing with encryption
- I/O capabilities : Keyboard and Display
- Bonding requirement: Bonding
- Encrrytion Key size(bytes) 16
代码部分:
case CYBLE_EVT_GAP_DEVICE_CONNECTED:
CyBle_GapAuthReq(connHandle.bdHandle, &cyBle_authInfo);
break;
这样设置了,没什么反应呀,还是能连接上,不出现配对请求
群主求解答