Can't flash MDF examples to ESP32 - mesh_chain_layer_t error

karunt
Posts: 94
Joined: Sat Apr 03, 2021 7:58 am

Can't flash MDF examples to ESP32 - mesh_chain_layer_t error

Postby karunt » Mon Jun 13, 2022 5:48 pm

I'm trying to flash and monitor the mwifi/router example to my ESP32 chip, but the compilation process throws the following error:
In file included from C:/Users/Karun/ESP/esp-mdf/components/mwifi/mwifi.c:15:
C:/Users/Karun/ESP/esp-mdf/components/mwifi/include/mwifi.h:265:59: error: unknown type name 'mesh_chain_layer_t'; did you mean 'esp_chip_model_t'?
esp_err_t esp_wifi_vnd_mesh_get(mesh_assoc_t *mesh_assoc, mesh_chain_layer_t *mesh_chain);
^~~~~~~~~~~~~~~~~~
esp_chip_model_t
C:/Users/Karun/ESP/esp-mdf/components/mwifi/mwifi.c: In function 'mwifi_get_root_status':
C:/Users/Karun/ESP/esp-mdf/components/mwifi/mwifi.c:66:9: error: unknown type name 'mesh_chain_layer_t'; did you mean 'esp_chip_model_t'?
mesh_chain_layer_t mesh_chain;
^~~~~~~~~~~~~~~~~~
esp_chip_model_t
Similar thing happens when trying to flash the mconfig example. Any idea how to resolve this? I'm out of ideas.

Who is online

Users browsing this forum: No registered users and 7 guests