Skip to content

0.13.0

Compare
Choose a tag to compare
@github-actions github-actions released this 04 Feb 21:57
· 430 commits to main since this release
941c8ad

🚀 Changes

  • Make services direct references and match properties for I/O (#238), special thanks to @solvek for reporting the issue and providing inspiration for the implementation

ℹ️ Note: This is a potentially breaking change for users of peripherals that have incorrect (or missing) characteristic properties:
characteristicOf will now only match characteristics with the expected property; in other words, when performing characteristic I/O, the following properties must be on the characteristic:

Characteristic action Required property
read(..) read
write(.., WithResponse) write
write(.., WithoutReponse) writeWithoutResponse
observe(..) notify or indicate

If a sought after characteristic does not have the required property, then NoSuchElementException will be thrown at the time of the I/O operation. If you're communicating with a peripheral that has incorrect (or missing) characteristic properties, then you'll need to manually traverse the Peripheral.services to locate the desired Characteristic to perform I/O against.

See I/O documentation for more details.

🧰 Maintenance

  • Update dependency org.jetbrains.kotlin-wrappers:kotlin-extensions to v1.0.1-pre.293-kotlin-1.6.10 (#247, #249, #253)
  • Update JamesIves/github-pages-deploy-action action to v4.2.3 (#252)