ubuntu20.04
esp-idf V4.4
ESP32_LyraT
板子跑的demo是:esp-idf/examples/provisioning/legacy/softap_prov,什么都没改。
然后运行esp_prov.py崩溃
python3 esp_prov.py --transport softap --sec_ver 1 --pop abcd1234 --ssid xxxx --passphrase xxxxx
崩溃log如下:
Connecting to 192.168.4.1:80
==== Starting Session ====
Traceback (most recent call last):
File "esp_prov.py", line 426, in <module>
if not establish_session(obj_transport, obj_security):
File "esp_prov.py", line 168, in establish_session
request = sec.security_session(response)
File "/home/jyb/esp/esp-idf/tools/esp_prov/security/security1.py", line 68, in security1_session
return self.setup0_request()
File "/home/jyb/esp/esp-idf/tools/esp_prov/security/security1.py", line 100, in setup0_request
self.__generate_key()
File "/home/jyb/esp/esp-idf/tools/esp_prov/security/security1.py", line 86, in __generate_key
encoding=serialization.Encoding.Raw,
File "/usr/lib/python3.8/enum.py", line 384, in __getattr__
raise AttributeError(name) from None
AttributeError: Raw
麻烦大佬们帮忙看看是为什么?找了好久都没解决。
esp_prov.py 崩溃
Re: esp_prov.py 崩溃
建议使用对应的 Provisioning APP 进行验证,见如下链接 https://www.espressif.com/zh-hans/support/download/apps
Who is online
Users browsing this forum: No registered users and 39 guests