Can not send data through NUS using USBD_BLE_UART_C CDC

Hello,

I am now developing firmware for nRF52840 DK and nRF52840 dongle. My target is to develop a firmware that my DK/dongle be central and can send command to peripheral device through NUS.

I have successfully develop a firmware and sent data through NUS for UART version. Now I am develop for USBD and dongle version.

My final target is that dongle can be central and send command through NUS and can receive the message from device.

So far my firmware can connect to device, but I can't send and receive any message through NUS.

The left is UART port and right is USB port

My opinion is that this firmware can send and receive through NUS at USB port ,but now I can't send and receive anything.

And there is the same happens at dongle , dongle can connect to device but can't send anything.

Here is my project ,I am wondering where I did wrong, thank you.

 

Related