Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add writeValueWithoutResponse and writeValueWithResponse methods #47

Merged
merged 3 commits into from
Nov 12, 2022
Merged

Conversation

derwehr
Copy link
Contributor

@derwehr derwehr commented Oct 31, 2022

The WebBluetooth specs deprecated writeValue(). So I added writeValueWithoutResponse and writeValueWithResponse to be back on par with the spec

Copy link
Owner

@chrvadala chrvadala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @derwehr, thanks for this PR. I would like to merge as soon as possibile, but before that, I need that you add some unit tests on these functions.
Can you do that?
Thanks for your contribution

@derwehr
Copy link
Contributor Author

derwehr commented Nov 2, 2022

Hi @chrvadala, thanks for the quick reply. I have now added tests.

@chrvadala
Copy link
Owner

Thanks @derwehr, I will merge and publish in a couple days. Thanks a lot

@chrvadala chrvadala merged commit e41aaf5 into chrvadala:main Nov 12, 2022
@chrvadala
Copy link
Owner

I released this PR with 1.9.0 and I added your name into contributions list.
Thanks @derwehr for your help

dmarku added a commit to dmarku/node-ble that referenced this pull request Nov 14, 2023
…WithResponse` methods

Add type declarations for the methods `writeValueWithoutResponse` and `writeValueWithResponse` that were added to `GattCharacteristic` with chrvadala#47
chrvadala pushed a commit that referenced this pull request Feb 15, 2024
… `writeValueWithResponse` (#63)

* add type declarations for `writeValueWithoutResponse` and `writeValueWithResponse` methods

Add type declarations for the methods `writeValueWithoutResponse` and `writeValueWithResponse` that were added to `GattCharacteristic` with #47

* Fix typo
nmasse-itix pushed a commit to Demo-AI-Edge-Crazy-Train/node-ble that referenced this pull request Apr 29, 2024
… `writeValueWithResponse` (chrvadala#63)

* add type declarations for `writeValueWithoutResponse` and `writeValueWithResponse` methods

Add type declarations for the methods `writeValueWithoutResponse` and `writeValueWithResponse` that were added to `GattCharacteristic` with chrvadala#47

* Fix typo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants