Trying to figure out how to write a program where it scans for all nearby Bluetooth devices, I can select which of the devices found I want to connect to, then connect to it. Looking for the most straightforward way of doing this. In the end I'm looking to have something very similar to the Bluetooth menu on a smartphone where you can scan, connect and disconnect.