Skip to content

Commit

Permalink
removed filter
Browse files Browse the repository at this point in the history
  • Loading branch information
puttley committed Apr 11, 2024
1 parent 9c68cc7 commit 3b5dab7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bt.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ async function connect() {

//filters:[{namePrefix: [DEVICE_BT_NAME_PREFIX]},],

acceptAllDevices:true
// optionalServices: [NUS_SERVICE_UUID]
acceptAllDevices:true,
optionalServices: [NUS_SERVICE_UUID]

}).then(onScanResult).catch(function(e) {
console.warn('failed to find a device:', e);
Expand Down

0 comments on commit 3b5dab7

Please sign in to comment.