HID over GATT client

tharunjoy
Posts: 22
Joined: Wed Dec 12, 2018 5:30 am

HID over GATT client

Postby tharunjoy » Tue Aug 13, 2019 3:54 pm

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.

chegewara
Posts: 2207
Joined: Wed Jun 14, 2017 9:00 pm

Re: HID over GATT client

Postby chegewara » Wed Aug 14, 2019 9:16 pm

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.

tharunjoy
Posts: 22
Joined: Wed Dec 12, 2018 5:30 am

Re: HID over GATT client

Postby tharunjoy » Thu Aug 15, 2019 2:22 pm

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.

chegewara
Posts: 2207
Joined: Wed Jun 14, 2017 9:00 pm

Re: HID over GATT client

Postby chegewara » Thu Aug 15, 2019 9:49 pm

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.

tharunjoy
Posts: 22
Joined: Wed Dec 12, 2018 5:30 am

Re: HID over GATT client

Postby tharunjoy » Fri Aug 16, 2019 7:28 am

Any references example to build BLE_HID_client.

Does anyone implemented this?

Who is online

Users browsing this forum: Baidu [Spider] and 105 guests