I am currently using the example of simple_mesh node and want to understand the actions running in it by opening BT_DEBG of zephyr.
Is there a quick way to enable it, or what settings do I need to make to enable it?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I am currently using the example of simple_mesh node and want to understand the actions running in it by opening BT_DEBG of zephyr.
Is there a quick way to enable it, or what settings do I need to make to enable it?
Hi, BT_DBG is already enabled however you need to provide your own logging function in "Mesh/zephyr/include/logging/log.h"
I suggest you take a look at this FAQ: [FAQ] CC2642R: Tips and tricks to use "BLE_LOG_INT_" functionalities - Bluetooth forum - Bluetooth®︎ - TI E2E support forums to enable logging features.
I hope this help
Tanguy
Hi Tanguy,
Thank you for your reply.
So, if I understand correctly, I need to study the methods and functionality provided in osal.c
and then adapt or replicate them to implement the desired functionality in log.h
, is that correct?
Regards,
Neil
Hi Neil,
You don't have to replicate them you can just call them. But you may have to use wrappers around because I am not sure the 2 Api are directly compatible.
Regards,
Tanguy