Page 1 of 1
ntrip client
Posted: Fri Mar 19, 2021 6:54 am
by zealott
Hi,
anyone have a simple ntrip client example for netburner?
Thanks
Re: ntrip client
Posted: Mon Mar 22, 2021 6:16 am
by pbreed
What source and what receiver are you working with?
I don't formally have an Ntrip client, but I've done some work in this area.
Re: ntrip client
Posted: Wed Mar 24, 2021 6:47 am
by zealott
source and receiver can differ, but I guess a plain HTTP connection with basic Auth, and the a raw pipe would work perfect.
strsrv from RTKLib works good, but ideally one that is implemented would be best. Any examples or sources?
Re: ntrip client
Posted: Wed Mar 24, 2021 3:21 pm
by pbreed
I think this is really simple...
Do you have an ntrip server you want to test against?
3.X or 2.9.X release?
If the 3.X release you could probably start with the webclient stuff and steal the TCP connection
instead of closing.
Take a look an nburn\nbrtos\source\http_funcs.cpp
You can probably modify one of the DoGet functions to just return the FD
by modifying DoHTTPResultParse to return the stream...