Merge pull request #23 from mckeehan/bug/et-th-d74-pair-negotiation

Updating the TH-D74 expect script to allow multiple responses to the …
This commit is contained in:
thetechprepper
2025-02-11 10:31:29 -07:00
committed by GitHub
+8 -2
View File
@@ -155,8 +155,14 @@ expect "Changing power on succeeded"
send "scan on\r" send "scan on\r"
expect "${MAC}" expect "${MAC}"
send "pair ${MAC}\r" send "pair ${MAC}\r"
expect "Enter PIN code" expect {
send "0000\r" "Enter PIN code" {
send "0000\r"
}
"Confirm passkey" {
send "yes\r"
}
}
expect "Pairing successful" expect "Pairing successful"
send "trust ${MAC}\r" send "trust ${MAC}\r"
expect "trust succeeded" expect "trust succeeded"