This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf_ble_gatts_c.c does not call NRF_LOG_MODULE_REGISTER()

This omission leads to linker errors:

_build/app/nrf_ble_gatts_c.c.o: In function `nrf_ble_gatts_c_on_db_disc_evt':
nRF5_SDK/components/ble/ble_services/experimental_gatts_c/nrf_ble_gatts_c.c:187: undefined reference to `m_nrf_log_nrf_ble_gatts_c_logs_data_dynamic'
_build/app/nrf_ble_gatts_c.c.o: In function `on_disconnect':
nRF5_SDK/components/ble/ble_services/experimental_gatts_c/nrf_ble_gatts_c.c:226: undefined reference to `m_nrf_log_nrf_ble_gatts_c_logs_data_dynamic'
collect2.exe: error: ld returned 1 exit status

SDK 14.0.0

Related