diff --git a/README.md b/README.md index 9168acdcd0abaed5af33b9491138b42300907c94..3a3344d8c2a9421166acc22a3e339f953cc5efc2 100644 --- a/README.md +++ b/README.md @@ -109,3 +109,10 @@ ESP RainMaker APP 闪退 - 对于技术问题,请访问 [esp32.com](https://esp32.com/) 论坛 - 对于功能请求或错误报告,请创建 [GitHub issue](https://github.com/espressif/esp-idf/issues) 问题 +# 问题 +## issu1:蓝牙 WIFI 配网连接不上 +### 解决:①看蓝牙连接上方名称是否被过滤 + ②之前烧写过代码,要先擦除 +```shell +idf.py erase_flash +``` \ No newline at end of file diff --git a/components/http_get_request/http_get_request.c b/components/http_get_request/http_get_request.c index d43ed58babe3e5e5037fc45b779225a9a717913d..539447a31d078a613e728edea9241d62414a6ccc 100644 --- a/components/http_get_request/http_get_request.c +++ b/components/http_get_request/http_get_request.c @@ -13,6 +13,8 @@ #include "http_get_request.h" +#include + static const char *TAG = "http_get_request"; /* Allocates memory for a weather data structure on the heap */ diff --git a/main/Kconfig.projbuild b/main/Kconfig.projbuild index 812177bb53d99a5a50921aecf90cc1f7b226499f..41c818d8cc7866e3f7881ed88c3ca59e451f401a 100644 --- a/main/Kconfig.projbuild +++ b/main/Kconfig.projbuild @@ -2,7 +2,7 @@ menu "URL Configuration" config HTTP_URL_ADDRESS string "HTTP URL address" - default "http://api.map.baidu.com/weather/v1/?district_id=310115&data_type=all&ak=q4xNcBxfqRfftaoF5tIDXKOzWWwGKCCp" + default "http://api.map.baidu.com/weather/v1/?district_id=地区码&data_type=all&ak=你的AK" help Baidu API URL for the HTTP GET request. Configure district_id and ak