Add dutyCycleOverride, update deps
This commit is contained in:
+13
-13
@@ -23,18 +23,18 @@
|
|||||||
"homepage": "https://meshtastic.org",
|
"homepage": "https://meshtastic.org",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emeraldpay/hashicon-react": "^0.5.2",
|
"@emeraldpay/hashicon-react": "^0.5.2",
|
||||||
"@headlessui/react": "^1.7.4",
|
"@headlessui/react": "^1.7.5",
|
||||||
"@heroicons/react": "^2.0.13",
|
"@heroicons/react": "^2.0.13",
|
||||||
"@hookform/error-message": "^2.0.1",
|
"@hookform/error-message": "^2.0.1",
|
||||||
"@hookform/resolvers": "^2.9.10",
|
"@hookform/resolvers": "^2.9.10",
|
||||||
"@meshtastic/meshtasticjs": "^0.7.0",
|
"@meshtastic/meshtasticjs": "^0.7.1",
|
||||||
"@tailwindcss/line-clamp": "^0.4.2",
|
"@tailwindcss/line-clamp": "^0.4.2",
|
||||||
"@tailwindcss/typography": "^0.5.8",
|
"@tailwindcss/typography": "^0.5.8",
|
||||||
"base64-js": "^1.5.1",
|
"base64-js": "^1.5.1",
|
||||||
"chart.js": "^4.0.1",
|
"chart.js": "^4.0.1",
|
||||||
"chartjs-adapter-date-fns": "^2.0.1",
|
"chartjs-adapter-date-fns": "^2.0.1",
|
||||||
"class-transformer": "^0.5.1",
|
"class-transformer": "^0.5.1",
|
||||||
"class-validator": "^0.13.2",
|
"class-validator": "^0.14.0",
|
||||||
"date-fns": "^2.29.3",
|
"date-fns": "^2.29.3",
|
||||||
"geodesy": "^2.4.0",
|
"geodesy": "^2.4.0",
|
||||||
"immer": "^9.0.16",
|
"immer": "^9.0.16",
|
||||||
@@ -52,20 +52,20 @@
|
|||||||
"react-map-gl": "^7.0.20",
|
"react-map-gl": "^7.0.20",
|
||||||
"react-qrcode-logo": "^2.8.0",
|
"react-qrcode-logo": "^2.8.0",
|
||||||
"rfc4648": "^1.5.2",
|
"rfc4648": "^1.5.2",
|
||||||
"zustand": "4.1.4"
|
"zustand": "4.1.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/forms": "^0.5.3",
|
"@tailwindcss/forms": "^0.5.3",
|
||||||
"@types/chrome": "^0.0.203",
|
"@types/chrome": "^0.0.203",
|
||||||
"@types/geodesy": "^2.2.3",
|
"@types/geodesy": "^2.2.3",
|
||||||
"@types/node": "^18.11.10",
|
"@types/node": "^18.11.12",
|
||||||
"@types/react": "^18.0.26",
|
"@types/react": "^18.0.26",
|
||||||
"@types/react-dom": "^18.0.9",
|
"@types/react-dom": "^18.0.9",
|
||||||
"@types/w3c-web-serial": "^1.0.3",
|
"@types/w3c-web-serial": "^1.0.3",
|
||||||
"@types/web-bluetooth": "^0.0.16",
|
"@types/web-bluetooth": "^0.0.16",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
"@typescript-eslint/eslint-plugin": "^5.46.0",
|
||||||
"@typescript-eslint/parser": "^5.45.0",
|
"@typescript-eslint/parser": "^5.46.0",
|
||||||
"@vitejs/plugin-react": "^2.2.0",
|
"@vitejs/plugin-react": "^3.0.0",
|
||||||
"autoprefixer": "^10.4.13",
|
"autoprefixer": "^10.4.13",
|
||||||
"eslint": "^8.29.0",
|
"eslint": "^8.29.0",
|
||||||
"eslint-config-prettier": "^8.5.0",
|
"eslint-config-prettier": "^8.5.0",
|
||||||
@@ -75,15 +75,15 @@
|
|||||||
"eslint-plugin-react-hooks": "^4.6.0",
|
"eslint-plugin-react-hooks": "^4.6.0",
|
||||||
"gzipper": "^7.2.0",
|
"gzipper": "^7.2.0",
|
||||||
"postcss": "^8.4.19",
|
"postcss": "^8.4.19",
|
||||||
"prettier": "^2.8.0",
|
"prettier": "^2.8.1",
|
||||||
"prettier-plugin-tailwindcss": "^0.2.0",
|
"prettier-plugin-tailwindcss": "^0.2.1",
|
||||||
"rollup-plugin-visualizer": "^5.8.3",
|
"rollup-plugin-visualizer": "^5.8.3",
|
||||||
"tailwindcss": "^3.2.4",
|
"tailwindcss": "^3.2.4",
|
||||||
"tar": "^6.1.12",
|
"tar": "^6.1.13",
|
||||||
"tslib": "^2.4.1",
|
"tslib": "^2.4.1",
|
||||||
"typescript": "^4.9.3",
|
"typescript": "^4.9.4",
|
||||||
"unimported": "^1.23.0",
|
"unimported": "^1.23.0",
|
||||||
"vite": "^3.2.4",
|
"vite": "^4.0.0",
|
||||||
"vite-plugin-environment": "^1.1.3"
|
"vite-plugin-environment": "^1.1.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+382
-416
File diff suppressed because it is too large
Load Diff
@@ -167,6 +167,18 @@ export const LoRa = (): JSX.Element => {
|
|||||||
error={errors.frequencyOffset?.message}
|
error={errors.frequencyOffset?.message}
|
||||||
{...register("frequencyOffset", { valueAsNumber: true })}
|
{...register("frequencyOffset", { valueAsNumber: true })}
|
||||||
/>
|
/>
|
||||||
|
<Controller
|
||||||
|
name="overrideDutyCycle"
|
||||||
|
control={control}
|
||||||
|
render={({ field: { value, ...rest } }) => (
|
||||||
|
<Toggle
|
||||||
|
label="Override Duty Cycle"
|
||||||
|
description="Description"
|
||||||
|
checked={value}
|
||||||
|
{...rest}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
/>
|
||||||
</FormSection>
|
</FormSection>
|
||||||
<Input
|
<Input
|
||||||
label="Hop Limit"
|
label="Hop Limit"
|
||||||
|
|||||||
@@ -43,6 +43,9 @@ export class LoRaValidation implements Protobuf.Config_LoRaConfig {
|
|||||||
@IsInt()
|
@IsInt()
|
||||||
channelNum: number;
|
channelNum: number;
|
||||||
|
|
||||||
|
@IsBoolean()
|
||||||
|
overrideDutyCycle: boolean;
|
||||||
|
|
||||||
@IsArray()
|
@IsArray()
|
||||||
ignoreIncoming: number[];
|
ignoreIncoming: number[];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user