mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-07-25 09:18:09 -07:00
Echo example
This commit is contained in:
@@ -17,6 +17,7 @@ fpe = FlexPE()
|
||||
identity = Identity()
|
||||
|
||||
d1=Destination(identity, Destination.IN, Destination.SINGLE, "messenger", "user")
|
||||
#d1.setProofStrategy(Destination.PROVE_ALL)
|
||||
d1.setCallback(testCallback)
|
||||
|
||||
msg=""
|
||||
@@ -28,7 +29,7 @@ pl = len(d1.identity.pub_bytes)
|
||||
|
||||
d1.announce()
|
||||
p1=Packet(d1, msg)
|
||||
#p1.send()
|
||||
p1.send()
|
||||
|
||||
# p2=Packet(d2,"Test af msg")
|
||||
# p2.send()
|
||||
|
||||
Reference in New Issue
Block a user