B2G/Bluetooth/WebBluetooth-v2/BluetoothDevice: Difference between revisions

Jump to navigation Jump to search
Line 210: Line 210:


; Description
; Description
: The method creates a [[B2G/Bluetooth/WebBluetooth-v2/BluetoothGatt#BluetoothGatt|BluetoothGatt]] object, assigns it to property [[B2G/Bluetooth/WebBluetooth-v2/BluetoothDevice#gatt|gatt]], and then connects to remote LE device.
: The method does three things at once:
:: 1) creates a [[B2G/Bluetooth/WebBluetooth-v2/BluetoothGatt#BluetoothGatt|BluetoothGatt]] object and assigns it to property [[B2G/Bluetooth/WebBluetooth-v2/BluetoothDevice#gatt|gatt]],
:: 2) connects to remote LE device, and then
:: 3) discover services offered by a remote device as well as their characteristics and descriptors.


; Parameter
; Parameter
Confirmed users
891

edits

Navigation menu