BLE 连接问题 (as Client)

18622526510@163.com
Posts: 2
Joined: Tue Apr 14, 2020 8:48 am

BLE 连接问题 (as Client)

Postby 18622526510@163.com » Tue Apr 14, 2020 9:04 am

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

jamesxie
Posts: 5
Joined: Fri Jun 22, 2018 7:39 am

Re: BLE 连接问题 (as Client)

Postby jamesxie » Tue Apr 14, 2020 9:42 am

试一下这个

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

18622526510@163.com
Posts: 2
Joined: Tue Apr 14, 2020 8:48 am

Re: BLE 连接问题 (as Client)

Postby 18622526510@163.com » Tue Apr 14, 2020 1:28 pm

好像还是哪里有问题,这个用手机是可以连上的。
微信截图_20200414212444.png
微信截图_20200414212444.png (31.07 KiB) Viewed 2614 times
谢谢!

Who is online

Users browsing this forum: No registered users and 4 guests