Sacha Weatherstone
4 years ago
No known key found for this signature in database
GPG Key ID: 7AB2D7E206124B31
1 changed files with
2 additions and
2 deletions
-
src/validation/config/wifi.ts
|
|
|
@ -3,10 +3,10 @@ import { Length } from "class-validator"; |
|
|
|
import type { Protobuf } from "@meshtastic/meshtasticjs"; |
|
|
|
|
|
|
|
export class WiFiValidation implements Protobuf.Config_WiFiConfig { |
|
|
|
@Length(1, 30) |
|
|
|
@Length(1, 33) |
|
|
|
ssid: string; |
|
|
|
|
|
|
|
@Length(8, 16) |
|
|
|
@Length(8, 64) |
|
|
|
psk: string; |
|
|
|
|
|
|
|
apMode: boolean; |
|
|
|
|