This commit is contained in:
CC
2026-06-09 14:25:23 +02:00
parent b22629faa4
commit ff740229dc
31 changed files with 837 additions and 394 deletions
@@ -1103,6 +1103,14 @@ class WifiAwareMeshService(private val context: Context) : MeshService, Transpor
meshCore.sendReadReceipt(messageID, recipientPeerID, readerNickname)
}
override fun sendVerifyChallenge(peerID: String, noiseKeyHex: String, nonceA: ByteArray) {
meshCore.sendVerifyChallenge(peerID, noiseKeyHex, nonceA)
}
override fun sendVerifyResponse(peerID: String, noiseKeyHex: String, nonceA: ByteArray) {
meshCore.sendVerifyResponse(peerID, noiseKeyHex, nonceA)
}
/**
* Broadcasts a file (TLV payload) to all peers. Uses protocol version 2 to support
* large payloads and generates a deterministic transferId (sha256 of payload) for UI/state.
@@ -1205,6 +1213,8 @@ class WifiAwareMeshService(private val context: Context) : MeshService, Transpor
*/
override fun getIdentityFingerprint(): String = meshCore.getIdentityFingerprint()
override fun getStaticNoisePublicKey(): ByteArray? = meshCore.getStaticNoisePublicKey()
/**
* @return true if the UI should show an “encrypted” indicator for this peer.
*/