Skip to content
Permalink
Browse files
raw only won't work with GPSes that don't speak NMEA (should fix #4050)
  • Loading branch information
jef-n committed Apr 7, 2012
1 parent eca69c2 commit 051749a495b4ea00bab378d88e0ce049f30d4abc
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/gps/qgsgpsdconnection.cpp
@@ -41,7 +41,7 @@ void QgsGpsdConnection::connected()
{
QgsDebugMsg( "connected!" );
QTcpSocket *socket = qobject_cast< QTcpSocket * >( mSource );
socket->write( QString( "?WATCH={\"enable\":true,\"raw\":true%1};" ).arg( mDevice.isEmpty() ? mDevice : QString( ",\"device\":%1" ).arg( mDevice ) ).toUtf8() );
socket->write( QString( "?WATCH={\"enable\":true,\"nmea\":true,\"raw\":true%1};" ).arg( mDevice.isEmpty() ? mDevice : QString( ",\"device\":%1" ).arg( mDevice ) ).toUtf8() );
}

void QgsGpsdConnection::error( QAbstractSocket::SocketError socketError )

0 comments on commit 051749a

Please sign in to comment.