-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
[ble mesh] esp_ble_mesh_init stuck (IDFGH-12226) #13279
Comments
I think its happening when there is a mismatch between number of elements and
Ity happened to me when |
Hi,
|
Hi, @chegewara |
Hi,
Yes, although i understand the problem is on my side, and API is just trying to do its best to build composition data from corrupted information and most likely stuck in endless loop. So, i dont think its a bug anymore
In vendor model i am receiving publish messages from another vendor mode, but this event is not triggered This is API i am using to publish to unicast address Here is log on receive |
BTW with persistent store enabled, when i reset node everything is deleted except appKeys (after node reset and power on cycle)
and publish settings too (after node reset and power on cycle):
So, after provisioning node again app keys are already bound. No big deal, but in some cases may be unwanted Thanks edit: it is strange, because its not always happen, and i dont know what is the factor yet (will try to find out) |
Answers checklist.
IDF version.
5f42493
Espressif SoC revision.
esp32-s3
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
esp32s3-devkit
Power Supply used.
USB
What is the expected behavior?
To get esp_err_t error
What is the actual behavior?
esp_ble_mesh_init
in some cases, when one of parameters is wrong (not sure which one) function stuck and never returns.Steps to reproduce.
Im not entirely sure. My library is auto-generating composition elements, so i am guessing if for some reson
composition.elements
is incorrect then it stuckDebug Logs.
No response
More Information.
First of all i would like to say that ble mesh components is awesome. The number of error and warn messages when its missconfigured, for example when scene setup server model is missing, is impressive and helpful for newbie like me.
Thanks you for such good job.
The text was updated successfully, but these errors were encountered: