Skip to content

Add READ & NOTIFY Permissions to Battery Service #95

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 3 commits into from
Jul 13, 2020

Conversation

madgrizzle
Copy link
Contributor

This change allowed me to be able to read the battery service characteristic from nRF Connect as well as a forked version of GadgetBridge. The unmodified code has properties equal to 0 for this service. Reference this forum post: https://forums.adafruit.com/viewtopic.php?f=60&t=167056.

This change allowed me to be able to read the battery service characteristic from nRF Connect as well as a forked version of GadgetBridge.  The unmodified code has properties equal to 0 for this service.   Reference this forum post: https://forums.adafruit.com/viewtopic.php?f=60&t=167056.
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.

Thank you! I'll fix the formatting.

tannewt added 2 commits July 13, 2020 15:41
https://black.now.sh/?version=stable&state=_Td6WFoAAATm1rRGAgAhARYAAAB0L-Wj4A6VBkxdAD2IimZxl1N_Wg0-BMH3ggP52tdMq8XoENZMIArGLxeGGbwOXRdKn_5wLHn6GD-UBxpmb4049NHGmxgLh-168CVYsCSbgwutcEKEAOza59ap8_IWfUrorQhe6Hk6tZcO2mHDw0bO3D9oSPvghceVtez2TM7l6G9T_Gepuk48S0uPslKCPlixEA1tTGrstm8yJOfqaPPCi0Pdog1uFTc4-Hrotchj3bvxi5QvKyn-x1Y3VFZcOJjzo61N2PjX0ghYvjxFHq-1Ny3Cy3egwfbEZ52_kKHOxHBFF0enY2eQ9kdIX80JvU0liSS-hSDi3WNYt9vcV6leA2HgYIOM-59OER8xDD4guJFzdSB5_24WvHJV8vuMCfbDVIZ1jU6AuTsaXDzF40Tj5J-rBQ87ZAgYargciTrdHPbpY54OQyv3rDEemkHnsu0U7iXkW_sJ2So5gD9xghatW5hhKRlS5U8HtePt33oxq6KLELQucM043Fa1u610Pmy7WnMw6ST118jlYvHV2GF2o-nWSd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7XI0BQhNUTrCbRC52AXUBmDtDQRmwrF_p3KxNKxRaQKJctlHP8GTCDI8BQObgD4PqQrutRW4X1qvu-eHceIVMxJYvX1zYO3dvzxh6I80KEaRr7zKM-xxr5_K_3ymZpPhPPTAWZrBOwrk-qVnhuWpPFkoaWwV7j918LE1qe7sMt5Psr5pe1pI5-yM6qdPwXsxHqFVJfHxWqg8hlaWfSQ3cfFIqQM_TlmDsVzwQMZkYBaaUIhNmQR0hQzHjLua1NBFeBy0AMjGvf2n8edF-sYRV0xm6mLNHYFKCU66M71F_YNzBiU3l4YzcYeAtLOuSbvYMjzn-2sujxbyblQqgmxU9ssSPhkqwD4L312DKjn97Mr5vFkrVDTENhQ3dCYrAPtuT3VcRsJEwrmKvypLSE7pufsoItMKGnBDi7Tve-FHwg_lx-lSnpOvgebVKBguIrMFFJUjCXLjc8RfwZp7i3a4YuNcDMsRPs8pbMyWGqkbVXoruBKVG1fZ6TH2EETy7_Jbxn9JZNI_Ae6wLdrTaywReGtU_ARGE4oQAAGcFGQmlaFFwAAegMlh0AAGguZ3CxxGf7AgAAAAAEWVo=
@tannewt tannewt merged commit 41f7a35 into adafruit:master Jul 13, 2020
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jul 17, 2020
Updating https://github.com/adafruit/Adafruit_CircuitPython_BNO055 to 5.1.0 from 5.0.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_BNO055#52 from adafruit/docs-update
  > Merge pull request adafruit/Adafruit_CircuitPython_BNO055#54 from adafruit/i2c-gpio_example

Updating https://github.com/adafruit/Adafruit_CircuitPython_Fingerprint to 2.0.0 from 1.2.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_Fingerprint#21 from jerryneedell/jerryn_fingersearch

Updating https://github.com/adafruit/Adafruit_CircuitPython_BLE to 7.0.3 from 7.0.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_BLE#95 from madgrizzle/patch-2

Updating https://github.com/adafruit/Adafruit_CircuitPython_Pypixelbuf to 2.1.2 from 2.1.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_Pypixelbuf#26 from dunkmann00/dotstar-brightness

Updating https://github.com/adafruit/Adafruit_CircuitPython_ServoKit to 1.3.0 from 1.2.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_ServoKit#21 from razvanphp/master
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.

2 participants