gpsd_watch_command.diff

Michal Klatecki, 2011-07-06 12:43 AM

Download (751 Bytes)

View differences:

src/core/gps/qgsgpsdconnection.cpp (kopia robocza)
41 41
{
42 42
  QgsDebugMsg( "connected!" );
43 43
  QTcpSocket *socket = qobject_cast< QTcpSocket * >( mSource );
44
  socket->write( QString( "?WATCH={\"enable\":true,\"nmea\":true%1};" ).arg( mDevice.isEmpty() ? mDevice : QString( ",\"device\":%1" ).arg( mDevice ) ).toUtf8() );
44
  socket->write( QString( "?WATCH={\"enable\":true,\"raw\":true%1};" ).arg( mDevice.isEmpty() ? mDevice : QString( ",\"device\":%1" ).arg( mDevice ) ).toUtf8() );
45 45
}
46 46

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