What does one have to do to activate BT_DBG? #41727
-
In the midst of SMP debug hell and I've been completely unable to get BT_DBG to trace anything out, at least in some modules (??) Version is 2.7.99. It's a custom board running nrf52840. prj.conf:
This is what I get out:
There doesn't appear to be anything from the SMP module. EDIT: This may have something to do with messages being silently dropped by the RTT backend, not sure |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
you have a lot of dropped messages |
Beta Was this translation helpful? Give feedback.
-
That did the trick, thanks. Unfortunately this is starting to look like a sort of heisenbug where fixed key pairing works when logging is turned on and fails when it's turned off. |
Beta Was this translation helpful? Give feedback.
-
I very much believe this to be a legitimate bug. When logging is turned off, fixed key pairing fails every time. When turned on it succeeds every time. I'm having trouble rationalizing that as expected behavior. |
Beta Was this translation helpful? Give feedback.
-
I'm able to get it to reliably fail if I simply setup a callback to Here is the output:
|
Beta Was this translation helpful? Give feedback.
-
Sorry, I realize this probably isn't the right place. I'll doublecheck my work and submit a bug for the pairing thing. |
Beta Was this translation helpful? Give feedback.
you have a lot of dropped messages
--- 447 messages dropped ---
you can try to increase logging buffer (e.g.CONFIG_LOG_BUFFER_SIZE=8192
). Another thing to increase isCONFIG_SEGGER_RTT_BUFFER_SIZE_UP
.