Hello,
We are using nRF52832 DK with SES IDE and latest SDK 15.0 sd 132. We have developed one multiplink central device and modified ble_nus_c with our application to connect our multiple ble sensor node.
Everything is working central device is scanning and ble peripherals connect and send data to central.
We want advertising as well as scanning in central device so we can able to connect Nordic UART app with them.
Problem:
- We have added advertising functionality in central device now in central device have 2 services ble_nus and ble_nus_c.
- When i add ble_nus with existing ble_nus_c the following errors coming:
Building ‘ble_app_multilink_central_pca10040_s132’ from solution ‘ble_app_multilink_central_pca10040_s132’ in configuration ‘Release’ Linking ble_app_multilink_central_pca10040_s132.elf Output/ble_app_multilink_central_pca10040_s132 Release/Obj/ble_nus.o:(.log_dynamic_data_ble_nus+0x0): multiple definition of `m_nrf_log_ble_nus_logs_data_dynamic' (.log_dynamic_data_ble_nus+0x0): first defined here Output/ble_app_multilink_central_pca10040_s132 Release/Obj/ble_nus.o: In function `sd_ble_gatts_service_add': multiple definition of `m_nrf_log_ble_nus_logs_data_const' D:\Permanent_monitoring_system\nRF5_SDK_15.0.0_a53641a\components\ble\ble_services\ble_nus_c/ble_nus_c.c:56: first defined here Build failed
Why this multiple defination error coming please anyone help me i have also attached of my SES snap shot:
How i can do scanning and advertising in central device at same time with NUS and NUS_C ble services.
Thanks in advanced...!!!!