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.

CC2640R2F HID 调用HidEmuKbd_sendReport蓝牙断开

Other Parts Discussed in Thread: CC2640R2F

CC2640R2F

simplelink_cc2640r2_sdk_ble_example_pack_1_50_00_62

simplelink_cc2640r2_sdk_1_50_00_58

应用场景描述:

通过3个IO口获取数据(驱动已经写好并debug看数据都ok)

1个按键、1个beep、2个led(这些外设也都测了没问题)

问题描述:

debug模式首次配对的时候手机/电脑蓝牙可以连接成功。按键触发中直接执行了HidEmuKbd_sendReport(HID_KEYBOARD_1),上位机未收到任何东西,蓝牙直接断开,并无法再次连接。

重启debug模式,已配对的设备无法直接连接,须要删除配对重新添加。并且,如果点击已配对设备尝试连接的话,须要删除已配对设备然后再重新开debug,才能正常重新配对连接。