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

Combining NUS Central and peripheral for NRF52840

Hi

I'm trying to combine NUS central and peripheral in a single nrf52840. Using SDK V 15.0.0 and softdevice V 6.0.0. Have added both ble_nus and ble_nus_c files and enabled BLE_NUS_C_ENABLED and BLE_NUS_ENABLED in sdk_config.h

But getting errors as "duplicate definitions for "m_nrf_log_ble_nus_logs_data_const" and "m_nrf_log_ble_nus_logs_data_dynamic". I couldn't locate these definitions in the code.

My doubt is , is it possible to combine both NUS cental and peripheral?

Any help to solve this. Thanks

Related