在SDK_CONFIG.H文件中,减小的NRF_SDH_BLE_GAP_DATA_LENGTH值。这个值太大,在等待用户收入配对密码的过程中会不断空包握手,导致RESOURSE被消耗殆尽,减小这个值就可以避免这种情况。这里验证将数值改为60是可以的。// Requested BLE GAP data length to be negotiated. #ifndef NRF_SDH_BLE_GA...

发布于2024-02-18

5236个赞