蓝牙作为客户端,实现不了透传

FGGLYH
Posts: 1
Joined: Tue Apr 28, 2020 4:51 am

蓝牙作为客户端,实现不了透传

Postby FGGLYH » Tue Apr 28, 2020 5:01 am

蓝牙作为客户端,实现不了透传
AT指令过程
AT+BLEINIT=1
AT+BLESCAN=1,3
AT+BLECONN=0,"f8:a7:63:39:11:df"
AT+BLESPP(透传时提示错误),请大神们帮我看看是漏了什么步骤吗? :o :o
Attachments
Snipaste_2020-04-28_12-59-34.jpg
Snipaste_2020-04-28_12-59-34.jpg (5.25 KiB) Viewed 4649 times
Snipaste_2020-04-28_12-57-19.jpg
Snipaste_2020-04-28_12-57-19.jpg (64.53 KiB) Viewed 4649 times
Snipaste_2020-04-28_12-56-11.jpg
Snipaste_2020-04-28_12-56-11.jpg (63.19 KiB) Viewed 4649 times

ESP_XieWX
Posts: 27
Joined: Fri Jun 22, 2018 7:39 am

Re: 蓝牙作为客户端,实现不了透传

Postby ESP_XieWX » Thu Oct 29, 2020 8:01 am

首先,需要做服务发现
其次,需要设置SPP参数
最后,还需要使能notify,也就是写相应的characteristic的CCC,这里可以参考AT的文档,有示例

Who is online

Users browsing this forum: Google [Bot] and 200 guests