5.54 GB
51,854 files
Updated 20 days ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| build | 152 items | ||
| src | 8 items | ||
| README.md | 653 Bytes xet | 5dfd0376 | |
| build.gradle | 765 Bytes xet | 366b3e31 |
AirMouse :network module
Provides coroutine-based TCP client and UDP discovery client for the AirMouse Android app.
Files:
Message.kt- serializable message DTOsTcpClient.kt- coroutine-friendly TCP client (basic)UdpDiscoveryClient.kt- sendsAIRMOUSE_DISCOVERand waits forDiscoveryResponseJSON
Usage (example):
val client = TcpClient("192.168.1.10", 8080, onMessage = { line -> /* handle */ })
client.start()
// send: use coroutine scope to call sendMessage
The module is intentionally small and focused; further features (ACK handling, pending receipts, reconnection policy) will be added in follow-up steps.
- Total size
- 5.54 GB
- Files
- 51,854
- Last updated
- Sep 12
- Pre-warmed CDN
- US EU US EU