Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set timeout 30
- spawn bluetoothctl
- expect "# "
- send "agent off\r"
- expect "?gistered"
- send "\r"
- expect "# "
- send "agent NoInputNoOutput\r"
- expect "Agent registered"
- send "\r"
- expect "# "
- send "default-agent\r"
- expect "Default agent request successful"
- send "\r"
- expect "# "
- send "discoverable on\r"
- expect "Authorize "
- send "yes\r"
- send "exit\r"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement