Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / chrome / common / extensions / docs / templates / articles / manifest / bluetooth.html
index 23b5541..ad08131 100644 (file)
@@ -10,11 +10,27 @@ available for the $(ref:bluetooth) API.
 {
   "name": "My Bluetooth {{platform}}",
   "bluetooth": {
-    // Permission for chrome.bluetooth.addProfile:
+    // Permission for chrome.bluetoothSocket:
     // The application is allowed to communicate with devices
     // using the protocols, profiles, or services identified by
-    // the UUIDs 0x1105 and 0x1106.
-    "uuids": [ "1105", "1106" ]
+    // the UUIDs 0x1105 and 0x1106 using the BluetoothSocket API.
+    "uuids": [ "1105", "1106" ],
+    "socket": true
+  },
+  ...
+}
+</pre>
+
+<pre data-filename="manifest.json">
+{
+  "name": "My Bluetooth {{platform}}",
+  "bluetooth": {
+    // Permission for chrome.bluetoothLowEnergy:
+    // The application is allowed to communicate with devices
+    // using the profiles identified by the UUIDs 0x180D, 0x1809 and 0x180F
+    // using the BluetoothLowEnergy API.
+    "uuids": [ "180D", "1809", "180F" ],
+    "low_energy": true
   },
   ...
 }
@@ -23,6 +39,6 @@ available for the $(ref:bluetooth) API.
 <section>
 <h2 id="reference">Reference</h2>
 <p class="api_reference">
-{{+partials.type type:apis.manifestTypes.byName.bluetooth/}}
+{{+partials.type type:apis.apps.manifestTypes.byName.bluetooth/}}
 </p>
 </section>