Search found 15 matches

by maxchentt
Mon Mar 06, 2023 9:00 am
Forum: ESP Cloud 中文讨论版
Topic: esp-ali-smartliving SDK本地定时功能
Replies: 7
Views: 34725

Re: esp-ali-smartliving SDK本地定时功能

具体怎样实现呢?不熟悉项目的结构 :D
by maxchentt
Mon Mar 06, 2023 7:03 am
Forum: ESP Cloud 中文讨论版
Topic: esp-ali-smartliving SDK本地定时功能
Replies: 7
Views: 34725

Re: esp-ali-smartliving SDK本地定时功能

ali-smartliving SDK v1.6.6-10 整个目录替换后进行了编译(makereconfig 选config.esp8266.aos+ make)
再进入example中的smart_light示例进行编译,报以下错误:
0306.png
0306.png (282.53 KiB) Viewed 34638 times
请问是什么原因呢?

附件中包含ali-smartliving SDK v1.6.6-10
by maxchentt
Sun Mar 05, 2023 6:28 pm
Forum: ESP Cloud 中文讨论版
Topic: esp-ali-smartliving SDK功能OTA升级失败
Replies: 13
Views: 60123

Re: esp-ali-smartliving SDK功能OTA升级失败

经测试,make menuconfig :
Component config --->
ESP8266-specific --->ppT task stack size -> 2560
PThreads ---> Default task stack size -> 4608
app_main.c中
linkkit_main 任务分配5120
能稳定运行
by maxchentt
Fri Mar 03, 2023 5:18 am
Forum: ESP Cloud 中文讨论版
Topic: esp-ali-smartliving SDK本地定时功能
Replies: 7
Views: 34725

Re: esp-ali-smartliving SDK本地定时功能

具体怎样升级呢?
已知 ali-smartliving SDK最新版本是v1.6.6-10
是直接整个文件夹替换后重新预编译吗?
by maxchentt
Thu Mar 02, 2023 6:23 pm
Forum: ESP Cloud 中文讨论版
Topic: esp-ali-smartliving SDK本地定时功能
Replies: 7
Views: 34725

esp-ali-smartliving SDK本地定时功能

芯片:esp-8266EX
ESP8266_RTOS_SDK:v3.3
github:https://github.com/espressif/esp-ali-smartliving.git
示例:ESP8266_RTOS_SDK\esp-ali-smartliving\examples\solutions\smart_light

请问有关于阿里云本地定时功能相关的示例吗?或者网上类似的例子?
PS:以下是阿里云关于本地定时相关解释文档
https://help.aliyun.com/document_detail/250198.html
by maxchentt
Mon Feb 20, 2023 4:57 pm
Forum: ESP Cloud 中文讨论版
Topic: esp-ali-smartliving SDK功能OTA升级失败
Replies: 13
Views: 60123

Re: esp-ali-smartliving SDK功能OTA升级失败

接上一贴,esp8266内存使用情况
OTA升级过程中:
OTA1.png
OTA1.png (119.79 KiB) Viewed 32040 times
OTA2.png
OTA2.png (115.68 KiB) Viewed 32040 times
根据日志发现剩余内存足够,不是内存问题(抽空测试过ESP32的OTA升级功能正常)
另根据建议尝试OTA使用http,但发现ali-smartliving-device-sdk-c 下执行 make menuconfig报错,如下图
menuconfig.png
menuconfig.png (25.31 KiB) Viewed 32040 times
by maxchentt
Mon Feb 20, 2023 4:49 pm
Forum: ESP Cloud 中文讨论版
Topic: esp-ali-smartliving SDK功能OTA升级失败
Replies: 13
Views: 60123

Re: esp-ali-smartliving SDK功能OTA升级失败

通过日志打印内存使用情况发现,在各个情况下剩余内存是足够的,见下图:
配网前:
配网前.png
配网前.png (30.55 KiB) Viewed 32053 times
配网过程中:
配网时.png
配网时.png (70.74 KiB) Viewed 32053 times
配网后:
配网后.png
配网后.png (61.43 KiB) Viewed 32053 times
by maxchentt
Fri Feb 17, 2023 10:35 am
Forum: ESP Cloud 中文讨论版
Topic: esp-ali-smartliving SDK功能OTA升级失败
Replies: 13
Views: 60123

Re: esp-ali-smartliving SDK功能OTA升级失败

官方示例测试时联网报错,调整make menuconfig里component config->ESP8266-specific->ppT task stack size调大到3072。
没有改其他设置了,你这边用官方示例能正常ota空中升级吗?
另怎样优化内存使用呢,有具体建议嘛?
by maxchentt
Fri Feb 17, 2023 3:08 am
Forum: ESP Cloud 中文讨论版
Topic: esp-ali-smartliving SDK功能OTA升级失败
Replies: 13
Views: 60123

Re: esp-ali-smartliving SDK功能OTA升级失败

以下图一为固件升级状态,阿里云后台截图(阿里生活物联网平台--天猫精灵直连)
fail to download.png
fail to download.png (27.37 KiB) Viewed 27865 times
图二为上传升级固件操作界面
0104.png
0104.png (46.59 KiB) Viewed 27865 times
附件中含smart_light 示例下 sdkconfig 文件 和 ali-smartliving-device-sdk-c 下 make.settings 文件
by maxchentt
Thu Feb 16, 2023 4:55 pm
Forum: ESP Cloud 中文讨论版
Topic: esp-ali-smartliving SDK功能OTA升级失败
Replies: 13
Views: 60123

Re: esp-ali-smartliving SDK功能OTA升级失败

路径:esp-ali-smartliving\ali-smartliving-device-sdk-c\src\services\ota\impl\ota_fetch.c
加了日志打印,能正常获取CA证书,见下图:
0103.png
0103.png (34.02 KiB) Viewed 27910 times
查esp-ali-smartliving\ali-smartliving-device-sdk-c\src\infra\system\ca.c
证书 char *iotx_ca_crt 与阿里的 living_sdk_v1.6.6最新分支内容一致,应该不是证书问题,
请问接下来怎样处理呢?