Advertisement
Guest User

Untitled

a guest
Jul 29th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. >>> import bluetooth
  2. >>> bluetooth.find_service("58:A8:39:00:XX:XX")
  3. []
  4.  
  5. >>> s = bluetooth._bluetooth.SDPSession()
  6. >>> s.connect("58:A8:39:00:XX:XX")
  7. Traceback (most recent call last):
  8. File "<stdin>", line 1, in <module>
  9. _bluetooth.error: (104, 'Connection reset by peer')
  10.  
  11. $ sdptool browse 58:A8:39:00:XX:XX
  12. Failed to connect to SDP server on 58:A8:39:00:XX:XX: Connection reset by peer
  13.  
  14. [bluetooth]# info 58:A8:39:00:XX:XX
  15. Device 58:A8:39:00:XX:XX
  16. Name: [...]
  17. Alias: [...]
  18. Class: 0x000110
  19. Icon: computer
  20. Paired: yes
  21. Trusted: yes
  22. Blocked: no
  23. Connected: no
  24. LegacyPairing: no
  25.  
  26. [bluetooth]# info C0:18:85:DC:90:C0
  27. Device C0:18:85:DC:90:C0
  28. Name: paradox4
  29. Alias: paradox4
  30. Class: 0x00010c
  31. Icon: computer
  32. Paired: yes
  33. Trusted: yes
  34. Blocked: no
  35. Connected: no
  36. LegacyPairing: no
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement