243 lines
8.0 KiB
JSON
243 lines
8.0 KiB
JSON
[
|
|
{
|
|
"name": "systemName",
|
|
"label": "system name",
|
|
"type": "string",
|
|
"default": "ESP32NMEA2K",
|
|
"check": "checkSystemName",
|
|
"description": "system name, used for the access point and for services",
|
|
"category":"system"
|
|
},
|
|
{
|
|
"name":"talkerId",
|
|
"label":"NMEA0183 ID",
|
|
"type":"list",
|
|
"default":"GP",
|
|
"list":["AB","AD","AG","AP","AI","AN","AR","AS","AT","AX","BI","BN","CA","CD","CR","CS","CT","CV","CX","DF","DU","DP","EC","EI","EP","ER","FD","FE","FR","FS","GA","GB","GI","GL","GN","GP","GQ","HC","HE","HF","HN","HD","HS","II","IN","JA","JB","JC","JD","JE","JF","JG","JH","LC","NL","NV","RA","RB","RC","RI","SA","SC","SD","SG","SN","SS","TC","TI","UP","VD","VM","VW","VA","VS","VT","VR","WD","WI","WL","YX","ZA","ZC","ZQ","ZV"],
|
|
"description":"the talkerId used in generated NMEA0183 records",
|
|
"category":"system"
|
|
},
|
|
{
|
|
"name": "stopApTime",
|
|
"type": "number",
|
|
"default": "0",
|
|
"check": "checkStopApTime",
|
|
"description": "stop the access point after that many minutes if not used",
|
|
"category":"system"
|
|
},
|
|
{
|
|
"name": "apPassword",
|
|
"type": "password",
|
|
"default": "esp32nmea2k",
|
|
"check": "checkApPass",
|
|
"description": "set the password for the Wifi access point",
|
|
"category":"system",
|
|
"capabilities":{"hardwareReset":["true"]}
|
|
},
|
|
{
|
|
"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],
|
|
"category":"usb port"
|
|
},
|
|
{
|
|
"name": "sendUsb",
|
|
"label": "NMEA to USB",
|
|
"type": "boolean",
|
|
"default": "true",
|
|
"description": "send out NMEA data on the USB port",
|
|
"category":"usb port"
|
|
},
|
|
{
|
|
"name": "receiveUsb",
|
|
"label": "NMEA from USB",
|
|
"type": "boolean",
|
|
"default": "true",
|
|
"description": "receive NMEA data on the USB port",
|
|
"category":"usb port"
|
|
},
|
|
{
|
|
"name": "usbToN2k",
|
|
"label": "USB to NMEA2000",
|
|
"type": "boolean",
|
|
"default": "true",
|
|
"description": "convert NMEA0183 from the USB port to NMEA2000",
|
|
"category":"usb port"
|
|
},
|
|
{
|
|
"name": "usbReadFilter",
|
|
"label": "USB read Filter",
|
|
"type": "filter",
|
|
"default": "",
|
|
"description": "filter for NMEA0183 data when reading from USB\nselect aison|aisoff, set a whitelist or a blacklist with NMEA sentences like RMC,RMB",
|
|
"category":"usb port"
|
|
},
|
|
{
|
|
"name": "usbWriteFilter",
|
|
"label": "USB write Filter",
|
|
"type": "filter",
|
|
"default": "",
|
|
"description": "filter for NMEA0183 data when writing to USB\nselect aison|aisoff, set a whitelist or a blacklist with NMEA sentences like RMC,RMB",
|
|
"category":"usb port"
|
|
},
|
|
{
|
|
"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"]},
|
|
"category":"serial port"
|
|
},
|
|
{
|
|
"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"]},
|
|
"category":"serial port"
|
|
},
|
|
{
|
|
"name": "sendSerial",
|
|
"label": "NMEA to Serial",
|
|
"type": "boolean",
|
|
"default": "true",
|
|
"description": "send out NMEA data on the serial port",
|
|
"capabilities":{"serialmode":["TX","BI"]},
|
|
"category":"serial port"
|
|
},
|
|
{
|
|
"name": "receiveSerial",
|
|
"label": "NMEA from Serial",
|
|
"type": "boolean",
|
|
"default": "true",
|
|
"description": "receive NMEA data on the serial port",
|
|
"capabilities":{"serialmode":["RX","BI"]},
|
|
"category":"serial port"
|
|
},
|
|
{
|
|
"name": "serialToN2k",
|
|
"label": "serial to NMEA2000",
|
|
"type": "boolean",
|
|
"default": "true",
|
|
"description": "convert NMEA0183 from the serial port to NMEA2000",
|
|
"capabilities":{"serialmode":["RX","BI","UNI"]},
|
|
"category":"serial port"
|
|
},
|
|
{
|
|
"name": "serialReadF",
|
|
"label": "serial read Filter",
|
|
"type": "filter",
|
|
"default": "",
|
|
"description": "filter for NMEA0183 data when reading from serial\nselect aison|aisoff, set a whitelist or a blacklist with NMEA sentences like RMC,RMB",
|
|
"capabilities":{"serialmode":["RX","BI","UNI"]},
|
|
"category":"serial port"
|
|
},
|
|
{
|
|
"name": "serialWriteF",
|
|
"label": "serial write Filter",
|
|
"type": "filter",
|
|
"default": "",
|
|
"description": "filter for NMEA0183 data when writing to serial\nselect aison|aisoff, set a whitelist or a blacklist with NMEA sentences like RMC,RMB",
|
|
"capabilities":{"serialmode":["TX","BI","UNI"]},
|
|
"category":"serial port"
|
|
},
|
|
{
|
|
"name": "serverPort",
|
|
"label": "TCP port",
|
|
"type": "number",
|
|
"default": "10110",
|
|
"description": "the TCP port we listen on",
|
|
"category":"TCP port"
|
|
},
|
|
{
|
|
"name": "maxClients",
|
|
"label": "max. TCP clients",
|
|
"type": "number",
|
|
"default": "10",
|
|
"check":"checkMaxClients",
|
|
"description": "the number of clients we allow to connect to us",
|
|
"category":"TCP port"
|
|
},
|
|
{
|
|
"name": "sendTCP",
|
|
"label": "NMEA to TCP",
|
|
"type": "boolean",
|
|
"default": "true",
|
|
"description": "send out NMEA data to connected TCP clients",
|
|
"category":"TCP port"
|
|
},
|
|
{
|
|
"name": "readTCP",
|
|
"label": "NMEA from TCP",
|
|
"type": "boolean",
|
|
"default": "true",
|
|
"description": "receive NMEA data from connected TCP clients",
|
|
"category":"TCP port"
|
|
},
|
|
{
|
|
"name": "tcpToN2k",
|
|
"label": "TCP to NMEA2000",
|
|
"type": "boolean",
|
|
"default": "true",
|
|
"description": "convert NMEA0183 from TCP clients to NMEA2000",
|
|
"category":"TCP port"
|
|
},
|
|
{
|
|
"name": "tcpReadFilter",
|
|
"label": "TCP read Filter",
|
|
"type": "filter",
|
|
"default": "",
|
|
"description": "filter for NMEA0183 data when reading from TCP\nselect aison|aisoff, set a whitelist or a blacklist with NMEA sentences like RMC,RMB",
|
|
"category":"TCP port"
|
|
},
|
|
{
|
|
"name": "tcpWriteFilter",
|
|
"label": "TCP write Filter",
|
|
"type": "filter",
|
|
"default": "",
|
|
"description": "filter for NMEA0183 data when writing to TCP\nselect aison|aisoff, set a whitelist or a blacklist with NMEA sentences like RMC,RMB",
|
|
"category":"TCP port"
|
|
},
|
|
{
|
|
"name": "sendSeasmart",
|
|
"label": "Seasmart to TCP",
|
|
"type": "boolean",
|
|
"default": "false",
|
|
"description": "send NMEA2000 as seasmart to connected TCP clients",
|
|
"category":"TCP port"
|
|
},
|
|
{
|
|
"name": "wifiClient",
|
|
"label": "wifi client",
|
|
"type": "boolean",
|
|
"default": "false",
|
|
"description": "connect to an external WIFI network",
|
|
"category":"wifi client"
|
|
},
|
|
{
|
|
"name": "wifiPass",
|
|
"label": "wifi client password",
|
|
"type": "password",
|
|
"default": "",
|
|
"description": "the password for an external WIFI network",
|
|
"category":"wifi client"
|
|
},
|
|
{
|
|
"name": "wifiSSID",
|
|
"label": "wifi client SSID",
|
|
"type": "string",
|
|
"default": "",
|
|
"check": "checkSSID",
|
|
"description": "the SSID for an external WIFI network",
|
|
"category":"wifi client"
|
|
}
|
|
|
|
|
|
] |