阿里云自带的mbedtls出错,无法使用任何SSL服务
我用的是ESP32模组,很在就调通了HTTPS的OTA,2023年12月再使用OTA时就有问题了。输出提示:OTA target firmware version: SV01.02, size: 1438832 Bytesdelete most tasks to get sufficient memory...starting download thread in 2 seconds ......establish mbedtls connection with server(host='ota-cn-shanghai.iot-thing.aliyuncs.com', port=[443])bOTA_BOOT:0 OTA_BASE_ADRS: 0x00510000 PART_SIZE: 2097152mbedtls_ssl_recv error, res: -0x7200download failed, error code is -3869, try to send renewal request
还是在网上找到了答案:
MBEDTLS_SSL_IN_CONTENT_LEN 变量修改处如下(原来分别是8192和4096):再试OTA就可以了:
赞0
踩0