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

panicked at 'attempt to subtract with overflow' #29

Open
osynge opened this issue Apr 26, 2019 · 3 comments
Open

panicked at 'attempt to subtract with overflow' #29

osynge opened this issue Apr 26, 2019 · 3 comments

Comments

@osynge
Copy link

osynge commented Apr 26, 2019

I get this error at line:

rumble-0.3.0/src/bluez/protocol/hci.rs:441:15

Since I think this is about names, this may help diagnose:

#hciconfig hci0 up
#hcitool lescan
LE Scan ...
88:C6:26:62:36:AF 
88:C6:26:62:36:AF (unknown)
54:4A:16:2E:38:54 (unknown)
54:4A:16:2E:38:54 Comet Blue
54:4A:16:2E:42:E8 (unknown)
54:4A:16:2E:42:E8 Comet Blue
@lautis
Copy link
Contributor

lautis commented May 1, 2019

This has been (mostly) fixed in #27, but not released to crates.

@osynge
Copy link
Author

osynge commented May 6, 2019

Thank you, using git master resolves this issue, no more back traces.

Sadly I cant get any "local_name" out of the bluetooth devices properties(). Thanks anyway.

@osynge
Copy link
Author

osynge commented Aug 10, 2019

I looked back at the issues, and now understand all my issues. Everything is now working, except that I need the line Cargo.toml:
rumble = { git = "https://github.com/mwylde/rumble.git", branch = "master" }
So it would be much nicer if cargo just saw
rumble = *

Would it be possible to issue a new release to crates?

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