if (StringUtils.isNotBlank(modeString)) {
if (modeString.equalsIgnoreCase("serial")) {
// TODO assign serial transport when implemented
} else {
/* default to network */
transport = new BenqProjectorNetworkTransport();
}
} else {
transport = new BenqProjectorNetworkTransport();
}
String deviceIdString = (String) config.get("deviceId");
if (StringUtils.isNotBlank(deviceIdString)) {
setProperlyConfigured(transport.setupConnection(deviceIdString));