Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- self.host = "00:0D:19:EA:28:52"
- self.port = 3
- self.sock = socket.socket(socket.AF_BLUETOOTH, socket.SOCK_STREAM, socket.BTPROTO_RFCOMM)
- self.sock.connect((self.host, self.port))
- File "Client.py", line 21, in __init__
- self.sock.connect((self.host, self.port))
- File "/usr/lib/python2.7/socket.py", line 224, in meth
- return getattr(self._sock,name)(*args)
- socket.error: [Errno 52] Invalid exchange
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement