1,CC2640R2 HID profile应用,主机上电主动配对链接BLE, 然后BLE按键,主机能解析到BLE按键操作,功能完全正常。
2, BLE 主动调用API(HidDev_Close() )中断链接,BLE进入sleep
3, BLE 按键唤醒并再次自动配对链接主机, 然后BLE按键,主机不能解析BLE的按键操作,为什么?跟什么配置或时序有关了?
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.
ble_diff.zip多谢Viki, 搭建好抓包工具,抓包发现跟客户提供demo机,有2处差异(看附近文本),demo多发了GAP_SlaveRequestedSecurity事件包和安全链接数据全部为0,但不知道怎么修改跟客户demo样机一样,能提供修改方法?
你要disable PRIVACY_1_2_CFG吗:
BLE_V42_FEATURES Configure the stack to use features from the BLE 4.2 Specification The following BLE 4.2 features are enabled by default and cannot be disabled. EXT_DATA_LEN_CFG - Enable the Extended Data Length Feature in the Controller SECURE_CONNS_CFG - Enable Secure Connections Pairing Procedure PRIVACY_1_2_CFG - Enable Enhanced Privacy
Viki, 附件是host上电成功配对链接,peripheral按键操作正常,然后peripheral断链再成功链接, peripheral 按键操作,host 解析不到按键,整个流程的sniff数据包,
peripheral MAC: 0x0C61CFA4E82A,看能否看出错误信息出来,多谢!2timesloop_sniffer_package.zip