Skip to content
Permalink
Browse files
added rfcomm devices in autodetect to connect to bluetooth gps devices
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12728 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
macho committed Jan 10, 2010
1 parent 49e5a14 commit b11fa2b6c0caf98efcc1624a033c0ec76f2ba117
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/gps/qgsgpsconnection.cpp
@@ -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;
@@ -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 b11fa2b

Please sign in to comment.