Skip to content

Use newly exposed BLE constants #20

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

Closed
wants to merge 2 commits into from
Closed

Use newly exposed BLE constants #20

wants to merge 2 commits into from

Conversation

tekktrik
Copy link
Member

@tekktrik tekktrik commented Feb 7, 2022

New release of adafruit_ble means we can resolve #19!

@tekktrik
Copy link
Member Author

tekktrik commented Feb 7, 2022

A little stumped on how to get this one to work, seems like it's getting mad at importing a const for documentation

@tekktrik
Copy link
Member Author

tekktrik commented Feb 8, 2022

Looks like it's importing as it's own class as opposed to int... working on resolving!

@tekktrik
Copy link
Member Author

tekktrik commented Feb 8, 2022

Ah, I think it's due to the fact that adafruit_ble is a mock import for Sphinx

@tekktrik
Copy link
Member Author

tekktrik commented Feb 8, 2022

Okay, figured it out:

  • adafruit_ble SHOULD NOT be listed as a mock import
  • bleak MUST be listed as a mock import

@tekktrik
Copy link
Member Author

tekktrik commented Feb 8, 2022

Closing in favor of #21

@tekktrik tekktrik closed this Feb 8, 2022
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.

Use newly exposed BLE constants
1 participant