10 #ifndef CNTRIPClient_H
11 #define CNTRIPClient_H
69 net_ref_stations(false),
91 server (
"www.euref-ip.net" ),
101 void private_ntrip_thread();
131 bool open(
const NTRIPArgs ¶ms,
string &out_errmsg);
156 static bool retrieveListOfMountpoints(
157 TListMountPoints &out_list,
159 const string &server,
161 const string &auth_user =
string(),
162 const string &auth_pass =
string()
166 void sendBackToServer(
const std::string &data);
string nav_system
GPS, ...
bool m_waiting_answer_connection
NTRIPArgs()
Default params.
list< TMountPoint > TListMountPoints
Used in CNTRIPClient::retrieveListOfMountpoints.
This class is a bulk sequence of bytes with MultiThread (MT)-safe read and write operations.
string format
RTCM 2.3, RTCM 3, CMR+, etc...
A client for NTRIP (HTTP) sources of differential GPS corrections from internet servers, or Global navigation satellite system (GNSS) internet radio.
string compr_encryp
"none"
A descriptor of one stream in an NTRIP Caster - See CNTRIPClient::retrieveListOfMountpoints.
mrpt::synch::MT_buffer m_upload_data
Buffer for data to be sent back to the server.
mrpt::system::TThreadHandle m_thread
NTRIPArgs m_args
All the parameters for the NTRIP connection.
int carrier
0: No carrier phase, 1: L1, 2: L1+L2
bool m_thread_do_process
Will be "true" between "open" and "close".
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
string country_code
ITA, ESP, DEU,...
TConnResult m_answer_connection
This structure contains the information needed to interface the threads API on each platform: ...
mrpt::synch::CSemaphore m_sem_first_connect_done
mrpt::synch::MT_buffer stream_data
The buffer with all the bytes so-far read from the NTRIP server stream.
mrpt::synch::CSemaphore m_sem_sock_closed
char authentication
"N": none, "B": basic, "D": digest
A semaphore for inter-thread synchronization.
The arguments for connecting to a NTRIP stream, used in CNTRIPClient::open.