universal_ble icon indicating copy to clipboard operation
universal_ble copied to clipboard

requestMTU doesnt seem to be working on Windows

Open tototo23 opened this issue 5 months ago • 1 comments

Hi, First thanks for this awesome plugin :)

I'm having an issue when trying to increase the default MTU value to send data to a device, on windows : When I call the function await UniversalBle.requestMtu(deviceId, requestedMTU), no matter the value of requestedMTU it always returns 65.

When I checked the cpp source code (I'm not at all a c++ developper) i feel like the "expected_mtu" parameter is not used to set the MTU, and just returns the current value. Does it mean that it's not possible to change the MTU on Windows? Or maybe I missunderstood something?

Thank you

tototo23 avatar Sep 11 '24 11:09 tototo23