I am trying to combine the usbd (hid mouse) example with the uart central example to run on the nRF52840 dongle. I am having a lot of problems and am not really sure how to do this. When I run just the usbd example, the device shows up as an HID mouse device (which is what I want). But when I combine it with the uart central example, it shows up as a USB composite device.
I have also tried using the usbd_uart_ble example but I do not want my usb input to show up as a serial emulator (COM port).
My ultimate goal is to make the dongle a central device, with bluetooth capabilities, and have it be recognized as an HID mouse. Any help would be extremely appreciated as I have been banging my head with this for weeks.
Thank you,Tanya Dhayagude
Can't thin about anything else, but to use usbd_uart_ble. maybe someone else can suggest better option, I'm also interested.
Okay, so I was able to get the dongle to pair to another board (nRF52832) and show up as an HID mouse.
I am using the nRF52832 with a joystick to move the mouse. I am trying to send these movements to the dongle for it to move the mouse via USB. How can I do this?
Thanks, I will provide the code for the HID mouse and BLE integration soon.
Are you implementing a BLE HID Central device? Why not use a normal bluetooth dongle, which normally is combined with wifi-chipsets in newer PCs and laptops?
As the main use-case for Bluetooth LE HID over GATT is in the peripheral role, we do not have a hid_central profile implementation available.
You could develop a proprietary BLE service, where you forward the mouse-data over USB on your device, but that would be a proprietary approach.