BleScanner: {
start(services, onScannedPeripheral): Promise<void>;
stop(): Promise<void>;
}
Type declaration
start:function
- start(services, onScannedPeripheral): Promise<void>
Parameters
services: string | string[]
onScannedPeripheral: ((p) => void)
Returns Promise<void>
stop:function
- stop(): Promise<void>
Returns Promise<void>