-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add Hex badge to README - update RELEASE to include step for CHANGELOG - fix ArrayedData return value
- Loading branch information
1 parent
af3f9b1
commit aa164f3
Showing
5 changed files
with
41 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# 0.2.0 | ||
|
||
## Breaking Changes | ||
|
||
- [ManufacturerData] `deserialize/1` returns `{:error, bin}` instead of | ||
`{:error, {:unhandled_company_id, bin}}` | ||
- [Event] `deserialize/1` returns `{:error, bin}` instead of | ||
`{:error, {:bad_event_code, bin}}` | ||
- [Apple] when attempting to deserialize a non-binary term, crash | ||
- [AdvertisingReport] `deserialize/1` always returns | ||
`{status, %AdvertisingReport{}}` | ||
- [Device] | ||
- when attempting to deserialize a non-binary term, crash | ||
- faults nested within a device discovered during deserialization will no | ||
longer be realized through tuples like `{:early_termination, 0}`, instead | ||
the violating binary will be returned as-is | ||
|
||
## Enhancements | ||
|
||
- [Apple] `deserialize/1` returns `{:error, bin}` instead of crashing on invalid | ||
input | ||
- [ArrayedData] `deserialize/1` returns `{:error, bin}` instead of crashing on | ||
invalid input | ||
- [Transport] | ||
- `LE` is always included as a handler WRT `Transport` | ||
- errors during deserialization no longer prevent a Bluetooth event from being | ||
dispatched to handlers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
# Harald | ||
|
||
[![Hex version badge](https://img.shields.io/hexpm/v/harald.svg)](https://hex.pm/packages/harald) | ||
[![CircleCI](https://circleci.com/gh/verypossible/harald.svg?style=svg)](https://circleci.com/gh/verypossible/harald) | ||
[![Coverage Status](https://coveralls.io/repos/github/verypossible/harald/badge.svg)](https://coveralls.io/github/verypossible/harald) | ||
|
||
An Elixir Bluetooth Host library. | ||
|
||
Active early development, reliable semantic versioning. | ||
Active early development, the [CHANGELOG](CHANGELOG.md) is your friend. | ||
|
||
[Documentation](https://hexdocs.pm/harald). | ||
[Getting Started](https://hexdocs.pm/harald/getting_started). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters