I need help in ble connecting

Hello, I am a student who is working on the App Inventor project.

Today, I coded for the first time and sent an apk file to my smartphone, but the Bluetooth scan is normal, but I don't think it's connected to Bluetooth.

I have an nrf application installed on my phone, would this be a problem?

Could you look at the source code? Thank you!

Android10BLETest_copy3.aia (189.3 KB)