Wifi NTRIP master as a base?

Q&A forumCategory: QuestionsWifi NTRIP master as a base?
AndrewRL asked 10 months ago

The instructions seem to assume that the Xbee NTRIP board will be used as a client/rover.
What is needed to reconfigure SimpleRTK2B to work with it in NTRIP server mode?
Will it be sufficient to simply load the base .cfg file from the repository (and to revert to client mode simply reload the rover .cfg)?
Or are any extra adjustments needed eg to the UART2 input and/or output protocols?
And is it OK to enable BOTH NTRIP server and NTRIP client at the same time – eg to better survey-in using RTCM3 from a far-away public NTRIP server before providing its own locally generated RTCM3 stream (and would that need any extra configuration)?

Ardusimple Staff replied 10 months ago

Hi Andrew,

All that you mention it’s correct and it’s possible with NTRIP WiFi Master. The only challenge when using it as a NTRIP Caster, is that usually WiFi networks don’t allow external connections (NTRIP clients from internet, connecting to your NTRIP Caster inside your WiFi network). For this to work you will have to open the ports of your router.

Another option is to use the NTRIP WiFi Master with the NTRIP server function, that can connect to a service like rtk2go and rtk2go will be your available Caster in the internet.

AndrewRL replied 10 months ago

Thanks, apart from one time when it stopped communicating with wifi despite power cycling (probably an external problem, but only solved by re-entering WiFi credentials on the NTRIP master) it has been working with rtk2go fine for several days continuously.

It even now simultaneously runs as its own WiFi hotspot (for easier recovery in case of future problems with the site WiFi) AND as a TCP socket server talking to Rtklib’s STRSVR (to convert the RTCM 3.2 stream to RTCM 3.0 hopefully to suit an older L1 only rover – work in progress that one!) AND to answer my own question YES you can have NTRIP input and output enabled simultaneously to better survey-in (although I have now input a fixed location averaged over some hours with Mobile Topographer Pro for absolute consistency).

No I won’t be trying caster mode because this is mobile-wifi with CGNAT and opening ports through that is VERY complicated (and rtk2go solves the problem nicely).

Next project is to try to get it talking via RTK 2go with another simplertk2b roving but I think NTRIP master is not needed on the rover for that if I use Lefebure client on the phone to do NTRIP and send corrections indirectly up the USB and receive NMEA back to feed android “mock location”. That should work OK shouldn’t it?

Ardusimple Staff replied 10 months ago

Hi Andrew,
thanks for posting your progress, very useful for the community.
Regarding your question, yes you can do that. But we have just experienced some apps are only able to use built-in GPS and not external GPS.

2 Answers
AndrewRL answered 10 months ago

This has been running continuously for some days now feeding RTCM3.2 to rtk2go.com directly via the inbuilt NTRIP server and feeding RTCM3.0 to rtk2go.com indirectly with STRSVR connecting to the inbuilt TCP server and doing the translation. Power is supplied redundantly with separate independent connections to both USB sockets.
Two issues have arisen

  1. STRSVR loses connection with the TCP socket on the module every 20865 seconds (also sometimes less) takes about 11 seconds to reconnect and for the next 11 seconds receives apparently null data (sorry the log does not record RTCM packet contents, just the length and this is shorter) before getting back to normal. The stream from the inbuilt NTRIP server also disconnects and reconnects at the same time (but I don’t have detailed logs). This means that for 0.1% of the time RTCM is unavailable from the caster – which would be fine for surveying but not at all helpful if simpletrk2B is driving the tractor during those 22 seconds. Is this very predictable reset every 20865 seconds anticipated behaviour of Simplertk2b of of the NTRIP master?
  2. The problem with the module losing Wifi connection with the site wifi remains, but this is less frequent. Sometimes merely connecting to the ESP_XBee_****** hotspot and pressing the submit button to restart the module is sufficient  to fix this, other times powering down is necessary, yesterday even that did not work and it needed a full reset by pressing the Boot button for >5 secs, but that will not be convenient when mounted in the final position high up in the barn with the antenna on the roof (for boost sky). Curiously even when it proves impossible to connect to the site’s wifi the internal hotspot still works, and the scan button finds the proper wifi (-31dBm) just will not connect with it even in the password is re-entered. This time I noticed the ESP32Xbee led doing the fast-red-flashing error indication after restart so I saved a core_dump and I guess this wants reporting on the GitHub issues page, but has anyone else has success with long term wifi connections?


Ardusimple Staff replied 9 months ago

investigation continues in github: https://github.com/nebkat/esp32-xbee/issues/5#issuecomment-569524946

steffendring answered 9 months ago

Hallo and a happy new year to all,
when I want to use SimpleRTK2B to work in BOTH the NTRIP server (to RTK2Go) and the NTRIP client mode AT THE SAME TIME do I have to select NMEA or RCTM on UART2 out?
Because in this post https://www.ardusimple.com/question/ntrip-configuration-uart2-for-wifi-ntrip-master/ is posted that RTK2Go doesn´t want NMEA but on your NTRIP Master site is noted “Don’t forget to enable NMEA if you use it as a client, and RTCM if you use it as a sever/caster.”!?
Best regards!

steffendring replied 9 months ago

Hallo once more,
how Do I have to configure the Wifi NTRIP Master to work in BOTH the NTRIP server (to RTK2Go) and the NTRIP client mode AT THE SAME TIME?
I tried the whole day to get it work but when I activate the server I don´t receive no correction signal anymore – thus without the server activated no problem!?
Thank´s and best regards!