ble
ble copied to clipboard
Filtering for manufacturerId does not work when scanning
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 there is no filter by manufacturerId. On iOS there is only a filter by serviceUUID On android: serviceUUID, deviceName, deviceAddress, manufacturerData