Hello All,
I am new to this forum, I have been using nRF51822 for a while, and its a great little BLE chip. I am usinga BLE keyboard to send a key to iphone and I captured the data. Now I am trying to re-create a report map for HID, or even may be use the existing HID report map for nRF51822, using S110 softdevice and examples. Here is my captured BLD L2CAP with a Teledyne sniffer and here is the result:
Role| LT Addr| CID | Length | L2CAP data
Slave| 5 | 0x004b (HID Interrupt) | 6 | 0x 06 00 4b 00 a1 02 00 20 00 00
As you can see in L2CAP, I am not sure what kind of usage report it is? I also catured a F12 key for reference and here is the result:
Role| LT Addr| CID | Length | L2CAP data
Slave| 6 | 0x004f (HID Interrupt) | 10 | 0x 0a 00 4f 00 a1 01 00 00 45 00 00 00 00 00
IN this capture I understand the L2CAP data part, 0a is total bytes, 4f is CID for HID interrupt, 0xa1 I am not sure what 0xa1 is, it must be part of ATT or GATT protocol, anybody can confirm taht please? next is 01 again I am not sure what this 01 is? then there are 8 bytes of typical HID keyboard descriptor map, which I am familiar with, and there are many example, of these 8 byes for a typical HID keyboard. Now what I am interested is to recreate the capture whci starts with 0xa1 0x02 0x00 0x20 0x00 0x00? Is this still part of Desktop usage, or is it part of Consumer usage, which I think it should be 0x0C, so again I have no idea what all these means. So please help me to create these HID key code sequence on nRF51822 example code.
Thank so much