-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Listen to
oncharacteristicvaluechanged
as well.
It is ambiguous what event needs to be handled. (Google chrome samples)[https://googlechrome.github.io/samples/web-bluetooth/notifications.html] uses `characteristicvaluechanged`. While the (Web api draft)[https://webbluetoothcg.github.io/web-bluetooth/#dom-characteristiceventhandlers-oncharacteristicvaluechanged] uses `oncharacteristicvaluechanged`. I haven't got either one to work with the devices on my range though. Fixed bug in example where it would not update the `notify` button once it has started. Fixed bug where example couldn't handle a service or characteristic that isn't in the default list.
- Loading branch information
1 parent
5c1a231
commit 6bd5dd3
Showing
4 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters