-
Notifications
You must be signed in to change notification settings - Fork 25
Initial implementation of Bleson draft API. #1
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
Conversation
README.rst
Outdated
adapter = get_provider().get_adapter() | ||
beacon = EddystoneBeacon(adapter) | ||
beacon.url = 'https://www.bluetooth.com/' | ||
beacons.start() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
beacon not beacons
README.rst
Outdated
beacon = EddystoneBeacon(adapter) | ||
beacon.url = 'https://www.bluetooth.com/' | ||
beacons.start() | ||
beacons.stop() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
beacon not beacons
beacons.stop() | ||
Example - Observer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not many adverts were turning up.
I tried getting my phone to advertise and that didn't turn up at all.
When I did beacons it would turn up twice and then no more showed up.
My bad, those snippets in the read me are only meant to give a flavour, they are missing bits. Because they are missing a 'sleep' between the start and stop you get pretty much nada. Please run the scripts in 'examples' folder. They should be removed or made fully functional. Probably removed as they aren't run as part of automated testing. |
I have updated the readme, please see commit c6f9f5b |
…ort. added HRM advertising only example
…uid128s, manufacturer data
…ython-bleson into wk_draft_experiment
Lighting the blue touch paper, on fireworks night!
A first pass at an implementation of the Observer role, Advertiser role and Eddystone Beacons.
More focus has been placed on the public facing API, internal module structure and testing/examples than has been placed on ensuring comprehensive functionality.
tl;dr hopefully easy to drive, hopefully not to messy under the hood, and just enough fuel to get by.