TAKServer
Platform-agnostic contract for the Meshtastic TAK server.
The production implementation on Android / JVM runs a TLS (mTLS) listener on port DEFAULT_TAK_PORT (8089) using the bundled server identity. This matches the Meshtastic-Apple (iOS) implementation so that a single exported .zip data package is valid for ATAK on Android AND iTAK on iOS without re-configuration.
The interface deliberately hides the platform socket / TLS primitives so that commonMain code (TAKServerManagerImpl, DI, tests) can depend on it without pulling javax.net.ssl.* into the common source set.
Properties
Functions
Broadcast a CoT message to every currently-connected client.
Broadcast raw CoT XML to every currently-connected client. Used for mesh-originated messages that should be forwarded verbatim without re-parsing through the app's CoTXmlParser (which strips shape detail elements like strokeColor, fillColor, vertices, etc.).
Returns true if at least one TAK client is currently connected.