improv-wifi / sdk-ble-js

JavaScript SDK to add Improv Wi-Fi over BLE to your website.
https://www.improv-wifi.com
Apache License 2.0
46 stars 8 forks source link

Sending RPC doesn't work with Chrome on macOS #213

Open zehnm opened 10 months ago

zehnm commented 10 months ago

I'm implementing improv-wifi BLE on ESP32 with IDF 5.1 and NimBLE, but sendRPC calls never reach my device when using Chrome on a Mac. Reading state and capabilities characteristics works, but RPC requests are simply "swallowed" using https://esphome.github.io/esp-web-tools/.

Cross referencing it with the ESP Web Tools firmware showed the exact same behaviour: provisioning is never initiated and the web app gets stuck!

The same issue has been described in #212 but has been closed due to inactivity. So it seems I'm not the only one.

Now the fun part:

I'd like to use improv-wifi BLE in our product and get this working on Mac as well. I'm happy to provide more information if required to help resolve this issue.