Also the wrong name and address are passed to onNewConnection callback,
because the library will try to connect to filtered device which can have a different array index.
if(arr_filter_address.size() > 0)
connect(arr_filter_address.get(c));
else
Toast.makeText(mContext, "Device name mismatch", Toast.LENGTH_SHORT).show();
Or the library will not even try to connect if there is no devices which match the filter.
if device don't have paired devices
Also the wrong name and address are passed to onNewConnection callback, because the library will try to connect to filtered device which can have a different array index.
Or the library will not even try to connect if there is no devices which match the filter.