Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network only mode #10

Open
WIPocket opened this issue Feb 15, 2024 · 3 comments
Open

Network only mode #10

WIPocket opened this issue Feb 15, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@WIPocket
Copy link

Is it possible to use the sensor without an active bluetooth connection? I tried using the debug server, but didnt get any data.

@VirtCode
Copy link
Owner

Do you mean for getting data through the server for debugging and data collection?
If so, yes, the data is only captured, processed and transmitted to the debug server when the app is being used in the "mouse view", which is indeed only accessible when the app is connected over Bluetooth to some target device.

We could implement some sort of bypass when debugging is enabled so no active device connection is required. Let me know if this would be useful in this case.

@WIPocket
Copy link
Author

My usecase was not debugging, I wanted to be able to control a computer over the network instead of bluetooth. That would allow me to use this with a computer that does not support bluetooth/has bluetooth disabled, and maybe even use it inside a desktop enviorment running in Termux on the same phone.

@VirtCode
Copy link
Owner

Okay I see. This is currently not possible and would require a different implementation of the server and the protocol to be actually usable. The implementation of the debug server and protocol introduces too much overhead (at least in my testing) which would result in a lot of latency.

Implementing a server on the other side also opens up many other questions like operating system support etc. as well as connecting to a server on the local network not being as straight forward as the current solution. That's why it currently only supports the Bluetooth HID Profile.

For now, I try to focus on the position estimation, which is why I probably won't get back to this in the near future. But thanks anyway for the suggestion!

@VirtCode VirtCode added the enhancement New feature or request label Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants