Closed SanZamoyski closed 3 months ago
Ok, got it: had debug=0 in platformio.ini. How about Core?
Yes, the NimBLE host is already on core 0.
If you want to see the NimBLE stack debug logs as well then you will need this:
/** @brief Un-comment to set the debug log messages level from the NimBLE host stack.\n
* Values: 0 = DEBUG, 1 = INFO, 2 = WARNING, 3 = ERROR, 4 = CRITICAL, 5+ = NONE\n
* Uses approx. 32kB of flash memory.
*/
// #define CONFIG_BT_NIMBLE_LOG_LEVEL 5
Thanks!
Hi!
I'm having some problems with my project (it's quite big now, lot of files, so I won't attach it all here, ok?). I have three files with BLE stuff. In first included to main.cpp, I have:
Then a lot of stuff: advertising, callbacks etc.
Everything seems to work (communication between android apk) but there is no BLE debugging informations.
The problem is I have audioI2S library included and task for audio.loop() pinned to core1. I'm trying to force nimble to pin to core 0. Meybe it's already on core0, as
gives
Is that correct?