tinygo-org / bluetooth

Cross-platform Bluetooth API for Go and TinyGo. Supports Linux, macOS, Windows, and bare metal using Nordic SoftDevice or HCI
https://tinygo.org
Other
754 stars 137 forks source link

Request/Update MTU #142

Open Albinzr opened 1 year ago

Albinzr commented 1 year ago

How can we update or Request MTU value, Can anyone provide sample code

Albinzr commented 1 year ago

@trevrosen @deadprogram @ecksun @erik any solutions for this?

ecksun commented 1 year ago

any solutions for this?

I don't know, sorry

Any reason you thought I would?

zedisdog commented 1 year ago

windows: https://learn.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.genericattributeprofile.gattsession.maxpdusize?view=winrt-22621

aykevl commented 1 year ago

This is not yet implemented. For anyone needing this: feel free to create a PR to add this feature (it should work on at least two different platforms because this is a new API).