rtkbase icon indicating copy to clipboard operation
rtkbase copied to clipboard

Add TCP client service

Open Stefal opened this issue 1 year ago • 4 comments

Is your feature request related to a problem? Please describe. RTKdirect don't use ntrip but tcp client link for the gnss base

Describe the solution you'd like Add tcp client service

Additional context #373

Stefal avatar Mar 24 '24 13:03 Stefal

I do it for link with https://rtkdirect.com. In run_cast.sh

if [[ ${mnt_name_a} == TCP ]] && [[ ${svr_pwd_a} == TCP ]]
  then
    out_caster_A="tcpcli://${svr_addr_a}:${svr_port_a}#rtcm3 -msg ${rtcm_msg_a} -p ${position}"
  else
    out_caster_A="ntrips://:${svr_pwd_a}@${svr_addr_a}:${svr_port_a}/${mnt_name_a}#rtcm3 -msg ${rtcm_msg_a} -p ${position}"
fi

if [[ ${mnt_name_b} == TCP ]] && [[ ${svr_pwd_b} == TCP ]]
  then
    out_caster_B="tcpcli://${svr_addr_b}:${svr_port_b}#rtcm3 -msg ${rtcm_msg_b} -p ${position}"
  else
    out_caster_B="ntrips://:${svr_pwd_b}@${svr_addr_b}:${svr_port_b}/${mnt_name_b}#rtcm3 -msg ${rtcm_msg_b} -p ${position}"
fi

Jef239 avatar Apr 10 '24 12:04 Jef239

See https://github.com/Stefal/rtkbase/tree/tcp-client_udp A separate service for client TCP connexion will be available in the next release

Stefal avatar Apr 10 '24 13:04 Stefal

We looked at your TCP branch but noticed more recently you disabled the UDP services and commented out the setting file in the web app. We would like to use this feature. Does this branch work correctly or not?

craisbeck avatar Apr 16 '24 18:04 craisbeck

We looked at your TCP branch but noticed more recently you disabled the UDP services and commented out the setting file in the web app. We would like to use this feature. Does this branch work correctly or not?

TCP Client should work (please inform me if it's not the case).

For UDP, i had some mixed results, and Strsvr seems to have more options than str2str. This is the reason I've disabled it for now.

Stefal avatar Apr 18 '24 20:04 Stefal

@Jef239 I've just created an account on rtkdirect, and I've connected my base station with ntrip parameters. I don't understand why you need a tcp client connection.

Did rtkdirect made some changes?

Stefal avatar May 29 '24 19:05 Stefal

Did rtkdirect made some changes?

YES. RtkDirect is doing a complete infrastructure redesign because the old design can't handle the load. So they switched from TCP to NTRIP v2. But NTRIP v1 is already working. I tested RtkBase with RtkDirect, everything is fine.

Jef239 avatar May 29 '24 20:05 Jef239

Ok, so the tcp client service becomes unuseful. I will hide it.

Stefal avatar May 29 '24 20:05 Stefal