move GPS mode, update description, and remove deprecated settings.
This commit is contained in:
committed by
Sacha Weatherstone
parent
ae470dbf84
commit
7d1768a1d3
@@ -33,6 +33,16 @@ export const Position = (): JSX.Element => {
|
||||
description:
|
||||
"Only send position when there has been a meaningful change in location",
|
||||
},
|
||||
{
|
||||
type: "select",
|
||||
name: "gpsMode",
|
||||
label: "GPS Mode",
|
||||
description:
|
||||
"Configure whether device GPS is Enabled, Disabled, or Not Present",
|
||||
properties: {
|
||||
enumValue: Protobuf.Config.Config_PositionConfig_GpsMode,
|
||||
},
|
||||
},
|
||||
{
|
||||
type: "toggle",
|
||||
name: "fixedPosition",
|
||||
@@ -40,12 +50,6 @@ export const Position = (): JSX.Element => {
|
||||
description:
|
||||
"Don't report GPS position, but a manually-specified one",
|
||||
},
|
||||
{
|
||||
type: "toggle",
|
||||
name: "gpsEnabled",
|
||||
label: "GPS Enabled",
|
||||
description: "Enable the internal GPS module",
|
||||
},
|
||||
{
|
||||
type: "multiSelect",
|
||||
name: "positionFlags",
|
||||
@@ -73,15 +77,6 @@ export const Position = (): JSX.Element => {
|
||||
label: "Enable Pin",
|
||||
description: "GPS module enable pin override",
|
||||
},
|
||||
{
|
||||
type: "select",
|
||||
name: "gpsMode",
|
||||
label: "GPS Mode",
|
||||
description: "GPS module mode",
|
||||
properties: {
|
||||
enumValue: Protobuf.Config.Config_PositionConfig_GpsMode,
|
||||
},
|
||||
},
|
||||
{
|
||||
type: "number",
|
||||
name: "channelPrecision",
|
||||
@@ -106,12 +101,6 @@ export const Position = (): JSX.Element => {
|
||||
label: "GPS Update Interval",
|
||||
description: "How often a GPS fix should be acquired",
|
||||
},
|
||||
{
|
||||
type: "number",
|
||||
name: "gpsAttemptTime",
|
||||
label: "Fix Attempt Duration",
|
||||
description: "How long the device will try to get a fix for",
|
||||
},
|
||||
{
|
||||
type: "number",
|
||||
name: "broadcastSmartMinimumDistance",
|
||||
|
||||
Reference in New Issue
Block a user