Page 1 of 1

BLE 连接问题 (as Client)

Posted: Tue Apr 14, 2020 9:04 am
by 18622526510@163.com
大侠您好,我使用NodeMCU-32S开发板,烧写的“ESP32-WROOM-32_AT_Bin_V2.0”,
连接蓝牙BLE server,scan时可以搜索到,连接时报错,log显示status=133,请大侠帮忙看看是什么原因连不上。
阿里旺旺图片20200414170047.jpg
阿里旺旺图片20200414170047.jpg (114.56 KiB) Viewed 12251 times
AT命令顺序:
AT+RST
AT+BLEINIT=1
AT+BLESCAN=1
(在此处能搜索到以下MAC地址)
AT+BLESCAN=0
AT+BLECONN=0,"cb:84:8a:a8:2b:18"

Re: BLE 连接问题 (as Client)

Posted: Tue Apr 14, 2020 9:42 am
by ESP_XieWX
试一下这个

AT+BLECONN=0,"cb:84:8a:a8:2b:18",1

Re: BLE 连接问题 (as Client)

Posted: Tue Apr 14, 2020 1:28 pm
by 18622526510@163.com
好像还是哪里有问题,这个用手机是可以连上的。
微信截图_20200414212444.png
微信截图_20200414212444.png (31.07 KiB) Viewed 12222 times
谢谢!