MeshToCotBroadcaster
class MeshToCotBroadcaster(takServerManager: TAKServerManager, nodeRepository: NodeRepository, takPrefs: TakPrefs, dispatchers: CoroutineDispatchers)(source)
Publishes Meshtastic node-database entries to connected TAK clients as CoT contacts.
This is the mesh -> ATAK visualization path, and it is entirely local: synthesized node CoT travels app -> TAK client and never crosses the mesh. Mesh-originated TAKPacket traffic is TAKMeshIntegration's job; the two are independent.
Opt-in via TakPrefs.isMeshToCotEnabled and additionally gated on the TAK server running, because the owning TAKMeshIntegration is itself only started while the server is enabled.
Constructors
Link copied to clipboard
constructor(takServerManager: TAKServerManager, nodeRepository: NodeRepository, takPrefs: TakPrefs, dispatchers: CoroutineDispatchers)