Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set output [string trim $expect_out(buffer)]
- set pattern "\"Pairing Code:\".+?\"(.+?)\""
- if {![regexp -nocase $pattern $output a found]} {
- # in case not found we will return "" - no need to rise fatal because for CONFERENCE (HRS) we don't have this param in some models
- set found ""
- #fatalError "[self method]:[my getIp] can't found $envParamName"
- }
- $logger logInfo "return: $found"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement