Setup nRF52 dongle as a Central BLE device and relay all the data from the peripheral to the PC via USb port

Hello,

As per the title, I am trying to use the nRF52 dongle to interface with our device which uses nRF52 based module. The idea is to communicate with the dongle over USB port and send data to our device and receive data back.

Essentially, the nRF52 dongle is replacing the PC's built in Bluetooth which can be sometimes unreliable. Also enables us to have multiple dongles connected to communicate with multiple BLE devices simultaneously.

So I downloaded the Bluetooth: CENTRAL UART WITH USB_CDC_ACM source from github.

https://github.com/WesC-sys/usb_dongle

As suggested in this older ticket.

 Using the nRF52840 Dongle (PCA10059) as a USB serial-to-BLE port 

The issue I face is that the USBD write to the PC is not buffered and drops bytes. Is there a reliable way to implement what I am trying to achieving with high data throughput as out device uses data length extensions and transmits 200 bytes every 30 milliseconds.

Would it better to use a nrf52 DK and a USB UART to achieve the above?

Regards

Parents Reply Children
Related