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

wishlist: example program #26

Open
chrysn opened this issue Jan 26, 2020 · 1 comment
Open

wishlist: example program #26

chrysn opened this issue Jan 26, 2020 · 1 comment

Comments

@chrysn
Copy link
Contributor

chrysn commented Jan 26, 2020

For someone who is having a brief look at this crate to get an impression of whether it is suitable (in my case, for experimentation with web browsers' BLE communication), it would help a lot to have a short demo in (eg. just exporting one static value and a changable one via GATT, where changes get printed to stdout). Would you consider adding an example in that style to the crate?

@dfrankland
Copy link
Owner

Hello! Yes, absolutely I would.

This was very much an experiment when I first started, but I switched to other projects before really improving things in this crate.

For a quick example, check the peripheral test:
https://github.com/dfrankland/bluster/blob/master/tests/peripheral.rs

For a more advanced example, see:
https://github.com/dfrankland/bleboard

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