BT Peripheral运行NP模式,并且pairing模式设置为:GAPBOND_PAIRING_MODE_INITIATE。
当连接建立成功后,Peripheral会主动发起pairing过程,central那边需要输入passcode,我想问下:
Peripheral control模块收到的passcode以什么命令发送给Peripheral host模块?
在文档TI_BLE_Vendor_Specific_HCI_Guide.pdf里面没有找到。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
BT Peripheral运行NP模式,并且pairing模式设置为:GAPBOND_PAIRING_MODE_INITIATE。
当连接建立成功后,Peripheral会主动发起pairing过程,central那边需要输入passcode,我想问下:
Peripheral control模块收到的passcode以什么命令发送给Peripheral host模块?
在文档TI_BLE_Vendor_Specific_HCI_Guide.pdf里面没有找到。
参考这个链接: http://www.deyisupport.com/question_answer/wireless_connectivity/bluetooth/f/103/t/23647.aspx
文档:TI_BLE_Vendor_Specific_HCI_Guide.pdf
12.22.1 GAP Bond Set Parameter
0x0408 The default passcode for MITM protection. size is uint32.
Range is 0 - 999,999. Default is 0.
1)这条命令有什么用?app(host)配置了default passcode,有什么用呢?
2)会配置到cc2540的firmware吗? 还是仅仅为了自动响应GAP_PASSKEY_NEEDED_EVENT?