You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to make the logging less verbose on NuttX,
I can disable the logging completely by modifying the definition in nimble_npl_os_log.h in the porting directory of nuttx, but I can't make it less verbose by e.g. not enabling ..._ERROR routines.
It seems that most nimble codes uses some redefinition of BLE_NPL_LOG(lvl, ... but some code (e.g. ble_att_cmd.c) is directly using a macro BLE_EATT_LOG_ERROR(. This makes it necessary for nimble_npl_os_log.h to generate the specific macro for each "subsystem".
Is there some example that generates the correct macro's instead of one global enabled/disabled log function ?
Thanks,
The text was updated successfully, but these errors were encountered:
I am trying to make the logging less verbose on NuttX,
I can disable the logging completely by modifying the definition in
nimble_npl_os_log.h
in the porting directory of nuttx, but I can't make it less verbose by e.g. not enabling..._ERROR
routines.It seems that most nimble codes uses some redefinition of
BLE_NPL_LOG(lvl, ...
but some code (e.g.ble_att_cmd.c
) is directly using a macroBLE_EATT_LOG_ERROR(
. This makes it necessary fornimble_npl_os_log.h
to generate the specific macro for each "subsystem".Is there some example that generates the correct macro's instead of one global enabled/disabled log function ?
Thanks,
The text was updated successfully, but these errors were encountered: