Add maps, Bluetooth config & fixes

This commit is contained in:
Sacha Weatherstone committed 2022-08-19 18:18:48 +09:30
1 parent b8877f8a63
commit 9f1d3498ea
44 files changed
+611 -1064

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
import { IsBoolean, IsEnum, IsInt } from "class-validator";
import { Protobuf } from "@meshtastic/meshtasticjs";
export class BluetoothValidation implements Protobuf.Config_BluetoothConfig {
@IsBoolean()
enabled: boolean;
@IsEnum(Protobuf.Config_BluetoothConfig_PairingMode)
mode: Protobuf.Config_BluetoothConfig_PairingMode;
@IsInt()
fixedPin: number;
}