File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,6 +56,19 @@ Change the settings in the `src/nimconfig.h` file to customize NimBLE to your pr
5656such as increasing max connections, default is 3 for the esp32.
5757<br />
5858
59+ # Debugging
60+ All NimBLE debug configuration options are located in ` src/nimconfig.h ` .
61+ Uncomment and modify the desired settings before compiling.
62+
63+ ## Recommended debug configuration
64+ For connection and protocol debugging:
65+ ``` cpp
66+ #define MYNEWT_VAL_BLE_HS_LOG_LVL 1
67+ #define MYNEWT_VAL_NIMBLE_CPP_LOG_LEVEL 3
68+ #define MYNEWT_VAL_NIMBLE_CPP_ENABLE_RETURN_CODE_TEXT
69+ #define MYNEWT_VAL_NIMBLE_CPP_ENABLE_GAP_EVENT_CODE_TEXT
70+ ```
71+
5972# Development Status
6073This Library is tracking the esp-nimble repo, nimble-1.5.0-idf branch, currently [@e3cbdc0.](https://github.com/espressif/esp-nimble)
6174<br/>
You can’t perform that action at this time.
0 commit comments