code: public URL getServiceURL() {
          return new URL(this.protocol, this.adapterAddress, this.deviceAddress, this.deviceAttributes,
                  this.serviceUUID, null, null);
      }
docs: Returns a copy of a given URL truncated to its service component.
  Characteristic and field components will be null.
  @return a copy of a given URL truncated to the service component