5.54 GB
51,854 files
Updated 20 days ago
Name
Size
build
src
README.md653 Bytes
xet
build.gradle765 Bytes
xet
README.md

AirMouse :network module

Provides coroutine-based TCP client and UDP discovery client for the AirMouse Android app.

Files:

  • Message.kt - serializable message DTOs
  • TcpClient.kt - coroutine-friendly TCP client (basic)
  • UdpDiscoveryClient.kt - sends AIRMOUSE_DISCOVER and waits for DiscoveryResponse JSON

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

Contributors