Initial commit: LoraTester Android + server

This commit is contained in:
2026-06-04 13:05:21 +03:00
commit 83d0353754
124 changed files with 7892 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
"""Device ID rules — must match the Android app (SettingsRepository)."""
import re
# android- + 8 hex chars from UUID
ANDROID_DEVICE_ID = re.compile(r"^android-[0-9a-f]{8}$", re.IGNORECASE)
def is_valid_device_id(device_id: str) -> bool:
return bool(ANDROID_DEVICE_ID.match((device_id or "").strip()))