Has anyone using rtkbase for their basestation had any luck using the str2str command line utility on another device to stream rtcm corrections from the rtkbase tcp rtcm server to a radio separate from the location of the basestation? I’ve put the command str2str -in tcpcli://server_ip:port -out serial://ttyUSB0:baudrate
into a systemd service on the pi that will restart on failure every 5 seconds.
After the rtcm tcp server streams corrections for an hour or two I seem to be having timeouts every few minutes over tcp between the basestation tcp server and the raspberry pi the radio is connected to via usb. I am sending a minimum rtcm message set of 1005, 1074,1084,1230 every second at a baud rate of 57600 to match the xlr radio baud rate of 57600. The baud rate of the f9p receiver configured as base is set to 115200.
The network is local and isolated from all other network devices that are not involved with the transmission of rtcm. Is there a way to configure a UDP server instead of tcp on rtkbase GUI? I noticed in the source code that there is a function for running a udp server with rtkbase, but I’m not sure if it’s implemented anywhere in the program. Ive experimented with using socat instead of str2str on the client side (pi with radio) and it seems to be more consistent than the str2str command, so I’ve stuck to using that for the time being. Although it would be nice to stay consistent with just the str2str commands since that’s what rtkbase uses.