mirror of
https://github.com/yggdrasil-network/yggdrasil-android.git
synced 2025-04-28 22:25:09 +03:00
add support for peer discovery over BLE
This commit is contained in:
parent
9df80c0612
commit
39eba06f0c
11 changed files with 196 additions and 12 deletions
|
@ -55,6 +55,7 @@ object ConfigurationProxy {
|
|||
json.put("AdminListen", "none")
|
||||
json.put("IfName", "none")
|
||||
json.put("IfMTU", 65535)
|
||||
json.put("Listen", JSONArray(arrayOf("tcp://127.0.0.1:9004")))
|
||||
|
||||
if (json.getJSONArray("MulticastInterfaces").get(0) is String) {
|
||||
var ar = JSONArray()
|
||||
|
@ -94,4 +95,4 @@ object ConfigurationProxy {
|
|||
(json.getJSONArray("MulticastInterfaces").get(0) as JSONObject).put("Beacon", value)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue