Add Android companion beacon app (v1)
Kotlin/Compose foreground service advertising a connectable legacy advertisement at ~1 Hz with a counter that rotates in ServiceData every 10s: changed payload values make BlueZ emit PropertiesChanged even when the RSSI repeats, keeping the daemon's freshness clock fed for a stationary phone. Running from a foreground service with a battery optimization exemption defeats the advertising pauses that caused the false locks. Replaces third-party beacon apps; the daemon needs no changes. Verified with a real Gradle build (AGP 8.13.2, Kotlin 2.3.21, compileSdk 36).
This commit is contained in:
1 parent
aef8e2af17
commit
44510411fc
19 files changed
+917
No files matched your search
BIN
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
Reference in new issue
Block a user