dash ble: warnings
This commit is contained in:
parent
0f58185109
commit
20179781ef
2 changed files with 1 additions and 2 deletions
|
@ -48,7 +48,7 @@ internal class LTKExchanger(
|
|||
seq++
|
||||
val sps2 = sps2()
|
||||
val sp2Result = msgIO.sendMessage(sps2.messagePacket)
|
||||
if (sp1Result !is MessageSendSuccess) {
|
||||
if (sp2Result !is MessageSendSuccess) {
|
||||
throw PairingException("Could not send sps2: $sp2Result")
|
||||
}
|
||||
|
||||
|
|
|
@ -42,7 +42,6 @@ class Session(
|
|||
fun sendCommand(cmd: Command): CommandSendResult {
|
||||
sessionKeys.msgSequenceNumber++
|
||||
aapsLogger.debug(LTag.PUMPBTCOMM, "Sending command: ${cmd.encoded.toHex()} in packet $cmd")
|
||||
var tries = 0
|
||||
|
||||
val msg = getCmdMessage(cmd)
|
||||
var possiblyUnconfirmedCommand = false
|
||||
|
|
Loading…
Reference in a new issue