Re: [web-bluetooth] API which provides the negotiated MTU is required (#383)

Thank you for your replies.

I'm trying to solve it using the web api only for a PWA (no Android native code used in an hybrid app).

The Android platform allows to make a MTU request: If I open my web app and connect a bluetooth device, I will receive data limited to 20 bytes. Meanwhile, if I open a native app to make the MTU request (I use nRFConnect) and I back to the web app, I receive the entire data.
The Bluetooth Web API is great but a method to call this 'simple' request is missing.

So yes, a workarround may be to listen these short notifications and read a characteritic to get the entire data (the read method can get the value through multiple packet, the MTU is not a problem) but it is no efficient.

I'm sorry for my bad english :)

GitHub Notification of comment by morgan-wild
Please view or discuss this issue at using your GitHub account

Sent via github-notify-ml as configured in

Received on Thursday, 4 November 2021 12:52:45 UTC