Skip to content

Commit a52ec05

Browse files
committed
Increase NTRIP_SERVER_MAX from 1 to 2
1 parent 6e522f4 commit a52ec05

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

Firmware/RTK_Surveyor/Network.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ const char * const networkUser[] =
188188
"PVT Server",
189189
"PVT UDP Server",
190190
"NTRIP Server 0",
191+
"NTRIP Server 1",
191192
};
192193
const int networkUserEntries = sizeof(networkUser) / sizeof(networkUser[0]);
193194

Firmware/RTK_Surveyor/RTK_Surveyor.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
// the minor firmware version
6161
#define RTK_IDENTIFIER (FIRMWARE_VERSION_MAJOR * 0x10 + FIRMWARE_VERSION_MINOR)
6262

63-
#define NTRIP_SERVER_MAX 1
63+
#define NTRIP_SERVER_MAX 2
6464

6565
#ifdef COMPILE_ETHERNET
6666
#include <Ethernet.h> // http://librarymanager/All#Arduino_Ethernet

Firmware/RTK_Surveyor/settings.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,26 +1118,32 @@ typedef struct
11181118
char ntripServer_CasterHost[NTRIP_SERVER_MAX][50] = // It's free...
11191119
{
11201120
"rtk2go.com",
1121+
"",
11211122
};
11221123
uint16_t ntripServer_CasterPort[NTRIP_SERVER_MAX] =
11231124
{
11241125
2101,
1126+
0,
11251127
};
11261128
char ntripServer_CasterUser[NTRIP_SERVER_MAX][50] =
11271129
{
11281130
"[email protected]" // Some free casters require auth. User must provide their own email address to use RTK2Go
1131+
"",
11291132
};
11301133
char ntripServer_CasterUserPW[NTRIP_SERVER_MAX][50] =
11311134
{
11321135
"",
1136+
"",
11331137
};
11341138
char ntripServer_MountPoint[NTRIP_SERVER_MAX][50] =
11351139
{
11361140
"bldr_dwntwn2", // NTRIP Server
1141+
"",
11371142
};
11381143
char ntripServer_MountPointPW[NTRIP_SERVER_MAX][50] =
11391144
{
11401145
"WR5wRo4H",
1146+
"",
11411147
};
11421148

11431149
// TCP Client
@@ -1189,7 +1195,7 @@ struct struct_online
11891195
bool battery = false;
11901196
bool accelerometer = false;
11911197
bool ntripClient = false;
1192-
bool ntripServer[NTRIP_SERVER_MAX] = {false};
1198+
bool ntripServer[NTRIP_SERVER_MAX] = {false, false};
11931199
bool lband = false;
11941200
bool lbandCorrections = false;
11951201
bool i2c = false;

0 commit comments

Comments
 (0)