sparkfun / SparkFun_RTK_Firmware

Centimeter precision GPS/GNSS using L1/L2 signals broadcast over Bluetooth SPP (using the ESP32) in an easy to use enclosure.
https://docs.sparkfun.com/SparkFun_RTK_Firmware/
Other
82 stars 47 forks source link

Add support for multiple NTRIP servers #767

Closed nseidle closed 3 months ago

nseidle commented 6 months ago

The ability to communicate with multiple NTRIP servers is a good thing.

This PR implements most of the work. The serial UI and web config UI need fixing.

amlago commented 5 months ago

Very good idea. Is there an implementation date? I am interested in sending data to Rtk2go and emlid at the same time.

nseidle commented 5 months ago

Currently two NTRIP Server targets are supported.

PaulZC commented 5 months ago

Hi Angel (@amlago ),

This feature is in the June 10th Release Candidate firmware. Please give it a try. You can enter the credentials for the two NTRIP servers either through the serial menus or the web configuration page. I have been testing it with RTK2go and emlid caster and it works well.

For the serial menu:

Enter 3 to open the Base Menu Enter 7 to enable the NTRIP Server(s) For Server 1, you can enter the credentials with 9-14 Enter 8 to toggle to Server 2 Then enter the credentials for Server 2 using 9-14

image

The firmware will only attempt to connect to a server if the Caster Host, Port and Mountpoint are defined.

Best wishes, Paul

amlago commented 5 months ago

I will try it and make the corresponding comments. My greetings Angel

amlago commented 5 months ago

Hello, I have tested version 4.1 from 10/06. Regarding issuing data to 2 casters, it has been a success. I see fixes from rtk2go and from emlid. Now the problem is that if I use Config wifi and I want to use only one caster and leave the other empty, I can't. It won't let me save the changes. There should be a check in front of each caster to use it or not. If I leave the 2nd caster lockers empty I get an error when saving. On the other hand, entering the caster password is not a mandatory requirement for rtk2go to receive and issue data. They only require the user's email to authenticate. That's what I understand and until yesterday it worked for me with version 3.8. I never entered the caster password. I don't mind entering it, I'm just saying that if it is left blank, the wifi config should save the changes the same. In short, it is a very good advance, we should polish the interface details in the WiFi config. greetings.

PaulZC commented 5 months ago

Hi Angel (@amlago ),

Thank you for the feedback - and apologies for the mistake!

I have updated the WiFi Config page in today's June 14th Release Candidate binary. Now, only the Server 1 Caster Host, Port and Mount Point are mandatory. The Server 2 configuration can be left empty; set the port to 0 if you are not using it.

I made some other small improvements:

Please try the new binary when you have time.

Have a nice weekend, Paul

PaulZC commented 5 months ago

For reference, the code changes are here: https://github.com/sparkfun/SparkFun_RTK_Firmware/commit/2449300a3139530cbdc410df12435f4f9b4cd996

amlago commented 5 months ago

Hello Paul. I have tested version 4.1 06/14. The emission of corrections in the 2 casters works very well. Now if I want to use a single caster, I put 0 in the port of the one I'm not going to use. It would function as an enabling check. I have tried that and it works. So Eureka. My Facet almost always works in base mode so for me they are very useful functions. My greetings and have a good weekend. A lot of rain is expected in Uruguay. uffff Angel

nseidle commented 3 months ago

Fixed in v4.1.