Skip to content

Commit

Permalink
chore(release): 4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Crespi committed Nov 19, 2020
1 parent da21767 commit d1fc881
Show file tree
Hide file tree
Showing 26 changed files with 267 additions and 229 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [4.1.0](https://github.com/modum-io/modblue/compare/v4.0.0...v4.1.0) (2020-11-19)

### Features

- **adapter:** Add isAdvertising getter ([3a11903](https://github.com/modum-io/modblue/commit/3a11903086763489d0da28bc703854c384ff8535))
- **hci:** Use command mutex ([a8b2899](https://github.com/modum-io/modblue/commit/a8b28990d9a26a22c33f01b7c7755823b0e80996))
- **hci:** Use gatt command mutex ([f6c9644](https://github.com/modum-io/modblue/commit/f6c964466a65b9434c84a3d038ef1793cf27aa83))

### Bug Fixes

- **hci:** Fix not resetting mtu on disconnect ([f3226f6](https://github.com/modum-io/modblue/commit/f3226f6f00a979fbb3beb221a46688667b737259))

## [4.0.0](https://github.com/modum-io/modblue/compare/v3.0.0...v4.0.0) (2020-11-11)

### ⚠ BREAKING CHANGES
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/search.js

Large diffs are not rendered by default.

64 changes: 45 additions & 19 deletions docs/classes/adapter.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Adapter | @modum-io/modblue - v4.0.0</title>
<meta name="description" content="Documentation for @modum-io/modblue - v4.0.0">
<title>Adapter | @modum-io/modblue - v4.1.0</title>
<meta name="description" content="Documentation for @modum-io/modblue - v4.1.0">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
<script async src="../assets/js/search.js" id="search-script"></script>
Expand All @@ -23,7 +23,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">@modum-io/modblue - v4.0.0</a>
<a href="../index.html" class="title">@modum-io/modblue - v4.1.0</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -52,7 +52,7 @@
<div class="container">
<ul class="tsd-breadcrumb">
<li>
<a href="../modules.html">@modum-io/modblue - v4.0.0</a>
<a href="../modules.html">@modum-io/modblue - v4.1.0</a>
</li>
<li>
<a href="adapter.html">Adapter</a>
Expand Down Expand Up @@ -112,6 +112,7 @@ <h3>Methods</h3>
<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="adapter.html#eventnames" class="tsd-kind-icon">event<wbr>Names</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="adapter.html#getmaxlisteners" class="tsd-kind-icon">get<wbr>Max<wbr>Listeners</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="adapter.html#getscannedperipherals" class="tsd-kind-icon">get<wbr>Scanned<wbr>Peripherals</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="adapter.html#isadvertising" class="tsd-kind-icon">is<wbr>Advertising</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="adapter.html#isscanning" class="tsd-kind-icon">is<wbr>Scanning</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="adapter.html#listenercount" class="tsd-kind-icon">listener<wbr>Count</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="adapter.html#listeners" class="tsd-kind-icon">listeners</a></li>
Expand Down Expand Up @@ -148,7 +149,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/fdce43a/src/models/Adapter.ts#L48">src/models/Adapter.ts:48</a></li>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/da21767/src/models/Adapter.ts#L48">src/models/Adapter.ts:48</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -179,7 +180,7 @@ <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> id</h3>
<div class="tsd-signature tsd-kind-icon">id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/fdce43a/src/models/Adapter.ts#L24">src/models/Adapter.ts:24</a></li>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/da21767/src/models/Adapter.ts#L24">src/models/Adapter.ts:24</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -194,7 +195,7 @@ <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> noble</h3>
<div class="tsd-signature tsd-kind-icon">noble<span class="tsd-signature-symbol">:</span> <a href="noble.html" class="tsd-signature-type">Noble</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/fdce43a/src/models/Adapter.ts#L19">src/models/Adapter.ts:19</a></li>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/da21767/src/models/Adapter.ts#L19">src/models/Adapter.ts:19</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -227,7 +228,7 @@ <h3>address</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/fdce43a/src/models/Adapter.ts#L46">src/models/Adapter.ts:46</a></li>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/da21767/src/models/Adapter.ts#L46">src/models/Adapter.ts:46</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -249,7 +250,7 @@ <h3>address<wbr>Type</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/fdce43a/src/models/Adapter.ts#L38">src/models/Adapter.ts:38</a></li>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/da21767/src/models/Adapter.ts#L38">src/models/Adapter.ts:38</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -271,7 +272,7 @@ <h3>name</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/fdce43a/src/models/Adapter.ts#L30">src/models/Adapter.ts:30</a></li>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/da21767/src/models/Adapter.ts#L30">src/models/Adapter.ts:30</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -404,7 +405,7 @@ <h3><span class="tsd-flag ts-flagAbstract">Abstract</span> get<wbr>Scanned<wbr>P
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/fdce43a/src/models/Adapter.ts#L130">src/models/Adapter.ts:130</a></li>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/da21767/src/models/Adapter.ts#L130">src/models/Adapter.ts:130</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -416,6 +417,28 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="isadvertising" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagAbstract">Abstract</span> is<wbr>Advertising</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
<li class="tsd-signature tsd-kind-icon">is<wbr>Advertising<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/da21767/src/models/Adapter.ts#L135">src/models/Adapter.ts:135</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Returns <code>true</code> if this adapter is currently advertising, <code>false</code> otherwise.</p>
</div>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span></h4>
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
<a name="isscanning" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagAbstract">Abstract</span> is<wbr>Scanning</h3>
Expand All @@ -426,7 +449,7 @@ <h3><span class="tsd-flag ts-flagAbstract">Abstract</span> is<wbr>Scanning</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/fdce43a/src/models/Adapter.ts#L113">src/models/Adapter.ts:113</a></li>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/da21767/src/models/Adapter.ts#L113">src/models/Adapter.ts:113</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -754,7 +777,7 @@ <h3>scan<wbr>For</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/fdce43a/src/models/Adapter.ts#L74">src/models/Adapter.ts:74</a></li>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/da21767/src/models/Adapter.ts#L74">src/models/Adapter.ts:74</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -840,7 +863,7 @@ <h3><span class="tsd-flag ts-flagAbstract">Abstract</span> setup<wbr>Gatt</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/fdce43a/src/models/Adapter.ts#L147">src/models/Adapter.ts:147</a></li>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/da21767/src/models/Adapter.ts#L152">src/models/Adapter.ts:152</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -871,7 +894,7 @@ <h3><span class="tsd-flag ts-flagAbstract">Abstract</span> start<wbr>Advertising
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/fdce43a/src/models/Adapter.ts#L137">src/models/Adapter.ts:137</a></li>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/da21767/src/models/Adapter.ts#L142">src/models/Adapter.ts:142</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -908,7 +931,7 @@ <h3><span class="tsd-flag ts-flagAbstract">Abstract</span> start<wbr>Scanning</h
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/fdce43a/src/models/Adapter.ts#L121">src/models/Adapter.ts:121</a></li>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/da21767/src/models/Adapter.ts#L121">src/models/Adapter.ts:121</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -946,7 +969,7 @@ <h3><span class="tsd-flag ts-flagAbstract">Abstract</span> stop<wbr>Advertising<
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/fdce43a/src/models/Adapter.ts#L141">src/models/Adapter.ts:141</a></li>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/da21767/src/models/Adapter.ts#L146">src/models/Adapter.ts:146</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -968,7 +991,7 @@ <h3><span class="tsd-flag ts-flagAbstract">Abstract</span> stop<wbr>Scanning</h3
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/fdce43a/src/models/Adapter.ts#L125">src/models/Adapter.ts:125</a></li>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/da21767/src/models/Adapter.ts#L125">src/models/Adapter.ts:125</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -990,7 +1013,7 @@ <h3>to<wbr>String</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/fdce43a/src/models/Adapter.ts#L59">src/models/Adapter.ts:59</a></li>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/da21767/src/models/Adapter.ts#L59">src/models/Adapter.ts:59</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
Expand Down Expand Up @@ -1050,6 +1073,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</s
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="adapter.html#getscannedperipherals" class="tsd-kind-icon">get<wbr>Scanned<wbr>Peripherals</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="adapter.html#isadvertising" class="tsd-kind-icon">is<wbr>Advertising</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="adapter.html#isscanning" class="tsd-kind-icon">is<wbr>Scanning</a>
</li>
Expand Down
18 changes: 9 additions & 9 deletions docs/classes/dbusnoble.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>DbusNoble | @modum-io/modblue - v4.0.0</title>
<meta name="description" content="Documentation for @modum-io/modblue - v4.0.0">
<title>DbusNoble | @modum-io/modblue - v4.1.0</title>
<meta name="description" content="Documentation for @modum-io/modblue - v4.1.0">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
<script async src="../assets/js/search.js" id="search-script"></script>
Expand All @@ -23,7 +23,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">@modum-io/modblue - v4.0.0</a>
<a href="../index.html" class="title">@modum-io/modblue - v4.1.0</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -52,7 +52,7 @@
<div class="container">
<ul class="tsd-breadcrumb">
<li>
<a href="../modules.html">@modum-io/modblue - v4.0.0</a>
<a href="../modules.html">@modum-io/modblue - v4.1.0</a>
</li>
<li>
<a href="dbusnoble.html">DbusNoble</a>
Expand Down Expand Up @@ -124,7 +124,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/fdce43a/src/bindings/dbus/Noble.ts#L15">src/bindings/dbus/Noble.ts:15</a></li>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/da21767/src/bindings/dbus/Noble.ts#L15">src/bindings/dbus/Noble.ts:15</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <a href="dbusnoble.html" class="tsd-signature-type">DbusNoble</a></h4>
Expand All @@ -140,7 +140,7 @@ <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> dbus</h3>
<div class="tsd-signature tsd-kind-icon">dbus<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">MessageBus</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/fdce43a/src/bindings/dbus/Noble.ts#L12">src/bindings/dbus/Noble.ts:12</a></li>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/da21767/src/bindings/dbus/Noble.ts#L12">src/bindings/dbus/Noble.ts:12</a></li>
</ul>
</aside>
</section>
Expand All @@ -158,7 +158,7 @@ <h3>dispose</h3>
<aside class="tsd-sources">
<p>Overrides <a href="noble.html">Noble</a>.<a href="noble.html#dispose">dispose</a></p>
<ul>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/fdce43a/src/bindings/dbus/Noble.ts#L27">src/bindings/dbus/Noble.ts:27</a></li>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/da21767/src/bindings/dbus/Noble.ts#L27">src/bindings/dbus/Noble.ts:27</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span></h4>
Expand All @@ -176,7 +176,7 @@ <h3>get<wbr>Adapters</h3>
<aside class="tsd-sources">
<p>Overrides <a href="noble.html">Noble</a>.<a href="noble.html#getadapters">getAdapters</a></p>
<ul>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/fdce43a/src/bindings/dbus/Noble.ts#L31">src/bindings/dbus/Noble.ts:31</a></li>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/da21767/src/bindings/dbus/Noble.ts#L31">src/bindings/dbus/Noble.ts:31</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="adapter.html" class="tsd-signature-type">Adapter</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4>
Expand All @@ -194,7 +194,7 @@ <h3>init</h3>
<aside class="tsd-sources">
<p>Overrides <a href="noble.html">Noble</a>.<a href="noble.html#init">init</a></p>
<ul>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/fdce43a/src/bindings/dbus/Noble.ts#L23">src/bindings/dbus/Noble.ts:23</a></li>
<li>Defined in <a href="https://github.com/modum-io/modblue/blob/da21767/src/bindings/dbus/Noble.ts#L23">src/bindings/dbus/Noble.ts:23</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span></h4>
Expand Down
8 changes: 4 additions & 4 deletions docs/classes/gatt.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Gatt | @modum-io/modblue - v4.0.0</title>
<meta name="description" content="Documentation for @modum-io/modblue - v4.0.0">
<title>Gatt | @modum-io/modblue - v4.1.0</title>
<meta name="description" content="Documentation for @modum-io/modblue - v4.1.0">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">
<script async src="../assets/js/search.js" id="search-script"></script>
Expand All @@ -23,7 +23,7 @@
<li class="state loading">Preparing search index...</li>
<li class="state failure">The search index is not available</li>
</ul>
<a href="../index.html" class="title">@modum-io/modblue - v4.0.0</a>
<a href="../index.html" class="title">@modum-io/modblue - v4.1.0</a>
</div>
<div class="table-cell" id="tsd-widgets">
<div id="tsd-filter">
Expand Down Expand Up @@ -52,7 +52,7 @@
<div class="container">
<ul class="tsd-breadcrumb">
<li>
<a href="../modules.html">@modum-io/modblue - v4.0.0</a>
<a href="../modules.html">@modum-io/modblue - v4.1.0</a>
</li>
<li>
<a href="gatt.html">Gatt</a>
Expand Down
Loading

0 comments on commit d1fc881

Please sign in to comment.