8 years, 9 months ago.

HID android

Hi, I have implemented a firmware that allows to bonding and connecting whit android and iOs; I have added the HID service and characteristics, if I press a button I can send a parameter 0xE9(with this parameter I should increment the volume in the android device) at the characteristic 2A4D, but the device volume doesn't increment... 1: I must send another parameter to another characteristic? 2: iOs HID parameters, are equals to Android parameters? 3: 0xE9 is the correct parameter to increase the volume? On HIDService.cpp i have : uint8_t KeyboardReportMap[] = { 0x05, 0x0C, Usage Page (Consumer) 0x09, 0x01, Usage (Consumer Control) 0xA1, 0x01, Collection (Application)... ....... ...0x09, 0xEA, Usage (Volume Down) 0x81, 0x06, Input (Data,Value,Relative,Bit Field) 0x09, 0xE9, Usage (Volume Up) 0x81, 0x06, Input (Data,Value,Relative,Bit Field) ... When i press the button on nrf51 i do this: Hid.updateReport(0xE9, 0x00); The value is sent at the correct characteristic (2a4a), but the volume doesn't work

With a proffesional sniffer i see that Report ID = -1 and Report Type = Reserved [-1] but in the KeyboardReportMap[] i've implemented that Report ID = 3? Thanks a lot for the reply!

1 Answer

6 years, 1 month ago.

Hello, we can help you with the problem, turn to our department android android app development in san jose. In general, we work for the whole of America and with joy we will take up any application that needs to be implemented, so please be happy to help