Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ntripcaster client in version 2.4.3b34 #709

Open
jeanmarc0 opened this issue Feb 7, 2023 Discussed in #708 · 2 comments
Open

ntripcaster client in version 2.4.3b34 #709

jeanmarc0 opened this issue Feb 7, 2023 Discussed in #708 · 2 comments

Comments

@jeanmarc0
Copy link

After deep diving in the code (woaw, when you didin't wrote it and don't know everything about the way it works, it's not so evident ;-)), I found something which seems not updated.
In app/consapp/rtkrcv.c, ISTOPT doesn't match the defines in src/rtklib.h
original:
#define ISTOPT "0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,7:ntripcli,8:ftp,9:http"
seems better:
#define ISTOPT "0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,6:ntripcli,7:ftp,8:http"

And I'm afraid some others defines, close to ISTOP, must be checked... If somebody who knows better could do it...

Hope that helps,
JiM

Discussed in #708

Originally posted by jeanmarc0 February 7, 2023
Hello,
I switched to this version to use galileo satellites.
Before, my configuration included

inpstr2-type       =ntripcli
inpstr2-path       =user:passwd@addr:port/loc
npstr2-format     =rtcm3

to get correction from an ntripcaster.
In this new version, there is a wget operation at startup which use an ftp connection...??? The connection failed because my ntripcaster is waiting for protocol http and doesn't like the /loc...
Maybe the syntax has changed, maybe I did something wrong...???
I can patch the code to specify http through an option or something, but if there is another method, it'll surely be better.

After the fail, it seems the connection to ntripcaster stay down (no new client is seen on the ntripcaster)... Means don't get any correction :-(

Thanks,
JiM

@jeanmarc0
Copy link
Author

Following the same mechanism, I think, issue is the same for:

#define ISTOPT  "0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,7:ntripcli,8:ftp,9:http"
#define OSTOPT  "0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,6:ntripsvr,11:ntripc_c"
#define FMTOPT  "0:rtcm2,1:rtcm3,2:oem4,3:oem3,4:ubx,5:ss2,6:hemis,7:skytraq,8:gw10,9:javad,10:nvs,11:binex,12:rt17,13:sbf,14:cmr,15:tersus,18:sp3"

which could (should?) be replaced in app/consapp/rtkrcv.c by:

#define ISTOPT  "0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,6:ntripcli,7:ftp,8:http"
#define OSTOPT  "0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,5:ntripsvr,9:ntripc_c"
#define FMTOPT  "0:rtcm2,1:rtcm3,2:oem4,3:oem3,4:ubx,5:ss2,6:hemis,7:skytraq,8:javad,9:nvs,10:binex,11:rt17,12:sept,13:rinex,14:sp3,15:rnxclk"

Could a smart eye have a look on that?
BR,
JiM

@windsoryin
Copy link

Thanks so much for your reply @jeanmarc0 , This really help me get the ftp error problem fixed when i actually use ntripcli to get IGS correction data.
This problem really bothered me for a long time!
Best regard.
Windsor Yin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants