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

Allow UAs to reject concurrent use of 6 functions. #316

Merged
merged 1 commit into from Oct 21, 2016

Commits on Oct 20, 2016

  1. Allow UAs to reject concurrent use of 6 functions.

    * GattServer.connect()
    * Characteristic.readValue()
    * Characteristic.writeValue()
    * Characteristic.startNotifications()
    * Descriptor.readValue()
    * Descriptor.writeValue()
    
    This is uncomfortable because while serializing within a single realm
    will reduce the frequency of these NetworkErrors, separate realms and
    possibly other applications entirely can also cause these errors, and
    the only way to recover is to retry and hope it doesn't happen again.
    
    We're discussing the constraints imposed by the OS and the long-term
    plan in WebBluetoothCG#188. Any change should reduce the number of exceptions and so
    be backward-compatible.
    jyasskin committed Oct 20, 2016
    Copy the full SHA
    13059ad View commit details
    Browse the repository at this point in the history