tomojitakasu / RTKLIB_bin

301 stars 220 forks source link

Defining ISTOPT for stream type: NTRIP client #16

Closed arty86 closed 3 years ago

arty86 commented 3 years ago

Hello! After changing stream type _STR_NTRIPCC and _STR_NTRIPCS to _STRNTRIPCLI, rtkrcv recognizes ntrip client as ftp client.

In rtklib.h _#define STRNTRIPCLI 7 became _#define STRNTRIPCLI 6

but in rtkrcv.c it remains the follow string #define ISTOPT "0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,7:ntripcli,8:ftp,9:http"

I guess it should be canged to #define ISTOPT "0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,6:ntripcli,7:ftp,8:http"

and the next one _#define OSTOPT "0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,6:ntripsvr,11:ntripcc" --> #define OSTOPT "0:off,1:serial,2:file,3:tcpsvr,4:tcpcli,5:ntripsvr,9:ntripcas" etc.

arty86 commented 3 years ago

This bug has already added to RTKLIB branch