ble icon indicating copy to clipboard operation
ble copied to clipboard

Filtering for manufacturerId does not work when scanning

Open elsni opened this issue 1 year ago • 1 comments

I try filtering device scan for manufactuerId.

this._bluetooth.startScanning({
            filters: [{manufacturerId:1212}],
            seconds: 4,
            skipPermissionCheck: false,
            onDiscovered: function (peripheral) {
              console.log("found device " + peripheral.localName + " mac " + peripheral.UUID + " Man.Id " +peripheral.manufacturerId);
            }
})

but the scan returns all devices.

elsni avatar Jun 22 '23 06:06 elsni

@elsni there is no filter by manufacturerId. On iOS there is only a filter by serviceUUID On android: serviceUUID, deviceName, deviceAddress, manufacturerData

farfromrefug avatar Jun 22 '23 09:06 farfromrefug