Open meiliang1123 opened 1 year ago
不同 IDF 版本,不同项目使用的蓝牙配置不一致,有些配置会存放在 nvs 中,在配置发生变化时某些手机安全特性会阻止连接,此问题常出现在开发阶段。解决方案:清除配对,并擦除 flash 重新烧录。
hello, I have a same problem, this is IDF log, and , has your problem been solved??
I (567) pm: Frequency switching config: CPU_MAX: 160, APB_MAX: 80, APB_MIN: 80, Light sleep: ENABLED
I (568) sleep: Enable automatic switching of GPIO sleep configuration
D (569) esp_qcloud_storage:
I (667) esp_qcloud_prov_ble: BD ADDR: a0:76:4e:70:bf:86 I (669) esp_qcloud_prov_ble: BLUFI init finish W (670) BT_BTM: BTM_BleWriteAdvData, Partial data write into ADV W (35832) BT_HCI: hcif disc complete: hdl 0x1, rsn 0x3e W (41804) BT_HCI: hcif disc complete: hdl 0x1, rsn 0x3e W (43132) BT_HCI: hcif disc complete: hdl 0x1, rsn 0x3e W (47471) BT_HCI: hcif disc complete: hdl 0x1, rsn 0x3e W (57598) BT_HCI: hcif disc complete: hdl 0x1, rsn 0x3e W (78937) BT_HCI: hcif disc complete: hdl 0x1, rsn 0x3e W (81260) BT_HCI: hcif disc complete: hdl 0x1, rsn 0x3e W (116186) BT_HCI: hcif disc complete: hdl 0x1, rsn 0x3e W (118841) BT_HCI: hcif disc complete: hdl 0x1, rsn 0x3e
请问一下这个问题解决了吗,解决的办法是什么,我的设备也出现的这个问题,现在也不知道该怎么解决这个问题。
配置并启动成功,扫码后蓝牙可发现,点击蓝牙设备后超时提示蓝牙连接失败,log报错如上,
BT_HCI: CC evt: op=0x2022, status=0x2
是什么原因?如何解决?