ESP32-C3模块下载的官方固件V3.3.0.0版本,用AT指令按官方教程进入透传模式,手机蓝牙可以通过BLE调试助手正常收发数据,可是断开蓝牙再连接就连不上,模块估计在透传模式一直没出来,发+++无法退出,发AT也没反应。以下是日志:
[16:40:49.496]收←◆
ready
[16:40:57.143]发→◇AT+BLEINIT=2
□
[16:40:57.155]收←◆AT+BLEINIT=2
[16:40:57.218]收←◆
OK
[16:40:58.582]发→◇AT+BLEGATTSSRVCRE
□
[16:40:58.591]收←◆AT+BLEGATTSSRVCRE
[16:40:59.086]收←◆
OK
[16:41:01.495]发→◇AT+BLEGATTSSRVSTART
□
[16:41:01.510]收←◆AT+BLEGATTSSRVSTART
OK
[16:41:02.559]发→◇AT+BLEADDR?
□
[16:41:02.563]收←◆AT+BLEADDR?
+BLEADDR:"54:32:04:b7:cd:a6"
OK
[16:41:03.503]发→◇AT+BLEADVPARAM=50,50,0,0,7,0,,
□
[16:41:03.521]收←◆AT+BLEADVPARAM=50,50,0,0,7,0,,
OK
[16:41:05.023]发→◇AT+BLEADVDATA="0201060A09457370726573736966030302A0"
□
[16:41:05.036]收←◆AT+BLEADVDATA="0201060A09457370726573736966030302A0"
OK
[16:41:48.990]发→◇AT+BLEADVSTART
□
[16:41:49.001]收←◆AT+BLEADVSTART
OK
[16:41:56.179]收←◆+BLECONN:0,"58:d4:41:f2:de:97"
[16:41:56.561]收←◆+BLECONNPARAM:0,0,0,6,0,500
[16:41:57.040]收←◆+BLECONNPARAM:0,0,0,12,0,500
[16:41:57.423]收←◆+BLESETPHY:"58:d4:41:f2:de:97",2,2
[16:42:06.158]发→◇AT+BLEGATTSSRV?
□
[16:42:06.166]收←◆AT+BLEGATTSSRV?
+BLEGATTSSRV:1,1,0xA002,1
+BLEGATTSSRV:2,1,0xA003,1
OK
[16:42:08.110]发→◇AT+BLEGATTSCHAR?
□
[16:42:08.188]收←◆AT+BLEGATTSCHAR?
+BLEGATTSCHAR:"char",1,1,0xC300,0x02
+BLEGATTSCHAR:"desc",1,1,1,0x2901
+BLEGATTSCHAR:"char",1,2,0xC301,0x02
+BLEGATTSCHAR:"desc",1,2,1,0x2901
+BLEGATTSCHAR:"char",1,3,0xC302,0x08
+BLEGATTSCHAR:"desc",1,3,1,0x2901
+BLEGATTSCHAR:"char",1,4,0xC303,0x04
+BLEGATTSCHAR:"desc",1,4,1,0x2901
+BLEGATTSCHAR:"char",1,5,0xC304,0x08
+BLEGATTSCHAR:"char",1,6,0xC305,0x10
+BLEGATTSCHAR:"desc",1,6,1,0x2902
+BLEGATTSCHAR:"char",1,7,0xC306,0x20
+BLEGATTSCHAR:"desc",1,7,1,0x2902
+BLEGATTSCHAR:"char",1,8,0xC307,0x02
+BLEGATTSCHAR:"desc",1,8,1,0x2901
+BLEGATTSCHAR:"char",2,1,0xC400,0x02
+BLEGATTSCHAR:"desc",2,1,1,0x2901
+BLEGATTSCHAR:"char",2,2,0xC401,0x02
+BLEGATTSCHAR:"desc",2,2,1,0x2901
OK
[16:42:09.886]发→◇AT+BLESPPCFG=1,1,6,1,5
□
[16:42:09.895]收←◆AT+BLESPPCFG=1,1,6,1,5
OK
[16:42:11.190]发→◇AT+BLESPP
□
[16:42:11.203]收←◆AT+BLESPP
OK
[16:52:15.176]发→◇+++
□
[16:52:16.249]发→◇+++
□
[16:52:17.440]发→◇+++
□
[16:52:33.472]发→◇AT
□
[16:52:34.800]发→◇AT
□