mit-cml / appinventor-extensions

Source code of extensions published for MIT App Inventor
Apache License 2.0
86 stars 95 forks source link

BLE extension doesn't connect to ESP32-C3 mcu, error "Connection status was set to OS code 133" #76

Open KevinTetreault opened 6 months ago

KevinTetreault commented 6 months ago

Hi,

I'm getting a connection error when trying to connect my app to ESP32-C3 mcu.

I'm using the latest extension BluetoothLE.aix 20230728. My phone is a Samsung S20+ with Android version 13 and latest software updates. I've tested the code in the ESP32-C3 by connecting to it using nRF Connect app.

If I downgrade my extension to version 20201223, I can connect when using AI companion, but if I compile this to an apk and install, the app doesn't work (permission errors).

Expected behavior

Here's an image of the code I'm using for testing purposes.

image

kevindevm commented 1 week ago

same