This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

custom HID over GATT device

I'm trying to create a HID over GATT device that is not a keyboard, nor a mouse. About a week ago, I came close by being able to read some data in an OSX app from the device that I had set up as a Multi Axis Controller. After refactoring (and not saving what I had...), it just stopped working and I've been spending a good week trying to recreate what I had working, without any success. As soon as I modify the keyboard and mouse examples by disabling either hids_init_obj.is_kb or hids_init_obj.is_mouse the device doesn't show up as a HID device in OSX any longer (Bluetooth connection works fine btw). Also, when I tell the hids_init_obj it's either a mouse or a keyboard to make it at least show up on OSX (or Windows for that matter, tried that as well) but I modify the Primary Usage to Multi Axis Controller (0x08), I can't filter the HID device list to only show devices of that Usage type.

I had this all working before, but I just can't figure out which steps are required in modifying the HID examples to make it work again. Also, there don't seem to be an examples of custom HID on nRF devices online. Could anybody help me out here?

Parents Reply Children
No Data
Related