I built a speed detector (of a rotating wheel) based on PIC32. For now I'm sending the speed to the PC through UART, but I'd like to be sending it through Bluetooth as a HID device because I'd like to use OS' drivers.
I've been googling for quite some time now and I've learnt a few things about Bluetooth and HID. So I will probably buy Microchip's RN42 (formerly Roving Networks) which supports HID profile. However I'd still need some advice, I do know it can be done (example), but I just don't know how to go about it.
For example how would I create my own descriptor to send to host? Or do I use an existing one? A descriptor has to be sent when connecting HID device to host, right?
I also read something about raw mode. Is HID in raw mode what I'm looking for?