mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
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:
@@ -155,8 +155,14 @@ expect "Changing power on succeeded"
|
||||
send "scan on\r"
|
||||
expect "${MAC}"
|
||||
send "pair ${MAC}\r"
|
||||
expect "Enter PIN code"
|
||||
send "0000\r"
|
||||
expect {
|
||||
"Enter PIN code" {
|
||||
send "0000\r"
|
||||
}
|
||||
"Confirm passkey" {
|
||||
send "yes\r"
|
||||
}
|
||||
}
|
||||
expect "Pairing successful"
|
||||
send "trust ${MAC}\r"
|
||||
expect "trust succeeded"
|
||||
|
||||
Reference in New Issue
Block a user