-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Bluetooth: Mesh: initialisation delay after disabling CONFIG_BT_DEBUG_LOG #11780
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
Comments
Note that according to @jhedberg this is now generalized in the Bluetooth samples. Logging seems to delay the startup of Bluetooth by about 10 seconds. |
Looks like this is caused by commit 4d94257. @Vikrant8051 could you try reverting that ( |
OK |
After merging #11838 there is no effect. Still facing mentioned delay in initialization. |
@Vikrant8051 you also need #11842 . Both PRs should hopefully be merged soon. |
@Vikrant8051 both PRs are in master now, so you can just rebase on top of that to see if the issue is now solved. |
@nordic-krch @jhedberg @carlescufi |
Uh oh!
There was an error while loading. Please reload this page.
It is found that we have to have enable CONFIG_BT_DEBUG_LOG=y
then only Mesh initialization happens within second otherwise it takes around 10+ seconds. This bug has introduced after latest new logging subsystem.
To Reproduce
with CONFIG_BT_DEBUG_LOG=n (it is by default disable as per current prj.conf)
Here NODE takes 10+ seconds to print "Mesh initialized"
It will be good if we could avoid all type of DEBUG LOGs, so that we could avoid that 1 seconds delay as well as to improve the performance. DEBUG log is important only for development with actual product developers may want to disable it.
The text was updated successfully, but these errors were encountered: