connectivity/com.nokia.carbide.remoteConnections.discovery.pccs/src/com/nokia/carbide/remoteconnections/discovery/pccs/pccsnative/PCCSConnection.java
changeset 1123 69e60440504b
parent 1118 572705e37c33
child 1148 4fe29ed5e622
equal deleted inserted replaced
1122:913f5d83a1b0 1123:69e60440504b
   674 			}
   674 			}
   675 		} while (numFound < numUSBDevicesExpected);
   675 		} while (numFound < numUSBDevicesExpected);
   676 		if (numFound == 0) {
   676 		if (numFound == 0) {
   677 			if (Activator.isSymSEELayout()) {
   677 			if (Activator.isSymSEELayout()) {
   678 				String pattern = "PCCS reported {0} devices connected to USB, but did not return any USB personalities for these devices. " +
   678 				String pattern = "PCCS reported {0} devices connected to USB, but did not return any USB personalities for these devices. " +
   679 					"Either this device requires a later version of PCCS or the devices are not responding to part of the PCCS API. " +
   679 					"Either these devices require a later version of PCCS or the devices are not responding to part of the PCCS API. " +
   680 					"If the latest PCCS version is installed, try disconnecting and reconnecting all the devices. " +
   680 					"If the latest PCCS version is installed, try disconnecting the devices and reconnecting in PC/OVI Suite mode. " +
   681 					"The latest PCCS can be found here: " + Activator.getLoadErrorURL();
   681 					"The latest PCCS can be found here: " + Activator.getLoadErrorURL();
   682 				String message = MessageFormat.format(pattern, numUSBDevicesExpected);
   682 				String message = MessageFormat.format(pattern, numUSBDevicesExpected);
   683 				logMessage(message, IStatus.ERROR);
   683 				logMessage(message, IStatus.ERROR);
   684 			} else {
   684 			} else {
   685 				String pattern = "PCSuite reported {0} devices connected to USB, but did not return any USB personalities for these devices. " +
   685 				String pattern = "PC/OVI Suite reported {0} devices connected to USB, but did not return any USB personalities for these devices. " +
   686 					"Either this device requires a later version of PCSuite or the devices are not responding to part of the PCSuite API. " +
   686 					"Either these devices require a later version of PC/OVI Suite or the devices are not responding to part of the PC/OVI Suite API. " +
   687 					"If the latest PCSuite version is installed, try disconnecting and reconnecting all the devices. " +
   687 					"If the latest PC/OVI Suite version is installed, try disconnecting the devices and reconnecting in PC/OVI Suite mode. " +
   688 					"The latest PCSuite can be found here: " + Activator.getLoadErrorURL();
   688 					"The latest PC/OVI Suite can be found here: " + Activator.getLoadErrorURL();
   689 				String message = MessageFormat.format(pattern, numUSBDevicesExpected);
   689 				String message = MessageFormat.format(pattern, numUSBDevicesExpected);
   690 				logMessage(message, IStatus.ERROR);
   690 				logMessage(message, IStatus.ERROR);
   691 			}
   691 			}
   692 		} else if (numFound < numUSBDevicesExpected) {
   692 		} else if (numFound < numUSBDevicesExpected) {
   693 			if (Activator.isSymSEELayout()) {
   693 			if (Activator.isSymSEELayout()) {
   694 				String pattern = "PCCS reported {0} devices connected to USB, but found only {1} USB personalities for these devices. " +
   694 				String pattern = "PCCS reported {0} devices connected to USB, but found only {1} USB personalities for these devices. " +
   695 					"Either this device requires a later version of PCCS or a device is not responding to part of the PCCS API. " +
   695 					"Either a device requires a later version of PCCS or a device is not responding to part of the PCCS API. " +
   696 					"If the latest PCCS version is installed, try disconnecting and reconnecting all the devices. " +
   696 					"If the latest PCCS version is installed, try disconnecting the device and reconnecting in PC/OVI Suite mode. " +
   697 					"The latest PCCS can be found here: " + Activator.getLoadErrorURL();
   697 					"The latest PCCS can be found here: " + Activator.getLoadErrorURL();
   698 				String message = MessageFormat.format(pattern, numUSBDevicesExpected, numFound);
   698 				String message = MessageFormat.format(pattern, numUSBDevicesExpected, numFound);
   699 				logMessage(message, IStatus.ERROR);
   699 				logMessage(message, IStatus.ERROR);
   700 			} else {
   700 			} else {
   701 				String pattern = "PCSuite reported {0} devices connected to USB, but found only {1} USB personalities for these devices. " +
   701 				String pattern = "PC/OVI Suite reported {0} devices connected to USB, but found only {1} USB personalities for these devices. " +
   702 					"Either this device requires a later version of PCSuite or a device is not responding to part of the PCSuite API. " +
   702 					"Either a device requires a later version of PCSuite or a device is not responding to part of the PC/OVI Suite API. " +
   703 					"If the latest PCSuite version is installed, try disconnecting and reconnecting all the devices. " +
   703 					"If the latest PC/OVI Suite version is installed, try disconnecting the device and reconnecting in PC/OVI Suite mode. " +
   704 					"The latest PCSuite can be found here: " + Activator.getLoadErrorURL();
   704 					"The latest PC/OVI Suite can be found here: " + Activator.getLoadErrorURL();
   705 				String message = MessageFormat.format(pattern, numUSBDevicesExpected, numFound);
   705 				String message = MessageFormat.format(pattern, numUSBDevicesExpected, numFound);
   706 				logMessage(message, IStatus.ERROR);
   706 				logMessage(message, IStatus.ERROR);
   707 			}
   707 			}
   708 		}
   708 		}
   709 		return numFound;
   709 		return numFound;