Skip to content

Commit

Permalink
updates docs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrvadala committed Oct 28, 2022
1 parent 6877dac commit 9b2a724
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ Top level object that represent a bluetooth session
* [.adapters()](#Bluetooth+adapters) ⇒ <code>Array.&lt;string&gt;</code>
* [.defaultAdapter()](#Bluetooth+defaultAdapter)[<code>Adapter</code>](#Adapter)
* [.getAdapter(adapter)](#Bluetooth+getAdapter)[<code>Adapter</code>](#Adapter)
* [.activeAdapters()](#Bluetooth+activeAdapters) ⇒ <code>Promise.&lt;Array.&lt;Adapter&gt;&gt;</code>

<a name="Bluetooth+adapters"></a>

Expand Down Expand Up @@ -197,6 +198,12 @@ Init an adapter instance and returns it
| --- | --- | --- |
| adapter | <code>string</code> | Name of an adapter |

<a name="Bluetooth+activeAdapters"></a>

### bluetooth.activeAdapters() ⇒ <code>Promise.&lt;Array.&lt;Adapter&gt;&gt;</code>
List all available (powered) adapters

**Kind**: instance method of [<code>Bluetooth</code>](#Bluetooth)
<a name="Device"></a>

## Device ⇐ <code>EventEmitter</code>
Expand Down

0 comments on commit 9b2a724

Please sign in to comment.