Changes

Jump to: navigation, search

B2G/Bluetooth/WebBluetooth-v2/BluetoothGattServer

170 bytes added, 06:44, 2 September 2015
add value into gattattrevent
readonly attribute BluetoothGattCharacteristic? characteristic;
readonly attribute BluetoothGattDescriptor? descriptor;
readonly attribute ArrayBuffer? value;
readonly attribute boolean needRsp;
};
: ''descriptor''
:: The descriptor requested to write. Null if remote client requests to write a local characteristic.
: ''value''
:: The new characteristic/descriptor value to be written in write requests. Null if the request was a read request.
: ''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_unsigned_short_status.2C_unsigned_long_requestId.29|sendResponse(DOMString address, unsigned_short status, unsigned long requestId)]].
120
edits

Navigation menu