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

Support option to Write with response or Write without response #5

Open
hbull1 opened this issue Sep 21, 2020 · 0 comments
Open

Support option to Write with response or Write without response #5

hbull1 opened this issue Sep 21, 2020 · 0 comments

Comments

@hbull1
Copy link

hbull1 commented Sep 21, 2020

My particular application communicates with a peripheral set to require Write with response. I was only able to correctly write to a characteristic by changing the following line to false to allow Write with response. Would be useful to send option from node (ex. msg.WriteWithResponse=true, ....=false, etc).

 // true if for write without response
            characteristic.write(data, false, function(error) {
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

No branches or pull requests

1 participant