Browse Source

Merge pull request #133 from pdxlocations/channel-descriptions

pull/135/head
Ben Meadors 3 years ago
committed by GitHub
parent
commit
08c064d4e6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      package.json
  2. 22
      src/components/PageComponents/Channel.tsx

2
package.json

@ -1,6 +1,6 @@
{
"name": "meshtastic-web",
"version": "2.2.5-0",
"version": "2.2.9-0",
"type": "module",
"description": "Meshtastic web client",
"license": "GPL-3.0-only",

22
src/components/PageComponents/Channel.tsx

@ -52,7 +52,7 @@ export const Channel = ({ channel }: SettingsPanelProps): JSX.Element => {
type: "select",
name: "role",
label: "Role",
description: "Description",
description: "Device telemetry is sent over PRIMARY. Only one PRIMARY allowed",
properties: {
enumValue: Protobuf.Channel_Role,
},
@ -61,40 +61,28 @@ export const Channel = ({ channel }: SettingsPanelProps): JSX.Element => {
type: "password",
name: "settings.psk",
label: "pre-Shared Key",
description: "Description",
description: "16, or 32 bytes, \"0\"= no crypto, \"1\" = default key",
properties: {
// act
},
},
{
type: "number",
name: "settings.channelNum",
label: "Channel Number",
description: "Description",
},
{
type: "text",
name: "settings.name",
label: "Name",
description: "Description",
},
{
type: "number",
name: "settings.id",
label: "ID",
description: "Description",
description: "A unique name for the channel <12 bytes, leave blank for default",
},
{
type: "toggle",
name: "settings.uplinkEnabled",
label: "Uplink Enabled",
description: "Description",
description: "Send messages from the local mesh to MQTT",
},
{
type: "toggle",
name: "settings.downlinkEnabled",
label: "Downlink Enabled",
description: "Description",
description: "Send messages from MQTT to the local mesh",
},
],
},

Loading…
Cancel
Save