=== oncharacteristicchanged ===
; Description
: A handler to trigger as a result of a remote characteristic notification.
; Paramter
: ''characteristicEvent''
:: The event is a [[B2G/Bluetooth/WebBluetooth-v2/BluetoothCharacteristicEvent#Interface|BluetoothCharacteristicEvent]] with property [[B2G/Bluetooth/WebBluetooth-v2/BluetoothCharacteristicEvent#characteristic|characteristic]] as the changed characteristic.
; Sample
var gatt = device.gatt;
gatt.oncharacteristicchanged = function onCharacteristicChanged(evt) {
var characteristic = evt.characteristic;
console.log("The value of characteristic (uuid:", gatt.uuid, ") changed to", gatt.value);
};
=== onconnectionstatechanged ===