NRF52840在用手机进行配对时,等待收入静态密钥时会不断交互空包,然后断开连接,通过RTT打印LOG,提示错误 sd_ble_gap_data_length_update() (request) on connection 0x0 returned NRF_ERROR_RESOURCES。请问如何解决?
报错日志如下所示:
00> <info> app: Connected 00> 00> <info> app: Data len is set to 0x39(57) 00> 00> <error> nrf_ble_gatt: sd_ble_gap_data_length_update() (request) on connection 0x0 returned NRF_ERROR_RESOURCES. 00> 00> <error> nrf_ble_gatt: The requested TX/RX packet length is too long by 187/187 octets. 00> 00> <info> app: 00> 00> <info> peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Bonding, error: 1 00> 00> <warning> peer_manager_handler: Disconnecting conn_handle 0. 00> 00> <info> app: BLE_GAP_EVT_AUTH_STATUS: status=0x1 bond=0x0 lv4: 0 kdist_own:0x0 kdist_peer:0x0 00> 00> <info> app: Disconnected 00>
标签:
#蓝牙#