Skip to content

Commit

Permalink
Adapt api.BluetoothRemoteGATTCharacteristic.characteristicvaluechange…
Browse files Browse the repository at this point in the history
…d to new events structure (#15065)

This PR adapts the characteristicvaluechanged event of the BluetoothRemoteGATTCharacteristic API to conform to the new events structure.
  • Loading branch information
queengooborg authored Feb 21, 2022
1 parent 114ab7a commit 1154e63
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions api/BluetoothRemoteGATTCharacteristic.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,13 @@
"deprecated": false
}
},
"getDescriptor": {
"characteristicvaluechanged_event": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/BluetoothRemoteGATTCharacteristic/getDescriptor",
"spec_url": "https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetoothremotegattcharacteristic-getdescriptor",
"description": "<code>characteristicvaluechanged</code> event",
"spec_url": [
"https://webbluetoothcg.github.io/web-bluetooth/#eventdef-bluetoothremotegattcharacteristic-characteristicvaluechanged",
"https://webbluetoothcg.github.io/web-bluetooth/#dom-characteristiceventhandlers-oncharacteristicvaluechanged"
],
"support": {
"chrome": {
"version_added": "56"
Expand Down Expand Up @@ -137,16 +140,16 @@
}
},
"status": {
"experimental": true,
"standard_track": false,
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"getDescriptors": {
"getDescriptor": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/BluetoothRemoteGATTCharacteristic/getDescriptors",
"spec_url": "https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetoothremotegattcharacteristic-getdescriptors",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/BluetoothRemoteGATTCharacteristic/getDescriptor",
"spec_url": "https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetoothremotegattcharacteristic-getdescriptor",
"support": {
"chrome": {
"version_added": "56"
Expand Down Expand Up @@ -192,9 +195,10 @@
}
}
},
"oncharacteristicvaluechanged": {
"getDescriptors": {
"__compat": {
"spec_url": "https://webbluetoothcg.github.io/web-bluetooth/#dom-characteristiceventhandlers-oncharacteristicvaluechanged",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/BluetoothRemoteGATTCharacteristic/getDescriptors",
"spec_url": "https://webbluetoothcg.github.io/web-bluetooth/#dom-bluetoothremotegattcharacteristic-getdescriptors",
"support": {
"chrome": {
"version_added": "56"
Expand Down Expand Up @@ -234,8 +238,8 @@
}
},
"status": {
"experimental": false,
"standard_track": true,
"experimental": true,
"standard_track": false,
"deprecated": false
}
}
Expand Down

0 comments on commit 1154e63

Please sign in to comment.