Skip to content

Commit

Permalink
Attempt to fix new Chrome filter behavior.
Browse files Browse the repository at this point in the history
  • Loading branch information
zopieux committed Nov 4, 2023
1 parent 947e155 commit 2d14edc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Ember.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ export default class Ember {
this._device = await navigator.bluetooth.requestDevice({
filters: [{
name: btName,
services: [Uuid.descriptorService],
// services: [Uuid.descriptorService],
}],
optionalServices: [Uuid.emberService],
optionalServices: [Uuid.descriptorService, Uuid.emberService],
})
if (!this._device) throw new Error("Device selection cancelled")
this._initialize()
Expand Down

0 comments on commit 2d14edc

Please sign in to comment.