当前位置:首页
> 2021年10月
micropython 1.17编译出现FAILED: esp-idf/mbedtls/x509_crt_bundle
micropython 1.17编译出现FAILED: esp-idf/mbedtls/x509_crt_bundle 错误解决方法。出现错误的原因是ssl中的证书过期了。解决办法:1:(Top) > Component config > mbedTLS > Certificate Bundle->Enable trusted root certificate bundle 禁用2:修改配置文件 :sdkconfig.base 中添加入...
asyncio --- 异步 I/O http服务代码
import asyncioasync def service(reader,writer): data = await reader.read(1024) #同步读取数据 data =data.decode().replace('\r','<br/>') print(writer.get_extra_info('peername')) &nbs...