Page 1 of 1
ESP-AT固件提示modem sleep is disable, can't init bt stack
Posted: Mon Mar 20, 2023 9:55 am
by adrien-iris
ESP32-MINI-1模块,使用2.5.0版本ESP-AT固件,编译时选择支持SPP AT指令,去掉了一些无关的配置。每次上电或使用AT+RST复位后,发送
AT+BTINIT=1命令返回ERROR,ESP32的调试串口会输出modem sleep is disable, can't init bt stack信息,等待一会后再发送AT+BTINIT=1指令才会返回OK,这个问题是什么引起的?
Re: ESP-AT固件提示modem sleep is disable, can't init bt stack
Posted: Thu Mar 23, 2023 5:48 am
by ESP_Sun
都改了哪些配置呢?
Re: ESP-AT固件提示modem sleep is disable, can't init bt stack
Posted: Fri Mar 24, 2023 8:33 am
by adrien-iris
ESP_Sun wrote: ↑Thu Mar 23, 2023 5:48 am
都改了哪些配置呢?
- WeChat Image_20230324163136.jpg (157.35 KiB) Viewed 6445 times
Re: ESP-AT固件提示modem sleep is disable, can't init bt stack
Posted: Fri Mar 24, 2023 11:26 am
by esp-at
这是个好问题。
当前 AT 工程里,需要开启对 Wi-Fi 功能的支持,即使能 AT wifi command support,才能跑蓝牙的功能。
后续会考虑支持在 Wi-Fi 禁用的情况下,支持单 BLE 的情况。
~
Re: ESP-AT固件提示modem sleep is disable, can't init bt stack
Posted: Fri Aug 16, 2024 10:01 am
by esp-at
该问题已在 master 解决了,请用 master 上的代码验证~