Skip to content

Commit 68cffd0

Browse files
committed
Add PD_'s for UDP Server
1 parent d95eefe commit 68cffd0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Firmware/RTK_Everywhere/menuSystem.ino

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1239,6 +1239,15 @@ void menuPeriodicPrint()
12391239
systemPrint("55) Provisioning state: ");
12401240
systemPrintf("%s\r\n", PERIODIC_SETTING(PD_PROVISIONING_STATE) ? "Enabled" : "Disabled");
12411241

1242+
systemPrint("56) UDP server state: ");
1243+
systemPrintf("%s\r\n", PERIODIC_SETTING(PD_UDP_SERVER_STATE) ? "Enabled" : "Disabled");
1244+
1245+
systemPrint("57) UDP server data: ");
1246+
systemPrintf("%s\r\n", PERIODIC_SETTING(PD_UDP_SERVER_DATA) ? "Enabled" : "Disabled");
1247+
1248+
systemPrint("58) UDP server broadcast data: ");
1249+
systemPrintf("%s\r\n", PERIODIC_SETTING(PD_UDP_SERVER_BROADCAST_DATA) ? "Enabled" : "Disabled");
1250+
12421251
systemPrintln("------- Tasks ------");
12431252
systemPrint("70) btReadTask state: ");
12441253
systemPrintf("%s\r\n", PERIODIC_SETTING(PD_TASK_BLUETOOTH_READ) ? "Enabled" : "Disabled");
@@ -1336,6 +1345,12 @@ void menuPeriodicPrint()
13361345
PERIODIC_TOGGLE(PD_HTTP_CLIENT_STATE);
13371346
else if (incoming == 55)
13381347
PERIODIC_TOGGLE(PD_PROVISIONING_STATE);
1348+
else if (incoming == 56)
1349+
PERIODIC_TOGGLE(PD_UDP_SERVER_STATE);
1350+
else if (incoming == 57)
1351+
PERIODIC_TOGGLE(PD_UDP_SERVER_DATA);
1352+
else if (incoming == 58)
1353+
PERIODIC_TOGGLE(PD_UDP_SERVER_BROADCAST_DATA);
13391354

13401355
else if (incoming == 70)
13411356
PERIODIC_TOGGLE(PD_TASK_BLUETOOTH_READ);

0 commit comments

Comments
 (0)