Page 1 of 1

HID over GATT client

Posted: Tue Aug 13, 2019 3:54 pm
by tharunjoy
Hi all,

Did anyone have any sample code for HID over GATT host or client?

I have seen HID over GATT device demo in the ESP IDF examples. Can I modify that example for HID over GATT host implementation? What all are the modifications I have to do?

Thanks in advance.

Re: HID over GATT client

Posted: Wed Aug 14, 2019 9:16 pm
by chegewara
It all depends what HID host you want to build. Will it works with only one particular HID device or you want to build generic host that will work with any HID device.

Building BLE HID is easy, but to build HID host, especially generic host its a lot work.

Re: HID over GATT client

Posted: Thu Aug 15, 2019 2:22 pm
by tharunjoy
Hi
chegewara wrote:
Only one HID device has to connect to this HID over GATT host. To the current implementation, it is more than fine.

When I look deep into BLE_HID_DEVICE_DEMO, I found they are making use of function sin GATT server. So can I build Ble_hid_client with GATT client example?

Thanks for your reply.

Re: HID over GATT client

Posted: Thu Aug 15, 2019 9:49 pm
by chegewara
Simple answer is yes, you can build it on BLE client example.
Longer answer is that you need deep knowledge about HID and BLE itself.

Re: HID over GATT client

Posted: Fri Aug 16, 2019 7:28 am
by tharunjoy
Any references example to build BLE_HID_client.

Does anyone implemented this?