Bluetooth scan not working!

Hi all,

I have not built an app with MIT Ai2 for quite a while so my programming is a bit rusty!

I am trying to write a simple app that will connect to an ESP32 with BLE to send and receive messages.

The problem is that when I click connect (list) it doesn't display any BT devices. (should scan for any when app opens)

Any help would be awesome!

Thanks,

Zeb

BLE_ESP32.aia (87.9 KB)

Hi Zeb

See the links on my site:
https://www.professorcad.co.uk/appinventortips#TipsESP32
https://www.professorcad.co.uk/appinventortips#TipsBluetooth

Note, your device (phone) must have Location switched on.

Thanks very much @ChrisWard it now works!

The problem was it needed location switch on :slight_smile:

Thanks again,

Zeb

Good to know