Skip to content

bluetooth.btcommon.BluetoothError: (104, 'Connection reset by peer') #1

@ghost

Description

I'm having trouble getting this to work. The devices appear to connect, but if I try to press a key after waiting about 5 seconds, I get this error:

Service record added
Waiting for a connection
Got a connection on the control channel from 28:CF:DA:D7:98:F3
Got a connection on the interrupt channel from 28:CF:DA:D7:98:F3
Found a keyboard
# about 5 seconds pass...
Traceback (most recent call last):
  File "./PiTooth.py", line 169, in <module>
    kb.event_loop(bt)
  File "./PiTooth.py", line 158, in event_loop
    bt.send_input(self.state)
  File "./PiTooth.py", line 89, in send_input
    self.cinterrupt.send(hex_str)
  File "<string>", line 5, in send
bluetooth.btcommon.BluetoothError: (104, 'Connection reset by peer')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions