Skip to content

Add GATT descriptor support for Linux#459

Open
peterebden wants to merge 2 commits into
tinygo-org:devfrom
peterebden:add-gattc-descriptor
Open

Add GATT descriptor support for Linux#459
peterebden wants to merge 2 commits into
tinygo-org:devfrom
peterebden:add-gattc-descriptor

Conversation

@peterebden

Copy link
Copy Markdown

Adds client-side GATT descriptor support to the BlueZ backend.

This lets the client read a characteristic's descriptors; I'm using it for HomeKit / HAP over BLE, where the requests must carry a characteristic's instance ID.

Currently I've only added this for Linux; if you prefer I could add stubs for other platforms. I don't have access to a Go development setup on Macos or Windows to try to write any equivalent implementation there.

I've tested this against my device as part of the HAP pairing flow, which was ultimately successful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant