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

Failed to set BLE scan parameters: Input/output error (5) #23

Open
tmichels opened this issue Dec 24, 2023 · 2 comments
Open

Failed to set BLE scan parameters: Input/output error (5) #23

tmichels opened this issue Dec 24, 2023 · 2 comments

Comments

@tmichels
Copy link

Hello Dan,

Since TomTom stopped support, I am using the USB tool from https://github.com/scubajorgen/TomTomWatch. And I wanted to try out your app, it looks very promising as it may provide the more user friendly bluetooth functionality (and my USB connection is not that stable anymore).

When I follow your instructions, I encounter the following error. Did something get broken over time maybe? Or is the app still working for you and is something wrong on my system configuration?

user@ubuntu:~/ttblue$ ./ttblue -a -d E4:04:39:77:A8:46 
****************************************************************
Please put device in pairing mode (MENU -> PHONE -> PAIR NEW)...
****************************************************************
Press Enter to continue: 

Scanning for TomTom BLE device E4:04:39:77:A8:46...
Failed to set BLE scan parameters: Input/output error (5)
BLE scan failed: Input/output error (5)
Fatal error, exiting.

Thanks for doing all this work already, I really hope I will be able to use it in the end!

Best regards,
Thomas

@dlenski
Copy link
Owner

dlenski commented Dec 25, 2023

Have you tried running it as root? Might be best to try to figure out how to run it that way, and then get the permissions adjusted later.

Unfortunately I no longer have a TomTom device myself, so I have difficulty testing/debugging.

@tmichels
Copy link
Author

tmichels commented Dec 27, 2023

Hi Dan,

Thanks for your reply. But permissions do not seem to be the issue: I tried with both compiling and running as root, but still get the same message. Attached the output of the compilation and the full overview on what I tried.
attempt.txt

The error message comes up immediately after hitting enter, suggesting that it never even starts scanning for the device's signal. So this could be tested without watch as well.

Do you remember on which OS you ran this last time successfully? I could try to install that and see if it solves the problem. I am running Ubuntu 23.10 myself, maybe it has not all required packages installed (although I did install the ones suggested by you of course), or maybe it has different bluetooth mechanism / security settings than your OS.

Thanks again!

Best regards,
Thomas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants