Skip to content

Pairing #16

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 8 commits into from
Aug 16, 2019
Merged

Pairing #16

merged 8 commits into from
Aug 16, 2019

Conversation

dhalbert
Copy link
Collaborator

  • Create a common superclass Advertisement, for code common to all kinds of advertisements.
  • Add SolicitedAdvertisement, for peripherals requesting services from centrals.
  • Use new properties bitmask to set Characteristic properties.
  • Add CurrentTimeClient as an useful example of a peripheral acting as a client.
  • Initial BLE HID code, but it doesn't work, so don't try it. There are some additions in https://github.com/adafruit/Adafruit_CircuitPython_HID (not yet PR'd) to allow BLE HID and USB HID to share common code.

These changes are needed to sync up with adafruit/circuitpython#2066.

This will be another alpha release.

@jerryneedell
Copy link
Contributor

Tested ble_demo_central/periph examples on feather_52840_express and pca10059 with adafruit/circuitpython#2066

Also tested CTS access on feather_52840_express

no issues.

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

A few minor things but none that impact the core PR. I'm excited to try this!

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

Great! Thanks!

@tannewt tannewt merged commit 8bb2232 into adafruit:master Aug 16, 2019
@dhalbert dhalbert deleted the pairing branch August 17, 2019 03:55
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Nov 20, 2019
Updating https://github.com/adafruit/Adafruit_CircuitPython_DisplayIO_SSD1305 to 1.0.3 from 1.0.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_DisplayIO_SSD1305#5 from makermelissa/master

Updating https://github.com/adafruit/Adafruit_CircuitPython_RGB_Display to 3.6.0 from 3.5.6:
  > Merge pull request adafruit/Adafruit_CircuitPython_RGB_Display#51 from makermelissa/master
  > Merge pull request adafruit/Adafruit_CircuitPython_RGB_Display#47 from Johennes/feature/numpy

Updating https://github.com/adafruit/Adafruit_CircuitPython_BLE to 3.0.0 from 1.0.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_BLE#34 from dhalbert/check-cpy-version
  > Merge pull request adafruit/Adafruit_CircuitPython_BLE#32 from dhalbert/doc-and-cleanup
  > Merge pull request adafruit/Adafruit_CircuitPython_BLE#31 from dhalbert/char-fixes-and-float
  > Merge pull request adafruit/Adafruit_CircuitPython_BLE#30 from tannewt/api_rework
  > Merge pull request adafruit/Adafruit_CircuitPython_BLE#29 from adafruit/dherrada-patch-1
  > Merge pull request adafruit/Adafruit_CircuitPython_BLE#25 from kattni/plotter-code
  > Merge pull request adafruit/Adafruit_CircuitPython_BLE#23 from kattni/update-color-picker
  > Merge pull request adafruit/Adafruit_CircuitPython_BLE#22 from kattni/update-color-picker
  > Merge pull request adafruit/Adafruit_CircuitPython_BLE#21 from kattni/cpb-color-picker
  > Merge pull request adafruit/Adafruit_CircuitPython_BLE#18 from dhalbert/bleio-api-revamp
  > Merge pull request adafruit/Adafruit_CircuitPython_BLE#17 from dhalbert/demo-central
  > Merge pull request adafruit/Adafruit_CircuitPython_BLE#16 from dhalbert/pairing
  > Merge pull request adafruit/Adafruit_CircuitPython_BLE#15 from dhalbert/python-advertisement-data
tannewt added a commit to tannewt/Adafruit_CircuitPython_BLE that referenced this pull request Mar 22, 2021
Fix broken class matching on receive
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.

3 participants