Skip to content

Commit f92f5d5

Browse files
thebenternclaude
andcommitted
Revert "fix(takserver): emit *:-1:stcp contact endpoint so directed TAK-Talk/GeoChat routes over the mesh; SDK v0.5.1"
This commit landed on main outside the PR process and pins takpacket-sdk 0.5.1, which is not yet published to Maven Central — breaking the build. Reverting to restore a green main; the fix is being re-submitted as a pull request that will merge once 0.5.1 is available on Central. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 0047e4d commit f92f5d5

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

core/takserver/src/commonMain/kotlin/org/meshtastic/core/takserver/TAKDefaults.kt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,7 @@ import org.meshtastic.proto.User
2424
// a single exported data package (containing truststore.p12 + client.p12) works for
2525
// both Meshtastic-iOS and Meshtastic-Android without reconfiguration in ATAK/iTAK.
2626
internal const val DEFAULT_TAK_PORT = 8089
27-
28-
// Default contact endpoint for mesh peers (the real endpoint is never carried over
29-
// LoRa). MUST be the TAK "reply via this server" form `*:-1:stcp`: it makes ATAK route
30-
// directed GeoChat / TAK-Talk (`<marti>`) back down the Meshtastic server stream. A
31-
// concrete host (e.g. `0.0.0.0:4242:tcp`) makes ATAK attempt a dead direct connection,
32-
// so directed messages never reach the mesh while broadcast PLI still works.
33-
internal const val DEFAULT_TAK_ENDPOINT = "*:-1:stcp"
27+
internal const val DEFAULT_TAK_ENDPOINT = "0.0.0.0:4242:tcp"
3428

3529
// Bundled certificate password — matches iOS (`"meshtastic"`). Used for the
3630
// server.p12 / client.p12 PKCS#12 files shipped under `tak_certs/` on the classpath.

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ kable = "0.43.0"
8888
mqttastic = "0.3.6"
8989
jmdns = "3.6.3"
9090
qrcode-kotlin = "4.5.0"
91-
takpacket-sdk = "0.5.1"
91+
takpacket-sdk = "0.5.0"
9292

9393
# Gradle Plugins
9494
develocity = "4.4.2"

0 commit comments

Comments
 (0)