some more fixes to the c formats

This commit is contained in:
Laura Klünder 2024-03-29 18:01:35 +01:00
parent 5a074250e4
commit 299c77fb8b
2 changed files with 9 additions and 9 deletions

View file

@ -184,7 +184,7 @@ class ConfigUplinkMessage(discriminator_value(msg_type=MeshMessageType.CONFIG_UP
enabled: bool
ssid: Annotated[str, MaxLen(32)]
password: Annotated[str, MaxLen(64)]
channel: Annotated[PositiveInt, Le(15)]
channel: Annotated[NonNegativeInt, Le(15)]
udp: bool
ssl: bool
host: Annotated[str, MaxLen(64)]