|
|
|
|
135
|
// (USB-serial, bluetooth-serial, 18F PICs, and so on)
|
135
|
// (USB-serial, bluetooth-serial, 18F PICs, and so on)
|
136
|
// if you know an other name prefix for serial ports please let us know
|
136
|
// if you know an other name prefix for serial ports please let us know
|
137
|
portNamePrefixes.clear();
|
137
|
portNamePrefixes.clear();
|
138
|
- portNamePrefixes << QLatin1String("ttyACM*") << QLatin1String("ttyUSB*") << QLatin1String("rfcomm*");
|
|
|
|
|
138
|
+ portNamePrefixes << QLatin1String("ttyACM*") << QLatin1String("ttyUSB*") << QLatin1String("rfcomm*") << QLatin1String("tnt*");
|
139
|
portNameList += dir.entryList(portNamePrefixes, (QDir::System | QDir::Files), QDir::Name);
|
139
|
portNameList += dir.entryList(portNamePrefixes, (QDir::System | QDir::Files), QDir::Name);
|
140
|
|
140
|
|
141
|
foreach (QString str , portNameList) {
|
141
|
foreach (QString str , portNameList) {
|