Changes

Jump to: navigation, search

B2G/Bluetooth/WebBluetooth-v2/BluetoothGattServer

217 bytes added, 08:51, 24 November 2014
onattributereadreq
: A handler to trigger when a remote client has requested to read a local characteristic or descriptor.
; Arguments in eventArgument [CheckPermissions="bluetooth"] interface BluetoothGattAttributeReadEvent : Event { readonly attribute DOMString address; readonly attribute short requestId; readonly attribute BluetoothGattCharacteristic? characteristic; readonly attribute BluetoothGattDescriptor? descriptor; }; : ''address''
:: Address of the remote client.
: short ''requestId''
:: Request id of the attribute read request.
: BluetoothGattCharacteristic ''characteristic?''
:: The characteristic requested to read. Null if remote client requests to read a local descriptor.
: BluetoothGattDescriptor ''descriptor?''
:: The descriptor requested to read. Null if remote client requests to read a local characteristic.
Confirm
891
edits

Navigation menu