Skip to content

Commit

Permalink
Merge pull request #197 from beaufortfrancois/gh-pages
Browse files Browse the repository at this point in the history
Remove BluetoothDevice.paired
  • Loading branch information
jyasskin committed Jan 12, 2016
2 parents 3a560c2 + d0a9860 commit 8aad2fb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
9 changes: 0 additions & 9 deletions index.bs
Expand Up @@ -1275,7 +1275,6 @@ spec: html
readonly attribute unsigned long? vendorID;
readonly attribute unsigned long? productID;
readonly attribute unsigned long? productVersion;
readonly attribute boolean paired;
readonly attribute BluetoothGATTRemoteServer? gattServer;
readonly attribute UUID[] uuids;
Promise<BluetoothGATTRemoteServer> connectGATT();
Expand Down Expand Up @@ -1334,10 +1333,6 @@ spec: html
service.
</p>

<p>
<dfn>paired</dfn> indicates whether or not the device is paired with the system.
</p>

<p>
If the UA is currently connected to this device's GATT server,
<dfn>gattServer</dfn> provides a way to interact with it.
Expand Down Expand Up @@ -1451,10 +1446,6 @@ spec: html
</li>
</ol>
</li>
<li>
Initialize <code><var>result</var>.paired</code> to
the value of <var>device</var>'s <a>bonded flag</a>.
</li>
<li>
Let <var>uuids</var> be an empty set of UUIDs.
</li>
Expand Down
8 changes: 1 addition & 7 deletions index.html
Expand Up @@ -1914,7 +1914,6 @@ <h3 class="heading settled idl-code" data-dfn-type="interface" data-export="" da
readonly attribute unsigned long? <a class="idl-code" data-link-type="attribute" data-readonly="" data-type="unsigned long? " href="#dom-bluetoothdevice-vendorid">vendorID</a>;
readonly attribute unsigned long? <a class="idl-code" data-link-type="attribute" data-readonly="" data-type="unsigned long? " href="#dom-bluetoothdevice-productid">productID</a>;
readonly attribute unsigned long? <a class="idl-code" data-link-type="attribute" data-readonly="" data-type="unsigned long? " href="#dom-bluetoothdevice-productversion">productVersion</a>;
readonly attribute boolean <a class="idl-code" data-link-type="attribute" data-readonly="" data-type="boolean " href="#dom-bluetoothdevice-paired">paired</a>;
readonly attribute <a data-link-type="idl-name" href="#bluetoothgattremoteserver">BluetoothGATTRemoteServer</a>? <a class="idl-code" data-link-type="attribute" data-readonly="" data-type="BluetoothGATTRemoteServer? " href="#dom-bluetoothdevice-gattserver">gattServer</a>;
readonly attribute <a data-link-type="idl-name" href="#typedefdef-uuid">UUID</a>[] <a class="idl-code" data-link-type="attribute" data-readonly="" data-type="UUID[] " href="#dom-bluetoothdevice-uuids">uuids</a>;
Promise&lt;<a data-link-type="idl-name" href="#bluetoothgattremoteserver">BluetoothGATTRemoteServer</a>> <a class="idl-code" data-link-type="method" href="#dom-bluetoothdevice-connectgatt">connectGATT</a>();
Expand Down Expand Up @@ -1946,7 +1945,6 @@ <h3 class="heading settled idl-code" data-dfn-type="interface" data-export="" da
in the <code class="idl"><a data-link-type="idl" href="https://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.pnp_id.xml#">pnp_id</a></code> characteristic
in the <code class="idl"><a data-link-type="idl" href="https://developer.bluetooth.org/gatt/services/Pages/ServiceViewer.aspx?u=org.bluetooth.service.device_information.xml#">device_information</a></code> service. </p>
<p> <dfn class="idl-code" data-dfn-for="BluetoothDevice" data-dfn-type="attribute" data-export="" id="dom-bluetoothdevice-productversion">productVersion<a class="self-link" href="#dom-bluetoothdevice-productversion"></a></dfn> is the 16-bit Product Version field in the <code class="idl"><a data-link-type="idl" href="https://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.pnp_id.xml#">pnp_id</a></code> characteristic in the <code class="idl"><a data-link-type="idl" href="https://developer.bluetooth.org/gatt/services/Pages/ServiceViewer.aspx?u=org.bluetooth.service.device_information.xml#">device_information</a></code> service. </p>
<p> <dfn class="idl-code" data-dfn-for="BluetoothDevice" data-dfn-type="attribute" data-export="" id="dom-bluetoothdevice-paired">paired<a class="self-link" href="#dom-bluetoothdevice-paired"></a></dfn> indicates whether or not the device is paired with the system. </p>
<p> If the UA is currently connected to this device’s GATT server, <dfn class="idl-code" data-dfn-for="BluetoothDevice" data-dfn-type="attribute" data-export="" id="dom-bluetoothdevice-gattserver">gattServer<a class="self-link" href="#dom-bluetoothdevice-gattserver"></a></dfn> provides a way to interact with it.
While this device is disconnected, <code class="idl"><a data-link-type="idl" href="#dom-bluetoothdevice-gattserver">gattServer</a></code> is <code>null</code>. </p>
<p> <dfn class="idl-code" data-dfn-for="BluetoothDevice" data-dfn-type="attribute" data-export="" id="dom-bluetoothdevice-uuids">uuids<a class="self-link" href="#dom-bluetoothdevice-uuids"></a></dfn> lists
Expand Down Expand Up @@ -2020,8 +2018,6 @@ <h3 class="heading settled idl-code" data-dfn-type="interface" data-export="" da
<li> Set <code><var>result</var>.productVersion</code> to
the value parsed for Product Version.
</ol>
<li> Initialize <code><var>result</var>.paired</code> to
the value of <var>device</var>’s <a data-link-type="dfn" href="#bonded-flag">bonded flag</a>.
<li> Let <var>uuids</var> be an empty set of UUIDs.
<li> Add <var>device</var>’s
advertised <a data-link-type="dfn" href="#service-uuid-data-type">Service UUIDs</a> to <var>uuids</var>.
Expand Down Expand Up @@ -3583,7 +3579,6 @@ <h3 class="no-num heading settled" id="index-defined-here"><span class="content"
<li><a href="#dom-serviceeventhandlers-onserviceremoved">onserviceremoved</a><span>, in §5.6.5</span>
<li><a href="#dom-requestdeviceoptions-optionalservices">optionalServices</a><span>, in §3</span>
<li><a href="#dom-bluetooth-requestdevice-options-options">options</a><span>, in §3</span>
<li><a href="#dom-bluetoothdevice-paired">paired</a><span>, in §4.3</span>
<li><a href="#parsing-the-blacklist">parsing the blacklist</a><span>, in §7</span>
<li><a href="#passive-scanning">Passive Scanning</a><span>, in §9</span>
<li><a href="#peripheral">Peripheral</a><span>, in §9</span>
Expand Down Expand Up @@ -3849,7 +3844,6 @@ <h2 class="no-num heading settled" id="idl-index"><span class="content">IDL Inde
readonly attribute unsigned long? <a class="idl-code" data-link-type="attribute" data-readonly="" data-type="unsigned long? " href="#dom-bluetoothdevice-vendorid">vendorID</a>;
readonly attribute unsigned long? <a class="idl-code" data-link-type="attribute" data-readonly="" data-type="unsigned long? " href="#dom-bluetoothdevice-productid">productID</a>;
readonly attribute unsigned long? <a class="idl-code" data-link-type="attribute" data-readonly="" data-type="unsigned long? " href="#dom-bluetoothdevice-productversion">productVersion</a>;
readonly attribute boolean <a class="idl-code" data-link-type="attribute" data-readonly="" data-type="boolean " href="#dom-bluetoothdevice-paired">paired</a>;
readonly attribute <a data-link-type="idl-name" href="#bluetoothgattremoteserver">BluetoothGATTRemoteServer</a>? <a class="idl-code" data-link-type="attribute" data-readonly="" data-type="BluetoothGATTRemoteServer? " href="#dom-bluetoothdevice-gattserver">gattServer</a>;
readonly attribute <a data-link-type="idl-name" href="#typedefdef-uuid">UUID</a>[] <a class="idl-code" data-link-type="attribute" data-readonly="" data-type="UUID[] " href="#dom-bluetoothdevice-uuids">uuids</a>;
Promise&lt;<a data-link-type="idl-name" href="#bluetoothgattremoteserver">BluetoothGATTRemoteServer</a>> <a class="idl-code" data-link-type="method" href="#dom-bluetoothdevice-connectgatt">connectGATT</a>();
Expand Down Expand Up @@ -3984,4 +3978,4 @@ <h2 class="no-num heading settled" id="issues-index"><span class="content">Issue
If they are, the UA should be allowed to cache them. <a href="#issue-f3b14ad2"></a></div>
</div>
</body>
</html>
</html>

0 comments on commit 8aad2fb

Please sign in to comment.