Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
scan(): Promise<any> {
return bluetooth.startScanning({
serviceUUIDs: [],
seconds: 3,
onDiscovered: (device) => {
const bleDevice = new BleDevice(device.UUID, device.name, device.state);
this.bleDevicesAround.push(bleDevice);
}
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.