SHARE
TWEET

Untitled

a guest Nov 15th, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. set timeout 30
  2. spawn bluetoothctl
  3. expect "# "
  4. send "agent off\r"
  5. expect "?gistered"
  6. send "\r"
  7.  
  8. expect "# "
  9. send "agent NoInputNoOutput\r"
  10. expect "Agent registered"
  11. send "\r"
  12.  
  13. expect "# "
  14. send "default-agent\r"
  15. expect "Default agent request successful"
  16. send "\r"
  17.  
  18. expect "# "
  19. send "discoverable on\r"
  20.  
  21. expect "Authorize "
  22. send "yes\r"
  23. send "exit\r"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top