I have worked with companion device manager before and used the filters such as:
val deviceFilter: BluetoothDeviceFilter = BluetoothDeviceFilter.Builder()