I am using the esp32c3 AT firmware to connect to a PC (Windows 10) to achieve transparent transmission of Bluetooth and serial ports.
I used the following command and successfully paired with Windows 10, but did not generate a com port. When manually added, the esp32 device that successfully paired ...
Search found 2 matches
- Mon Sep 04, 2023 4:53 am
- Forum: ESP-AT
- Topic: How to use esp32c3 AT firmware connect to a PC (windows10)
- Replies: 0
- Views: 39715
- Mon Sep 04, 2023 3:31 am
- Forum: ESP-AT 中文讨论版
- Topic: Esp32c3 使用AT指令 BLE连接 PC 蓝牙spp透传
- Replies: 1
- Views: 6731
Esp32c3 使用AT指令 BLE连接 PC 蓝牙spp透传
使用ESP32c3的 AT固件,采用BLE AT指令,要实现SPP透传。
网上很多资料都是用手机蓝牙调试APP的例子,包括官网帮助里面,也是连接手机的。
指令如下:
AT_RESTORE //将设备恢复出厂设置
AT+BLEINIT=2 //将 esp32 设置成蓝牙服务端
AT+BLEADDR? //查询设备的 MAC 地址
AT+BLEGATTSSRVCRE //GATTS 创建服务
AT+BLEGATTSSRVSTART //GATTS 开启全部服务。
AT+BLEGATTSCHAR? //GATTS 发现服务特征
AT+SYSMSG=4 //开启透传模式信息上报 ...
网上很多资料都是用手机蓝牙调试APP的例子,包括官网帮助里面,也是连接手机的。
指令如下:
AT_RESTORE //将设备恢复出厂设置
AT+BLEINIT=2 //将 esp32 设置成蓝牙服务端
AT+BLEADDR? //查询设备的 MAC 地址
AT+BLEGATTSSRVCRE //GATTS 创建服务
AT+BLEGATTSSRVSTART //GATTS 开启全部服务。
AT+BLEGATTSCHAR? //GATTS 发现服务特征
AT+SYSMSG=4 //开启透传模式信息上报 ...