【ESP32-C3-DevKitM-1】ESP32-C3的BLE
<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><b><span style="font-size:14.0000pt"><span style="font-family:黑体"><span style="font-weight:bold">6、BLE的评测</span></span></span></b></span></span></p><p style="text-align:justify"><span style="font-size:10.5pt"><span style="text-autospace:ideograph-numeric"><span style="125%"><span style="font-family:Calibri"><span style="font-size:12.0000pt"><span style="font-family:宋体"><span style="125%"><span style="font-weight:normal">ESP32-C3支持BLE 5.0</span></span></span></span></span></span></span></span></p>
<p style="text-align:justify"><span style="font-size:10.5pt"><span style="text-autospace:ideograph-numeric"><span style="125%"><span style="font-family:Calibri"><span style="font-size:12.0000pt"><span style="font-family:宋体"><span style="125%"><span style="font-weight:normal"><font face="宋体">接下来我将用</font>BLE 5.0的例程和手机APP简单测试一下BLE。</span></span></span></span></span></span></span></span></p>
<p style="text-align:justify"><span style="font-size:10.5pt"><span style="text-autospace:ideograph-numeric"><span style="125%"><span style="font-family:Calibri"><span style="font-size:12.0000pt"><span style="font-family:宋体"><span style="125%"><span style="font-weight:normal"><font face="宋体">在这里我用的</font>ble_spp_server例程来测试,APP 采用nRF Connent来测试。</span></span></span></span></span></span></span></span></p>
<p style="text-align:justify"><span style="font-size:10.5pt"><span style="text-autospace:ideograph-numeric"><span style="125%"><span style="font-family:Calibri"><span style="font-size:12.0000pt"><span style="font-family:宋体"><span style="125%"><span style="font-weight:normal"><font face="宋体">烧录程序好,未连接上手机的蓝牙,串口打印如下</font></span></span></span></span></span></span></span></span></p>
<p style="text-align:justify"></p>
<p style="text-align:justify"><span style="font-size:10.5pt"><span style="text-autospace:ideograph-numeric"><span style="125%"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体"><font face="宋体">用手机</font>APP<font face="宋体">连接上名为</font><font face="Calibri">ESP_SPP_SERVER</font><font face="宋体">的蓝牙,当然了,这个名字可以改,如下图</font></span></span></span></span></span></span></p>
<p style="text-align:justify"> </p>
<p style="text-align:justify"></p>
<p style="text-align:justify"><span style="font-size:10.5pt"><span style="text-autospace:ideograph-numeric"><span style="125%"><span style="font-family:Calibri"><span style="font-size:12.0000pt"><span style="font-family:宋体"><span style="125%"><span style="font-weight:normal"><font face="宋体">用</font>APP向BLE发送字符,如下图</span></span></span></span></span></span></span></span></p>
<p style="text-align:justify"></p>
<p style="text-align:justify"><span style="font-size:10.5pt"><span style="text-autospace:ideograph-numeric"><span style="125%"><span style="font-family:Calibri"><span style="font-size:12.0000pt"><span style="font-family:宋体"><span style="125%"><span style="font-weight:normal"><font face="宋体">串口助手将会打印出输入的字符串,如下图</font></span></span></span></span></span></span></span></span></p>
<p style="text-align:justify"></p>
<p style="text-align:justify"><span style="font-size:10.5pt"><span style="font-family:Calibri"><span style="font-size:10.5000pt"><span style="font-family:宋体">BLE<font face="宋体">的简单测试完毕</font></span></span></span></span></p>
<p>666 谢谢分享。</p>
<p>蓝牙和WIFI例程我试过还是比较方便的,在配置方面好像需要修改一个.config文件,对于新手来说理解起来需要一些时间,不知道eclipse是不是这样。楼主的帖子里如果能把例程的具体使用方法讲一讲我觉得就更好了。</p>
<p>非常不错 谢谢分享 我看esp32-c3是 最便宜的支持ble5.0 的芯片了 ,~~</p>
页:
[1]