199 lines
6.7 KiB
JSON
199 lines
6.7 KiB
JSON
[
|
|
{
|
|
"name": "systemName",
|
|
"label": "system name",
|
|
"type": "string",
|
|
"default": "ESP32NMEA2K",
|
|
"check": "checkSystemName",
|
|
"description": "system name, used for the access point and for services"
|
|
},
|
|
{
|
|
"name": "usbBaud",
|
|
"label": "USB baud rate",
|
|
"type": "list",
|
|
"default": "115200",
|
|
"description": "baud rate for the USB port",
|
|
"list": [1200,2400,4800,9600,14400,19200,28800,38400,57600,115200,230400,460800]
|
|
},
|
|
{
|
|
"name": "sendUsb",
|
|
"label": "NMEA to USB",
|
|
"type": "boolean",
|
|
"default": "true",
|
|
"description": "send out NMEA data on the USB port"
|
|
},
|
|
{
|
|
"name": "receiveUsb",
|
|
"label": "NMEA from USB",
|
|
"type": "boolean",
|
|
"default": "true",
|
|
"description": "receive NMEA data on the USB port"
|
|
},
|
|
{
|
|
"name": "usbToN2k",
|
|
"label": "USB to NMEA2000",
|
|
"type": "boolean",
|
|
"default": "true",
|
|
"description": "convert NMEA0183 from the USB port to NMEA2000"
|
|
},
|
|
{
|
|
"name": "usbReadFilter",
|
|
"label": "USB read Filter",
|
|
"type": "filter",
|
|
"default": "",
|
|
"description": "filter for NMEA0183 data when reading from USB\nempty to let all data pass\nexamples:\n! \t: all AIS\n$RMB,$APB \t: only NMEA RMB and APB\n^! \t: no AIS but other NMEA"
|
|
},
|
|
{
|
|
"name": "usbWriteFilter",
|
|
"label": "USB write Filter",
|
|
"type": "filter",
|
|
"default": "",
|
|
"description": "filter for NMEA0183 data when writing to USB\nempty to let all data pass\nexamples:\n! \t: all AIS\n$RMB,$APB \t: only NMEA RMB and APB\n^! \t: no AIS but other NMEA"
|
|
},
|
|
{
|
|
"name": "serialDirection",
|
|
"label": "serial direction",
|
|
"type": "list",
|
|
"default": "receive",
|
|
"list": ["send","receive","off"],
|
|
"description": "use the serial port to send or receive data",
|
|
"capabilities":{"serialmode":["UNI"]}
|
|
},
|
|
{
|
|
"name": "serialBaud",
|
|
"label": "serial baud rate",
|
|
"type": "list",
|
|
"default": "115200",
|
|
"description": "baud rate for the serial port",
|
|
"list": [1200,2400,4800,9600,14400,19200,28800,38400,57600,115200,230400,460800],
|
|
"capabilities":{"serialmode":["RX","TX","UNI","BI"]}
|
|
},
|
|
{
|
|
"name": "sendSerial",
|
|
"label": "NMEA to Serial",
|
|
"type": "boolean",
|
|
"default": "true",
|
|
"description": "send out NMEA data on the serial port",
|
|
"capabilities":{"serialmode":["TX","BI"]}
|
|
},
|
|
{
|
|
"name": "receiveSerial",
|
|
"label": "NMEA from Serial",
|
|
"type": "boolean",
|
|
"default": "true",
|
|
"description": "receive NMEA data on the serial port",
|
|
"capabilities":{"serialmode":["RX","BI"]}
|
|
},
|
|
{
|
|
"name": "serialToN2k",
|
|
"label": "serial to NMEA2000",
|
|
"type": "boolean",
|
|
"default": "true",
|
|
"description": "convert NMEA0183 from the serial port to NMEA2000",
|
|
"capabilities":{"serialmode":["RX","BI","UNI"]}
|
|
},
|
|
{
|
|
"name": "serialReadFilter",
|
|
"label": "serial read Filter",
|
|
"type": "filter",
|
|
"default": "",
|
|
"description": "filter for NMEA0183 data when reading from serial\nempty to let all data pass\nexamples:\n! \t: all AIS\n$RMB,$APB \t: only NMEA RMB and APB\n^! \t: no AIS but other NMEA",
|
|
"capabilities":{"serialmode":["RX","BI","UNI"]}
|
|
},
|
|
{
|
|
"name": "serialWriteFilter",
|
|
"label": "serial write Filter",
|
|
"type": "filter",
|
|
"default": "",
|
|
"description": "filter for NMEA0183 data when writing to serial\nempty to let all data pass\nexamples:\n! \t: all AIS\n$RMB,$APB \t: only NMEA RMB and APB\n^! \t: no AIS but other NMEA",
|
|
"capabilities":{"serialmode":["TX","BI","UNI"]}
|
|
},
|
|
{
|
|
"name": "serverPort",
|
|
"label": "TCP port",
|
|
"type": "number",
|
|
"default": "2222",
|
|
"description": "the TCP port we listen on"
|
|
},
|
|
{
|
|
"name": "maxClients",
|
|
"label": "max. TCP clients",
|
|
"type": "number",
|
|
"default": "10",
|
|
"check":"checkMaxClients",
|
|
"description": "the number of clients we allow to connect to us"
|
|
},
|
|
{
|
|
"name": "sendTCP",
|
|
"label": "NMEA to TCP",
|
|
"type": "boolean",
|
|
"default": "true",
|
|
"description": "send out NMEA data to connected TCP clients"
|
|
},
|
|
{
|
|
"name": "readTCP",
|
|
"label": "NMEA from TCP",
|
|
"type": "boolean",
|
|
"default": "true",
|
|
"description": "receive NMEA data from connected TCP clients"
|
|
},
|
|
{
|
|
"name": "tcpToN2k",
|
|
"label": "TCP to NMEA2000",
|
|
"type": "boolean",
|
|
"default": "true",
|
|
"description": "convert NMEA0183 from TCP clients to NMEA2000"
|
|
},
|
|
{
|
|
"name": "tcpReadFilter",
|
|
"label": "TCP read Filter",
|
|
"type": "filter",
|
|
"default": "",
|
|
"description": "filter for NMEA0183 data when reading from TCP\nempty to let all data pass\nexamples:\n! \t: all AIS\n$RMB,$APB \t: only NMEA RMB and APB\n^! \t: no AIS but other NMEA"
|
|
},
|
|
{
|
|
"name": "tcpWriteFilter",
|
|
"label": "TCP write Filter",
|
|
"type": "filter",
|
|
"default": "",
|
|
"description": "filter for NMEA0183 data when writing to TCP\nempty to let all data pass\nexamples:\n! \t: all AIS\n$RMB,$APB \t: only NMEA RMB and APB\n^! \t: no AIS but other NMEA"
|
|
},
|
|
{
|
|
"name": "sendSeasmart",
|
|
"label": "Seasmart to TCP",
|
|
"type": "boolean",
|
|
"default": "false",
|
|
"description": "send NMEA2000 as seasmart to connected TCP clients"
|
|
},
|
|
{
|
|
"name": "wifiClient",
|
|
"label": "wifi client",
|
|
"type": "boolean",
|
|
"default": "false",
|
|
"description": "connect to an external WIFI network"
|
|
},
|
|
{
|
|
"name": "wifiPass",
|
|
"label": "wifi client password",
|
|
"type": "password",
|
|
"default": "",
|
|
"description": "the password for an external WIFI network"
|
|
},
|
|
{
|
|
"name": "wifiSSID",
|
|
"label": "wifi client SSID",
|
|
"type": "string",
|
|
"default": "",
|
|
"check": "checkSSID",
|
|
"description": "the SSID for an external WIFI network"
|
|
},
|
|
{
|
|
"name": "stopApTime",
|
|
"type": "number",
|
|
"default": "0",
|
|
"check": "checkStopApTime",
|
|
"description": "stop the access point after that many minutes if not used"
|
|
}
|
|
|
|
|
|
] |