Skip to content

Commit

Permalink
Corrected filter
Browse files Browse the repository at this point in the history
  • Loading branch information
kegov authored Sep 12, 2023
1 parent 6f9ae0a commit 7910329
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ function connect() {
}
console.log('Requesting Bluetooth Device...');
navigator.bluetooth.requestDevice({
filters: [{services: [bleNusServiceUUID]}],
acceptAllDevices: true
filters: [{services: [bleNusServiceUUID]}]
})
.then(device => {
bleDevice = device;
Expand Down

0 comments on commit 7910329

Please sign in to comment.