ESP-AT固件提示modem sleep is disable, can't init bt stack

Moderator: ESP_XCGuang

adrien-iris
Posts: 8
Joined: Wed Jun 29, 2022 7:59 am

ESP-AT固件提示modem sleep is disable, can't init bt stack

Postby adrien-iris » Mon Mar 20, 2023 9:55 am

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,这个问题是什么引起的?

ESP_Sun
Posts: 326
Joined: Thu Dec 30, 2021 9:52 am

Re: ESP-AT固件提示modem sleep is disable, can't init bt stack

Postby ESP_Sun » Thu Mar 23, 2023 5:48 am

都改了哪些配置呢?

adrien-iris
Posts: 8
Joined: Wed Jun 29, 2022 7:59 am

Re: ESP-AT固件提示modem sleep is disable, can't init bt stack

Postby adrien-iris » Fri Mar 24, 2023 8:33 am

ESP_Sun wrote:
Thu Mar 23, 2023 5:48 am
都改了哪些配置呢?
WeChat Image_20230324163136.jpg
WeChat Image_20230324163136.jpg (157.35 KiB) Viewed 6089 times

esp-at
Posts: 200
Joined: Mon May 09, 2022 3:00 am

Re: ESP-AT固件提示modem sleep is disable, can't init bt stack

Postby esp-at » Fri Mar 24, 2023 11:26 am

这是个好问题。
当前 AT 工程里,需要开启对 Wi-Fi 功能的支持,即使能 AT wifi command support,才能跑蓝牙的功能。

后续会考虑支持在 Wi-Fi 禁用的情况下,支持单 BLE 的情况。

~

esp-at
Posts: 200
Joined: Mon May 09, 2022 3:00 am

Re: ESP-AT固件提示modem sleep is disable, can't init bt stack

Postby esp-at » Fri Aug 16, 2024 10:01 am

该问题已在 master 解决了,请用 master 上的代码验证~

Who is online

Users browsing this forum: No registered users and 42 guests