I am working on the Electronic Braille Display for visually challenged persons. Our device will communicate with Voice over service on the laptops and smart phones using USB HID profile. But to detect our device as Braille Display we need to change the HID Profile in the NORDIC USB Dongle firmware.
I tried to modify the Keyboard example from the sample codes by changing the report descriptor to our custom Braille Display Report descriptor but it did not work for me.
What are the other changes that need to be done to detect as braille display in voice over service on MAC Laptops.
After connection :
From PC I want to receive 20 bytes of information.
from device I am sending one byte code.
//------------------------------Output-1 -(Braille Display)--------------------------------------// 0x05, 0x41, // USAGE_PAGE (braille display page) 0x09, 0x01, // USAGE(braille display) 0xA1, 0x01, // COLLECTION (Application) 0x09, 0x02, // USAGE(Braille cell data) 0x15, 0x00, // LOGICAL_MINIMUM (0) 0x26, 0xff, 0x00, // LOGICAL_MAXIMUM (255) 0x95, 0x14, // REPORT_COUNT (20) 0x75, 0x08, // REPORT_SIZE (8) 0x91, 0x02, // *****OUTPUT***** (Data,Var,Abs) //------------------------------ Input-1 -(Button)------------------------------------------------// 0xA1, 0x02, // COLLECTION (Logical) 0x05, 0x09, // USAGE_PAGE (button) 0x09, 0x01, // USAGE(button 1) dot 1 0x09, 0x02, // USAGE(button 2) dot 2 0x09, 0x03, // USAGE(button 3) dot 3 0x09, 0x04, // USAGE(button 4) dot 4 0x09, 0x05, // USAGE(button 5) dot 5 0x09, 0x06, // USAGE(button 6) dot 6 0x15, 0x00, // LOGICAL_MINIMUM (0) 0x25, 0x01, // LOGICAL_MAXIMUM (1) 0x95, 0x07, // REPORT_COUNT (6) 0x75, 0x01, // REPORT_SIZE (1) 0x81, 0x02, // INPUT (Data,Ary,Abs,Null) 0x95, 0x01, // REPORT_COUNT (2) 0x75, 0x01, // REPORT_SIZE (1) //1 bit padding 0x81, 0x03, // *****INPUT***** (Cnst, Var, Abs) 0xC0, // END_COLLECTION 0xC0