Skip to content

Closer implementation of webBluetooth API #49

@derwehr

Description

@derwehr

In order to closer follow method signatures of the web bluetooth API, i propose the following changes:

  • argument of writeValue, writeValueWithResponse and writeValueWithoutResponse should be of type BufferSource
  • return type of readValue should be Promise<DataView>

This would make it easier to switch between web and node implementations.
I could implement this if you're interested in merging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions