Changeset 1533 in ntrip


Ignore:
Timestamp:
Jan 21, 2009, 2:07:37 PM (15 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncnetqueryrtp.cpp

    r1532 r1533  
    150150           + "User-Agent: NTRIP BNC/" BNCVERSION "\r\n"
    151151           + "Transport: RTP/GNSS;unicast;client_port=" + clientPort + "\r\n"
    152            + userAndPwd
    153            + "\r\n";
     152           + userAndPwd;
     153    if (!gga.isEmpty()) {
     154      reqStr += "Ntrip-GGA: " + gga + "\r\n";
     155    }
     156    reqStr += "\r\n";
     157
    154158    _socket->write(reqStr, reqStr.length());
    155159   
Note: See TracChangeset for help on using the changeset viewer.