Skip to content

0.3.0

Compare
Choose a tag to compare
@klundberg klundberg released this 06 Apr 01:05
· 77 commits to master since this release

This release makes the following changes:

Behavior changes/fixes:

  • Writes to characteristics that use the .withoutResponse write type will return a publisher that completes immediately, instead of a publisher that waits indefinitely for a response from the peripheral (which will never come when we don't want a response)
  • setNotifyValue's behavior is unified with other publishers: before, calling it would eagerly execute the operation on the underlying CBPeripheral. Now, setNotifyValue is lazy: you need to call the function and subscribe to the publisher in order to execute the operation, bringing the behavior in line with all other publishers returned from Peripheral types.

Internal:

  • Refactored much of the implementation of the live peripheral types to make the publisher chains a bit simpler to read and deal with
  • Added to the workspace a demo application that can behave as a peripheral or a central on any supported platform (with higher min version requirements however), for testing of various bluetooth scenarios (writable characteristics being the first implemented)