Bluetooth pairing?

I am working with a guy who has developed an IOT device that uploads data to the cloud using WiFi. To set up the WiFi, he pushes a button on the device that turns on bluetooth. He has an app on his Android phone that pairs with the device then lets him choose a WiFi network and enter the password. I have found instructions for assigning a bluetooth connection to a virtual com port, but I have no idea how to do the initial selection of available devices and paring with it. Is this something I can do with Xojo?

If someone has something, I am guessing Christian @MonkeyBread