Skip to content

Commit 98208a2

Browse files
committed
Marking L-Band as deprecated. Adding back MQTT (Deprecated) to Web Config.
1 parent e44e2f1 commit 98208a2

File tree

3 files changed

+19
-11
lines changed

3 files changed

+19
-11
lines changed

Firmware/RTK_Everywhere/AP-Config/src/main.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ function parseIncoming(msg) {
131131
select.add(newOption, undefined);
132132
newOption = new Option('Flex NTRIP/RTCM', '1');
133133
select.add(newOption, undefined);
134-
newOption = new Option('Flex L-Band North America', '2');
134+
newOption = new Option('Flex L-Band North America (Deprecated)', '2');
135+
select.add(newOption, undefined);
136+
newOption = new Option('Flex MQTT (Deprecated)', '5');
135137
select.add(newOption, undefined);
136138
}
137139
else if ((platformPrefix == "Facet v2") || (platformPrefix == "Facet v2 LBand")) {
@@ -200,7 +202,9 @@ function parseIncoming(msg) {
200202
select.add(newOption, undefined);
201203
newOption = new Option('Flex NTRIP/RTCM', '1');
202204
select.add(newOption, undefined);
203-
newOption = new Option('Flex L-Band North America', '2');
205+
newOption = new Option('Flex L-Band North America (Deprecated)', '2');
206+
select.add(newOption, undefined);
207+
newOption = new Option('Flex MQTT (Deprecated)', '5');
204208
select.add(newOption, undefined);
205209
}
206210
else if (platformPrefix == "Torch") {
@@ -238,6 +242,8 @@ function parseIncoming(msg) {
238242
select.add(newOption, undefined);
239243
newOption = new Option('Flex NTRIP/RTCM', '1');
240244
select.add(newOption, undefined);
245+
newOption = new Option('Flex MQTT (Deprecated)', '5');
246+
select.add(newOption, undefined);
241247
}
242248
else if (platformPrefix == "Postcard") {
243249
show("baseConfig");
@@ -273,6 +279,8 @@ function parseIncoming(msg) {
273279
select.add(newOption, undefined);
274280
newOption = new Option('Flex NTRIP/RTCM', '1');
275281
select.add(newOption, undefined);
282+
newOption = new Option('Flex MQTT (Deprecated)', '5');
283+
select.add(newOption, undefined);
276284

277285
ge("radioPortBaud").options.length = 0; //Remove all from list
278286
select = ge("radioPortBaud");

Firmware/RTK_Everywhere/menuPP.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ enum PP_DeliveryMethod
4444
{
4545
PP_DELIVERY_NTRIP = 0, // Delivery over an internet connection (essentially TCP)
4646
PP_DELIVERY_MQTT, // Delivery over an internet connection using MQTT (deprecated)
47-
PP_DELIVERY_LBAND_NA, // Delivery over L-Band signal, North America coverage
47+
PP_DELIVERY_LBAND_NA, // Delivery over L-Band signal, North America coverage (deprecated)
4848
PP_DELIVERY_LBAND_GLOBAL, // Delivery over L-Band signal, global coverage
4949
PP_DELIVERY_NONE,
5050
};
@@ -60,7 +60,7 @@ enum PP_Encoding
6060
// Each service will have a printable name, delivery method, and encoding
6161
typedef struct
6262
{
63-
const char serviceName[30];
63+
const char serviceName[40];
6464
PP_ModelType modelType;
6565
PP_DeliveryMethod deliveryMethod;
6666
PP_Encoding encoding;
@@ -70,7 +70,7 @@ typedef struct
7070
const PP_Service ppServices[] = {
7171
{"Disabled", PP_MODEL_NONE, PP_DELIVERY_NONE, PP_ENCODING_NONE}, // Do not use PointPerfect corrections
7272
{"Flex NTRIP/RTCM", PP_MODEL_SSR, PP_DELIVERY_NTRIP, PP_ENCODING_RTCM}, // Uses "ZTP-RTCM-100" profile
73-
{"Flex L-Band North America", PP_MODEL_SSR, PP_DELIVERY_LBAND_NA, PP_ENCODING_SPARTN}, // Uses "ZTP-LBand" profile
73+
{"Flex L-Band North America (Deprecated)", PP_MODEL_SSR, PP_DELIVERY_LBAND_NA, PP_ENCODING_SPARTN}, // Uses "ZTP-LBand" profile
7474
{"Global", PP_MODEL_SSR, PP_DELIVERY_LBAND_GLOBAL, PP_ENCODING_SPARTN}, // Uses "ZTP-Global" profile
7575
{"Live", PP_MODEL_OSR, PP_DELIVERY_NTRIP, PP_ENCODING_RTCM}, // Uses "ZTP-Live" profile
7676
{"Flex MQTT (Deprecated)", PP_MODEL_SSR, PP_DELIVERY_MQTT,

Firmware/RTK_Everywhere/settings.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -620,12 +620,12 @@ typedef uint16_t NETCONSUMER_MASK_t;
620620
enum PP_NickName
621621
{
622622
PP_NICKNAME_DISABLED = 0,
623-
PP_NICKNAME_FLEX_RTCM,
624-
PP_NICKNAME_FLEX_LBAND_NA,
625-
PP_NICKNAME_GLOBAL,
626-
PP_NICKNAME_LIVE,
627-
PP_NICKNAME_IP_MQTT,
628-
PP_NICKNAME_MAX,
623+
PP_NICKNAME_FLEX_RTCM, // 1
624+
PP_NICKNAME_FLEX_LBAND_NA, // 2
625+
PP_NICKNAME_GLOBAL, // 3
626+
PP_NICKNAME_LIVE, // 4
627+
PP_NICKNAME_IP_MQTT, // 5
628+
PP_NICKNAME_MAX, // 6
629629
};
630630

631631
// This is all the settings that can be set on RTK Product. It's recorded to NVM and the config file.

0 commit comments

Comments
 (0)