I need to scan the BLE devices by name available and then connect to the desired ones. My device is only advertising address and its name.
I am using ArduinoBLE.h library. Using scanForName("mydevice1") function, it only looks for and connects to that specific device.
But I want to connect to all devices that start with name mydevice. How can I do this?