dash LTK exchange: s/var/val
This commit is contained in:
parent
7c0e2af053
commit
c3d7cf9483
1 changed files with 2 additions and 2 deletions
|
@ -39,11 +39,11 @@ internal class LTKExchanger(private val aapsLogger: AAPSLogger, private val msgI
|
||||||
|
|
||||||
fun negotiateLTK(): PairResult {
|
fun negotiateLTK(): PairResult {
|
||||||
// send SP1, SP2
|
// send SP1, SP2
|
||||||
var sp1sp2 = sp1sp2(nodeId.address, sp2())
|
val sp1sp2 = sp1sp2(nodeId.address, sp2())
|
||||||
msgIO.sendMesssage(sp1sp2.messagePacket)
|
msgIO.sendMesssage(sp1sp2.messagePacket)
|
||||||
|
|
||||||
seq++
|
seq++
|
||||||
var sps1 = sps1()
|
val sps1 = sps1()
|
||||||
msgIO.sendMesssage(sps1.messagePacket)
|
msgIO.sendMesssage(sps1.messagePacket)
|
||||||
// send SPS1
|
// send SPS1
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue