- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
We are using CYBT-343026 module with EZ-Serial FW and we want to know if is it possible to implement an HID over Gatt profile to emulate a keyboard using gatts_create_attr (/CAC) command ?
Thank you.
Best regards.
Skalis
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The HID profile needs some lower level support such as key management which is not supported by the EZ-Serial FW.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you need to use the HID profile, you need to develop the application by youself.
You can refer to the HID demo in the SDK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Owen,
I'm trying to implement the HID by myself.
I created an empty project and tried to port the code defined into following example: https://github.com/Infineon/mtb-example-btsdk-hid-dual-mode-keyboard .
Now I have the following error:
../mtb_shared/wiced_btsdk/dev-kit/libraries/btsdk-hid/release-v2.8.0/COMPONENT_hidd_lib2/hidd_gatts.h:38:10: fatal error: wiced_hidd_lib.h: No such file or directory
The "hidd_lib2" included in my project needs the "wiced_hidd_lib.h".
As you probably know, "wiced_hidd_lib.h" is the header file for the "wiced_hidd_lib.a" prebuild library, but it is not present into the "20706A2" baselib folder.
Please, can you help me to understand what is wrong?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
With EZ serial we can define custom Gatt services and characteristics (with /CAC cmd) , what it's limitting the possibility to add an HID over Gatt profil ?
We want to avoid asking the user to upload a new FW to be able to use HID , we prefer to have one FW supporting SPP-over-GATT and HID-over-GATT.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The HID profile needs some lower level support such as key management which is not supported by the EZ-Serial FW.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can we have access to the EZ-Serial app source code in order to add the HID-over-Gatt part ?
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, the source code of EZ-Serial FW is not available for public.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Zhang123,
I'm doing the same thing.
Why the HID over GATT needs low level support?
I'm reading the following cypress guide and it seems just to configure the GATT profile in the right way. Doesn't it?
I tried to configure the CYBT-343023-01 module using the "/CAC" commands but i received the error code "GATTS_DB_VALID_ERROR_SVC_DECL_REQUIRED", what does it mean?
1644400883.553: TX=> [wiced_20706.cmd_gatts_create_attr (5/1) from assembly (scope=ram), type: 0x0, permissions: 0x2, length: 0x7, data: 03280417004C2A]
1644400883.553: TX=> [C0 0D 05 01 00 02 07 00 07 00 03 28 04 17 00 4C 2A 38] (b'\xc0\r\x05\x01\x00\x02\x07\x00\x07\x00\x03(\x04\x17\x00L*8')
1644400883.599: <=RX [wiced_20706.rsp_gatts_create_attr (5/1) from binary (scope=ram), result: 0x110, attr_handle: 0x16, valid: 0x6]
0016 2803 /CAC,T=00,P=02,L=0007,D=03280417004C2A
Thank you in advanced.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The PSoC6 device is different with CYBT-343026. In the creator, after you configure the GATT database, the SDK will generate the lower level code automatically. You only need to configure the GPIO.