Changes

Jump to: navigation, search

B2G/Bluetooth/WebBluetooth-v2/BluetoothGattServer

794 bytes added, 07:06, 20 November 2014
Properties
; Default Value
: Empty array (array with length = 0)
 
== Event Handlers ==
 
=== ondeviceconnectionstatechanged ===
=== onattributereadreq ===
; Description
: A handler to trigger when connection state of certain GATT client has changed.
 
=== onattributewritereq ===
=== onexecutewritereq ===
 
== Methods ==
 
=== connect(DOMString address) ===
=== disconnect(DOMString address) ===
=== addService(BluetoothGattService service) ===
=== removeService(BluetoothGattService service) ===
=== clearServices() ===
=== close() ===
; Description
: The method closes GATT server instance.
 
; Return
: A Promise to indicate whether the operation is resolved or rejected.
 
=== notifyCharacteristicChanged(DOMString address, DOMString uuid, int instanceId, bool confirm) ===
=== sendResponse(DOMString address, int status, int requestId, ArrayBuffer value) ===
Confirm
891
edits

Navigation menu