Open jeanmarc0 opened 1 year ago
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
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
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 https://github.com/tomojitakasu/RTKLIB/discussions/708