Skip to content

ServiceData must be a bytearray #10

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

Merged
merged 2 commits into from
Jun 30, 2020

Conversation

dhalbert
Copy link
Contributor

Fixes #9.

example/ble_eddystone_simpletest.py was failing because ServiceData.__set__() was expecting a bytearray, not a bytes.

Tested with fix. @kbm15: thanks for the report! See if this works for you.

@dhalbert dhalbert requested a review from a team June 29, 2020 02:15
@dhalbert dhalbert force-pushed the ServiceData-bytearray branch from aba9168 to 12227e3 Compare June 29, 2020 02:23
Copy link
Contributor

@FoamyGuy FoamyGuy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested example/ble_eddystone_simpletest.pyis after these changes and it seems to be functioning correctly. Tested on CLUE and I am able to see the adafu.it/discord URL on the eddystone beacon inside of a BLE Scanner mobile app.

@dhalbert dhalbert merged commit cb1ad29 into adafruit:master Jun 30, 2020
@dhalbert dhalbert deleted the ServiceData-bytearray branch June 30, 2020 13:50
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jul 1, 2020
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

Successfully merging this pull request may close these issues.

Example throws error
2 participants