完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
硬件:ESP32-WROOM-32E
软件:本地编译的支持经典蓝牙的 AT 固件 版本信息如下: AT+GMR AT version:2.2.0.0(4bfff91 - ESP32 - Aug 19 2021 08:17:22) SDK version:v4.2.2-76-gefa6eca8b8-dirty compile time(7135f05):Aug 23 2021 17:05:16 Bin version:2.2.0(WROOM-32) 问题描述: ESP32 作 master 设备,可以扫描到手机蓝牙设备,但是有时候无法连接成功,直接返回 ERROR,不知道具体的原因是什么。 测试 AT 序列如下: AT+BTINIT=1 OK AT+BTNAME? +BTNAME:esp32-bt-test OK AT+BTSCANMODE=2 OK AT+BTSTARTDISC=0,10,10 +BTSTARTDISC:"9c:5a:81:18:2e:c7",,0x2,0x3,0x2d0,-85 +BTSTARTDISC:"44:17:93:58:6e:fa",ESP_SPEAKER,0x4,0x5,0x120,-53 +BTSTARTDISC:"7c:2a:db:7f:bf:f4",Tony鐨凪i 10 Ultra,0x2,0x3,0x2d0,-67 +BTSTARTDISC:"44:17:93:58:6e:fa",ESP_SPEAKER,0x4,0x5,0x120,-61 +BTSTARTDISC:"44:17:93:58:6e:fa",ESP_SPEAKER,0x4,0x5,0x120,-60 +BTSTARTDISC:"88:f8:72:82:b4:a0",mali_phone,0x2,0x3,0x2d0,-32 +BTSTARTDISC:"44:17:93:58:6e:fa",ESP_SPEAKER,0x4,0x5,0x120,-65 +BTSTARTDISC:"44:17:93:58:6e:fa",,0x4,0x5,0x120,-64 +BTSTARTDISC:"7c:2a:db:7f:bf:f4",Tony鐨凪i 10 Ultra,0x2,0x3,0x2d0,-71 +BTSTARTDISC:"44:17:93:58:6e:fa",ESP_SPEAKER,0x4,0x5,0x120,-55 +BTSTARTDISC:"44:17:93:58:6e:fa",ESP_SPEAKER,0x4,0x5,0x120,-60 +BTSTARTDISC:"44:17:93:58:6e:fa",,0x4,0x5,0x120,-60 +BTSTARTDISC:"44:17:93:58:6e:fa",ESP_SPEAKER,0x4,0x5,0x120,-65 +BTSTARTDISC:"44:17:93:58:6e:fa",ESP_SPEAKER,0x4,0x5,0x120,-62 +BTSTARTDISC:"44:17:93:58:6e:fa",ESP_SPEAKER,0x4,0x5,0x120,-59 +BTSTARTDISC:"44:17:93:58:6e:fa",ESP_SPEAKER,0x4,0x5,0x120,-53 +BTSTARTDISC:"44:17:93:58:6e:fa",ESP_SPEAKER,0x4,0x5,0x120,-53 +BTSTARTDISC:"7c:2a:db:7f:bf:f4",,0x2,0x3,0x2d0,-75 +BTSTARTDISC:"7c:6b:9c:06:c9:56",,0x2,0x3,0x2d0,-88 AT+BTSPPINIT=1 AT+BTSPPCONN=0,0,"88:f8:72:82:b4:a0" |
|
相关推荐
|
|
只有小组成员才能发言,加入小组>>
528浏览 6评论
438浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
425浏览 5评论
423浏览 4评论
398浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-9 00:27 , Processed in 0.778457 second(s), Total 76, Slave 59 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号