Comments (6)
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.
Same issue here. In my case, the target device is an iPad.
from emubthid.
@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.
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.
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.
Got this when trying to connect to a IPhone....
from emubthid.
Related Issues (13)
- Errors running main.py HOT 3
- How do I do this? HOT 1
- for windows? HOT 1
- How to move cursor to exact coordinates HOT 1
- README: "input" plugin of bluetoothd should be disabled, not enabled
- Awesome project. Can we extend it? HOT 2
- Stuck on "waiting for connection" HOT 9
- 'bluetoothd -P input' not working on Ubuntu 22.04 HOT 2
- Question about how this is done HOT 1
- Enable bluetooth - making sure that bluetoothd has the plugin...
- ERRNO 98
- Mouse only seems to grab while button pressed. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emubthid.