Unable to write to characteristic via Chrome browser on Android 10

I am using Web Bluetooth API to write to a characteristic of a PCB board. I am able to successfully write to the characteristic via Chrome on Windows laptop.

If i try the same code via Chrome on Android 10, I get a DOM Exception: GATT Error Unknown.

I am writing a Uint8Array of length 493. I tried writing the entire data and also in chunks of 10. In both cases, I am getting an error in Mobile device.

Can someone please help?

I am using Chrome browser version 91.

Read more here: https://stackoverflow.com/questions/67384694/unable-to-write-to-characteristic-via-chrome-browser-on-android-10

Content Attribution

This content was originally published by pix1289 at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: