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

Check the Write property when calling WriteValue on characteristic #248

Merged
merged 1 commit into from
Jul 21, 2016
Merged

Check the Write property when calling WriteValue on characteristic #248

merged 1 commit into from
Jul 21, 2016

Conversation

zakorgy
Copy link
Contributor

@zakorgy zakorgy commented Jul 15, 2016

@@ -3281,6 +3281,8 @@ <h3 class="heading settled dfn-paneled idl-code" data-dfn-type="interface" data-
<li>
Return a <code>this.service.device.gatt</code>-<a data-link-type="dfn" href="#connection-checking-wrapper" id="ref-for-connection-checking-wrapper-3">connection-checking wrapper</a> around <a data-link-type="dfn" href="https://www.w3.org/2001/tag/doc/promises-guide/#a-new-promise">a new promise</a> <var>promise</var> and run the following steps in parallel.
<ol>
<li> If the <code>Write</code> bit is not set
Copy link
Member

Choose a reason for hiding this comment

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

Please update index.bs instead of index.html. index.html is built from index.bs using https://api.csswg.org/bikeshed/, so if you only change index.html, we'll lose your change on the next build.

Copy link
Member

Choose a reason for hiding this comment

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

We should allow the write if any of Write, Write Without Response, or Authenticated Signed Writes is set.

@jyasskin
Copy link
Member

Thanks for the change! Could I double-check that you've joined https://www.w3.org/community/web-bluetooth/ (which records your agreement to https://www.w3.org/community/about/agreements/cla/) so we can use your contribution? Sorry for the legal hurdle.

@zakorgy
Copy link
Contributor Author

zakorgy commented Jul 18, 2016

Thanks for the advices. I have send my join request to the community, and currently waiting for the answer. Also I have updated the index.bs file.

@zakorgy
Copy link
Contributor Author

zakorgy commented Jul 21, 2016

@jyasskin I have successfully joined the community group. Could you please review my PR?

@jyasskin jyasskin merged commit e7d905b into WebBluetoothCG:gh-pages Jul 21, 2016
@jyasskin
Copy link
Member

Thanks!

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