Skip to content

add writeValueWithoutResponse and writeValueWithResponse methods - #47

Merged
chrvadala merged 3 commits into
chrvadala:mainfrom
derwehr:main
Nov 12, 2022
Merged

add writeValueWithoutResponse and writeValueWithResponse methods#47
chrvadala merged 3 commits into
chrvadala:mainfrom
derwehr:main

Conversation

@derwehr

@derwehr derwehr commented Oct 31, 2022

Copy link
Copy Markdown
Contributor

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

@chrvadala chrvadala left a comment

Copy link
Copy Markdown
Owner

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

derwehr commented Nov 2, 2022

Copy link
Copy Markdown
Contributor Author

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

@derwehr
derwehr requested a review from chrvadala November 2, 2022 08:49
@chrvadala

Copy link
Copy Markdown
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
Copy Markdown
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