Skip to content

Commit

Permalink
Merge pull request Fyrd#13 from beaufortfrancois/patch-2
Browse files Browse the repository at this point in the history
s/connectGATT/gatt.connect/g
  • Loading branch information
NOtherDev committed Apr 27, 2016
2 parents b019a2d + ceca4aa commit 918d75a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/features.js
Expand Up @@ -299,7 +299,7 @@ self.addEventListener('fetch', function (event) {
api: `<dl>
<dt><code>navigator.bluetooth.requestDevice(serviceFilters)</code></dt>
<dd>Scans for the device in range supporting the requested services. Returns a <code>Promise</code>.</dd>
<dt><code>device.connectGATT()</code></dt>
<dt><code>device.gatt.connect()</code></dt>
<dd>Returns a <code>Promise</code> resolved with the object providing access to the services available on the device.</dd>
<dt><code>service.getCharacteristic(name)</code></dt>
<dd>Returns a <code>Promise</code> resolved with the GATT characteristic object.</dd>
Expand Down

0 comments on commit 918d75a

Please sign in to comment.