1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-13 05:53:06 +01:00

different modes for UDP writer, allow to select network

This commit is contained in:
andreas
2024-11-07 19:47:27 +01:00
parent 490a5b9ba1
commit a5827e24d8
4 changed files with 250 additions and 24 deletions

View File

@@ -842,6 +842,23 @@
"description": "the UDP port we send to",
"category": "UDP writer"
},
{
"name": "udpwType",
"label": "remote address type",
"type": "list",
"default": "0",
"description": "to which networks/addresses do we send\nbc-all: send broadcast to AP and wifi client network\nbc-ap: send broadcast to access point only\nbc-cli: send broadcast to wifi client network\nnormal: normal target address\nmc-all: multicast to AP and wifi client network\nmc-ap:multicast to AP network\nmc-cli: muticast to wifi client network",
"list":[
{"l":"bc-all","v":"0"},
{"l":"bc-ap","v":"1"},
{"l":"bc-cli","v":"2"},
{"l":"normal","v":"3"},
{"l":"mc-all","v":"4"},
{"l":"mc-ap","v":"5"},
{"l":"mc-cli","v":"6"}
],
"category": "UDP writer"
},
{
"name": "udpwAddress",
"label": "remote address",
@@ -849,7 +866,22 @@
"default": "",
"check": "checkIpAddress",
"description": "the IP address we connect to in the form 192.168.1.2",
"category": "UDP writer"
"category": "UDP writer",
"condition":{
"udpwType":["3"]
}
},
{
"name": "udpwMC",
"label": "multicast address",
"type": "string",
"default": "224.0.0.1",
"check": "checkMCAddress",
"description": "the multicast address we send to 224.0.0.0...239.255.255.255",
"category": "UDP writer",
"condition":{
"udpwType":["4","5","6"]
}
},
{
"name": "udpwWriteFilter",