Changes

Jump to: navigation, search

B2G/Bluetooth/WebBluetooth-v2/BluetoothGattServer

183 bytes added, 07:24, 21 November 2014
Methods
* [[B2G/Bluetooth/WebBluetooth-v2/BluetoothGattServer#sendResponse.28DOMString_address.2C_int_status.2C_int_requestId.2C_ArrayBuffer_value.29|BluetoothGattServer.sendResponse(DOMString address, int status, int requestId, ArrayBuffer value)]]
=== connect(DOMString address, boolean autoConnect) ===
; Description
: The method initiates a connection to remote LE device.
: ''address''
:: The address of remote LE device to connect.
: ''autoConnect''
:: Whether to directly connect to the remote device (false) or to automatically connect as soon as the remote device becomes available (true).
; Return
: A Promise to indicate whether the operation is resolved or rejected.
 
=== disconnect(DOMString address) ===
; Description
Confirm
891
edits

Navigation menu