Changes

Jump to: navigation, search

B2G/Bluetooth/WebBluetooth-v2/BluetoothGattServer

680 bytes added, 10:27, 27 August 2015
add needRsp in BluetoothGattAttributeEvent
readonly attribute BluetoothGattCharacteristic? characteristic;
readonly attribute BluetoothGattDescriptor? descriptor;
readonly attribute boolean needRsp;
};
: ''descriptor''
:: The descriptor requested to read. Null if remote client requests to read a local characteristic.
: ''needRsp''
:: Indicate whether a response is needed or not. If needRsp is true, application needs to explicitly call [[B2G/Bluetooth/WebBluetooth-v2/BluetoothGattServer#sendResponse.28DOMString_address.2C_int_status.2C_int_requestId.29|sendResponse(DOMString address, int status, int requestId)]].
=== onattributewritereq ===
readonly attribute BluetoothGattCharacteristic? characteristic;
readonly attribute BluetoothGattDescriptor? descriptor;
readonly attribute boolean needRsp;
};
: ''descriptor''
:: The descriptor requested to write. Null if remote client requests to write a local characteristic.
: ''needRsp''
:: Indicate whether a response is needed or not. If needRsp is true, application needs to explicitly call [[B2G/Bluetooth/WebBluetooth-v2/BluetoothGattServer#sendResponse.28DOMString_address.2C_int_status.2C_int_requestId.29|sendResponse(DOMString address, int status, int requestId)]].
<!--
=== onexecutewritereq ===
120
edits

Navigation menu