-
Notifications
You must be signed in to change notification settings - Fork 179
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_gap_adv_set_data failed: Error ESP32:0x05B0001E (CON-916) #757
Comments
@PhLuReh The default ESP Matter examples, disable and deinit BLE after commissioning. Can you please check, if you have disabled the config option |
Ok, this could also be the solution. Is BLE only active if commissioning window is open? or will it be turned on, even if no advertising happens? I think the problem may be that Wifi provisioning does not get remove after removing fabric. For the developed product this would also be a reasonable solution. Can you provide a proper API for this way? |
I implemented this, and the error now is gone. Thank you for clarification. Also, rerunning tests in TH is working without removing the Wifi provisioning. If you now tell me, that having BLE active all the time isn't really a thing in terms of security and energy consumption, I would accept this solution. If not, please provide an other way. |
If you want to open the commissioning window but not to advertise commissionable node over BLE, you can use |
As of now, the spec does not clearly define what is to be done about the network credentials (Wi-Fi or Thread) after the fabric is removed, especially if it is the last fabric. I have raised an issue sometime back (status: open). Note that the spec repo is a private repo and you will be able to access it only if you are a CSA member. |
Closing this now |
Describe the bug
Upon the matter device getting removed from fabric, I implemented to reopen the commissioning window automatically. Mainly for testing purposes, but also valuable for the user. The implementation is getting called, but fails in runtime (please see device logs for more details):
I did this implementation, where
openCommissioningWindow()
is being called on fabric removed callback:Environment
Linux version 6.1.29-1-MANJARO (builduser@fv-az292-908) (gcc (GCC) 12.2.1 20230201, GNU ld (GNU Binutils) 2.40) #1 SMP PREEMPT_DYNAMIC Wed May 17 14:00:55 UTC 2023
Any additional details
This open issue #715 (comment) reports a different problem, but still has the same error in its logs.
The text was updated successfully, but these errors were encountered: