I have inherited an application that connects to a ble device.
The app searches through devices that are scanned, and connects to the one that has a name that matches the