Giter VIP home page Giter VIP logo

Comments (6)

Alkaid-Benetnash avatar Alkaid-Benetnash commented on July 16, 2024

This looks like the other side of the bluetooth connection (i.e. the side that trying to pair with this emulated bluetooth device) somehow closed the connection.
Do you have additional device to test? I am not sure which side to blame given the current information.

from emubthid.

b0o avatar b0o commented on July 16, 2024

Same issue here. In my case, the target device is an iPad.

from emubthid.

Alkaid-Benetnash avatar Alkaid-Benetnash commented on July 16, 2024

@b0o Can you isolate the problem? Like does your setup work with an android? I have not tested this program with any apple devices and from old days I have the impression that apple devices have always had compatibility issues with third-party bluetooth devices.

from emubthid.

kfatehi avatar kfatehi commented on July 16, 2024

Cool project! I get the same error (using an iPhone). It works well on an Android. I am not sure how to debug the iPhone situation however, unfortunately.

python main.py
Registered
waiting for connection
Control channel connected to ...
Interrupt channel connected to ...
Exposed : 1
Exit
Traceback (most recent call last):
  File "/root/EmuBTHID/main.py", line 233, in <module>
    Window(d).loop(bthid_srv.send)
  File "/root/EmuBTHID/main.py", line 187, in loop
    send_call_back(bytes(mouse_state))
  File "/root/EmuBTHID/BluetoothHID.py", line 85, in send
    self.cinter.send(bytes_buf)
ConnectionResetError: [Errno 104] Connection reset by peer

from emubthid.

jal-frezie avatar jal-frezie commented on July 16, 2024

I now have the same issue, but with line numbers 232, 140 and 85 (presumably changing due to code version).
My intended client is a Mac Mini M1.

[off-topic: there's no need to replace the X terminal with Tkinter as the current version will work fine with Wayland due to backward compatibility provided by Xwayland]

from emubthid.

justaCasualCoder avatar justaCasualCoder commented on July 16, 2024

Got this when trying to connect to a IPhone....

from emubthid.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.