fix ntrip client and integration

This commit is contained in:
2024-08-17 10:44:42 +02:00
parent 73fde34e48
commit 27a0a2ca7b
9 changed files with 90 additions and 42 deletions
+19 -2
View File
@@ -14,7 +14,9 @@
#include <stdint.h>
#define HOTSPOT
#define ZUHAUSE
#define SAPOS_NI
// #define RTK2GO
#ifdef HOTSPOT
namespace NetworkConfig
@@ -61,7 +63,7 @@ namespace NetworkConfig
{
const char ssid[] = "Tuedelkram";
const char password[] = "3!Kaesehoch";
const char ip[] = "192.168.178.11";
const char ip[] = "192.168.178.13";
const char subnet[] = "255.255.255.0";
const char gateway[] = "192.168.178.1";
const char dns[] = "8.8.8.8";
@@ -77,6 +79,7 @@ namespace MqttConfig
const char password[] = "p?{$_~5%hBM7wrcFkr55KWr#";
}
#ifdef RTK2GO
namespace NtripConfig
{
const char host[] = "rtk2go.com";
@@ -86,4 +89,18 @@ namespace NtripConfig
// const char mountPoint[] = "Rtkramerntrip";
const char user[] = "alklein1@gmx.de";
const char password[] = "none";
const bool sendOwnPosition = false;
}
#endif // RTK2GO
#ifdef SAPOS_NI
namespace NtripConfig
{
const char host[] = "sapos-ni-ntrip.de";
const uint16_t port = 2101;
const char mountPoint[] = "VRS_3_4G_NI";
const char user[] = "ni_FHDo01";
const char password[] = "ALdx-1-3e49";
const bool sendOwnPosition = true;
}
#endif // RTK2GO