nrf52 DK I2S Data over BLE Integration

Hello, 
I am using an I2S PDM Mic and trying to send the I2S Data over BLE using Segger Embedded Studio. The I2S Program that I have generated is working ok. I have verified the MIC data on UART Serially. No I have to share the same data over BLE. There is another BLE sample named "ble_app_template" which I used to stream the data over BLE. During the integration of I2S and BLE I came across the error shown in the image. Various other errors were also there from which many of it were resolved by adding headers into correct location.
I am not able to get rid of this one please guide.

Error: "undifined reference to ble_nus_on_ble_evt"

Error image: https://drive.google.com/file/d/1GQuNenNXeixquduDuG20oVLuKHWcQoUV/view?usp=sharing 


Parents
  • Hi,

    I am adding your screenshot here to avoid the external service:

    I see you get linker errors due to using ble_nus_on_ble_evt though it has not been compiled. So it looks like you have not added components/ble/ble_services/ble_nus/ble_nus.c to the project? That is where this is implemented, and it needs to be added. You also need to set BLE_NUS_ENABLED to 1 in your sdk_config.h.

Reply
  • Hi,

    I am adding your screenshot here to avoid the external service:

    I see you get linker errors due to using ble_nus_on_ble_evt though it has not been compiled. So it looks like you have not added components/ble/ble_services/ble_nus/ble_nus.c to the project? That is where this is implemented, and it needs to be added. You also need to set BLE_NUS_ENABLED to 1 in your sdk_config.h.

Children
Related