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.

CC2340R5: 請問該如何在配對完成後,不直接綁定,而是等待CC2340 按鍵按壓才進行綁定?

Part Number: CC2340R5

請問該如何在配對完成後,不直接綁定,而是等待CC2340 按鍵按壓才進行綁定?

將程序加在哪邊比較適合? 或是該如何修改設定方式?

在手機進行配對時,手機按壓配對2次後,就會直接執行到最後綁定完成的狀態,即使我在void Pairing_pairStateHandler(uint32 event, BLEAppUtil_msgHdr_t *pMsgData)

裡的BLEAPPUTIL_PAIRING_STATE_STARTED:加入while(1) 的回圈也無法停止綁定的動作。 

相關設定如下:

謝謝