Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Questions about this project #44

Closed
wpd opened this issue Mar 10, 2021 · 0 comments
Closed

Questions about this project #44

wpd opened this issue Mar 10, 2021 · 0 comments

Comments

@wpd
Copy link

wpd commented Mar 10, 2021

I wish GitHub offered a "Discussions" feature in addition to the "Issues" feature. Oh well...
I'm curious to learn the purpose of this project. I saw a reference to it here as an example of how to use bluster. So that's what I'm using it for... to teach myself some bluster, some bluetooth, some BLE, and some Rust.

I'm curious why you have so many characteristic_*.rs files with nearly identical code. I'm following your model for my test case, but I kinda feel like there should be a way to refactor all of that common code. Maybe Rust's safety features prevent that. I'll learn for myself shortly.

I'm curious why each of the create_blah() functions make a vector of the string, and then clone it, and then clone it again, and then toss it around to a future to do something fancy.

I'm sure this will all make more sense to me once I learn more Rust, and learn more about futures in Rust specifically.

Thanks for any hints or tips you can provide.

--wpd

Repository owner locked and limited conversation to collaborators Mar 10, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants