code: public URL copyWithDevice(String deviceAddress, Map<String, String> attr) {
          return new URL(this.protocol, this.adapterAddress, deviceAddress, attr, this.serviceUUID,
                  this.characteristicUUID, this.fieldName);
      }
docs: Makes a copy of a given URL with some additional components.
  @param deviceAddress bluetooth device MAC address
  @param attr device attributes
  @return a copy of a given URL with some additional components