Skip to content

Commit

Permalink
added rfcomm devices in autodetect to connect to bluetooth gps devices
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@12728 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
macho committed Jan 10, 2010
1 parent e4d0a3f commit b298c40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/gps/qgsgpsconnection.cpp
Expand Up @@ -127,7 +127,7 @@ QgsGPSConnection* QgsGPSConnection::detectGPSConnection()
#ifdef WIN32
devicesToTry << "COM1" << "COM2" << "COM3" << "COM4" << "COM5" << "COM6" << "COM7" << "COM8";
#else
devicesToTry << "/dev/ttyS0" << "/dev/ttyS1" << "/dev/ttyS2" << "/dev/ttyS3" << "/dev/ttyUSB0" << "/dev/ttyUSB1";
devicesToTry << "/dev/ttyS0" << "/dev/ttyS1" << "/dev/ttyS2" << "/dev/ttyS3" << "/dev/ttyUSB0" << "/dev/ttyUSB1" << "/dev/rfcomm0" << "/dev/rfcomm1";
#endif
QList<BaudRateType> baudRatesToTry;
baudRatesToTry << BAUD4800 << BAUD9600;
Expand Down Expand Up @@ -178,7 +178,7 @@ QgsGPSConnection* QgsGPSConnection::detectGPSConnection()
}
}

//todo: check usb connections
//todo: check usb connections and bluetooth gps devices

return 0;
}

0 comments on commit b298c40

Please sign in to comment.