Hi Sebastian,
I am doing well,Hope you too.
Actually you have mistaken the context
As per my requirement,I need to send functions(for eg:volume up/down/mute) in Keyboard usage page and some in Consumer usage page(as given in the below table) in the same BLE HID code to control the phone. So, I tried to implement both the usage pages in one report map and It worked for functions implemented in consumer usage page, but unfortunately it doesn't work for functions implemented in keyboard usage page.

I used the HID codes given in the following link: http://www.freebsddiary.org/APC/usb_hid_usages.php. Please, provide some solution to make it work for combined keyboard and consumer usage pages.
Below is the report map that I used to implement BLE HID:
Report Map used to implement combined keyboard and consumer functions :
CHARACTERISTIC(char_report_map, 0x2A4B, (gGattCharPropRead_c)
VALUE(value_report_map, 0x2A4B, (gPermissionFlagReadable_c), 94, 0x05,0x01,0x09,0x06, 0xA1, 0x01, 0x85, 0x01, 0x05, 0x07,0x19, 0xE0,0x29, 0xE7,0x15, 0x00,0x25,0x01,0x75, 0x01,0x95, 0x08,0x81, 0x02,0x95, 0x01,0x75, 0x08,0x81, 0x01,0x95, 0x05,0x75, 0x01,0x05, 0x08,0x19,0x01,0x29, 0x05,0x91, 0x02,0x95, 0x01,0x75, 0x03,0x91, 0x01,0x95, 0x06,0x75, 0x08,0x15, 0x00,0x25, 0xA4,0x05, 0x07,0x19, 0x00,0x29, 0xA4,0x81, 0x00,0xC0, 0x05,0x0C,0x09,0x01,0xA1,0x01,0x85,0x02,0x05,0x0C,0x19,0x00,0x2A,0xFF,0x03,0x95,0x01,0x75,0x10,0x15,0x00,0x27,0xFF,0x03,0x00,0x00,0x81,0x00,0xC0)
But when I try this sequence as below:
-> i.e.First I will use report map of keyboard alone without report id as shown below and test hid keyboard,keyboard works fine.
Report Map used to implement only keyboard functions :
CHARACTERISTIC(char_report_map, 0x2A4B, (gGattCharPropRead_c) )
VALUE(value_report_map, 0x2A4B, (gPermissionFlagReadable_c), 63, 0x05,0x01,0x09,0x06, 0xA1, 0x01, 0x05, 0x07,0x19, 0xE0,0x29, 0xE7,0x15, 0x00,0x25,0x01,0x75, 0x01,0x95, 0x08,0x81, 0x02,0x95, 0x01,0x75, 0x08,0x81, 0x01,0x95, 0x05,0x75, 0x01,0x05, 0x08,0x19,0x01,0x29, 0x05,0x91, 0x02,0x95, 0x01,0x75, 0x03,0x91, 0x01,0x95, 0x06,0x75, 0x08,0x15, 0x00,0x25, 0xA4,0x05, 0x07,0x19, 0x00,0x29, 0xA4,0x81, 0x00,0xC0)
-> Then I tried using report map of consumer collection without report id as shown below and tested consumer collection alone,it works, but when I add these two as one report map to test both at a time with the sequence mentioned in my previous comment,consumer control only works but keyboard doesn't.
Report Map used to implement only consumer functions :
CHARACTERISTIC(char_report_map, 0x2A4B, (gGattCharPropRead_c) )
VALUE(value_report_map, 0x2A4B, (gPermissionFlagReadable_c), 26,0x05,0x0C,0x09,0x01,0xA1,0x01,0x05,0x0C,0x19,0x00,0x2A,0xFF,0x03,0x95,0x01,0x75,0x10,0x15,0x00,0x27,0xFF,0x03,0x00,0x00,0x81,0x00,0xC0)
One more thing, I am having a HCI snoop log collected from phone side, but I'm unsure of how to attach it here as there is no option to attach file,how to attach file?
Can u provide your support here ?
Many thanks in advance!