Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The compilation shows that the enumerated variable WIFI_PROV_CUST_DATA_RECV does not exist (AEGHB-821) #124

Open
3 tasks done
highhandli opened this issue Sep 20, 2024 · 1 comment

Comments

@highhandli
Copy link

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

Compiled through

Actual behavior (suspected bug)

The compilation did not pass

Error logs or terminal output

/home/ligaowen/smart_gw/esp_projs/esp-idf-all-5.1/components/wifi_provisioning/src/manager.c: In function 'wifi_prov_mgr_configure_meshlite':
/home/ligaowen/smart_gw/esp_projs/esp-idf-all-5.1/components/wifi_provisioning/src/manager.c:1340:22: error: 'WIFI_PROV_CUST_DATA_RECV' undeclared (first use in this function); did you mean 'WIFI_PROV_CRED_RECV'?
 1340 |     execute_event_cb(WIFI_PROV_CUST_DATA_RECV, data, size);
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~
      |                      WIFI_PROV_CRED_RECV

Steps to reproduce the behavior

I couldn't find the definition of the enumerated variable WIFI_PROV_CUST_DATA_RECV from the latest documentation on the official website, and the compilation did not pass

Project release version

the latest

System architecture

other (details in Additional context)

Operating system

Linux

Operating system version

freeRTOS

Shell

other (details in Additional context)

Additional context

No response

@github-actions github-actions bot changed the title The compilation shows that the enumerated variable WIFI_PROV_CUST_DATA_RECV does not exist The compilation shows that the enumerated variable WIFI_PROV_CUST_DATA_RECV does not exist (AEGHB-821) Sep 20, 2024
@tswen
Copy link
Contributor

tswen commented Sep 20, 2024

https://github.com/espressif/esp-mesh-lite/blob/master/components/mesh_lite/src/wifi_prov/wifi_provisioning.patch

Please check if this patch is not applied to esp-idf successfully. If you do not use the zero-provisioning feature, you can manually add the line of code https://github.com/espressif/esp-mesh-lite/blob/master/components/mesh_lite/src/wifi_prov/wifi_provisioning.patch#L9 to esp-idf first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants