Wiced's ModusToolbox has an example project (`HID_LE_REMOTE`) which shows how to setup audio transfer over HOGP (HID over GATT profile).
But it does not show how the other end (the Android application) should be receiving and handling this data. Is there example code available on how to prototype this audio exchange between a CYW20375 and an Android application?
Hi,
Please refer the Bluetooth spec. HID device and Host requirement and behaviour are defined. HID_LE_REMOTE is a HID device (Remote) and is expected to use with a Host such as PC.
https://www.bluetooth.com/specifications/specs/hid-over-gatt-profile-1-0/
FYI.
https://www.bluetooth.com/specifications/specs/hid-over-gatt-profile-1-0/
https://www.bluetooth.com/specifications/specs/human-interface-device-profile-1-1-1/
Thanks,
-Dheeraj.P.K
@bluekrill wrote:
Wiced's ModusToolbox has an example project (`HID_LE_REMOTE`) which shows how to setup audio transfer over HOGP (HID over GATT profile).
But it does not show how the other end (the Android application) should be receiving and handling this data. Is there example code available on how to prototype this audio exchange between a CYW20375 and an Android application?
Hi Dheeraj! Yes, that I understand.
What I haven't seen clearly in the code (and what is provided is not just a few lines, there are many files to sift thru) is how the audio data is being sent. What type of GATT requests are exchanged between the Android client and the BLE remote?
As far as I could understand, when the voice button is pressed the remote sends a GATT notification to the Android device. But what happens next? Where is the audio data being saved to and how does the Android device access it? Does the Android device do a GATT Read to some characteristic? Is it a notification from the BLE remote?
All of this would be clearer if the Android application itself was provided that's why I asked if there was an example code for this.