Properties
identifier
identifier: string
Methods
release
- release(): void
Returns void
scanFor
- scanFor(ms: number): boolean
Returns boolean
scanStart
- scanStart(): boolean
Returns boolean
scanStop
- scanStop(): boolean
Returns boolean
setCallbackOnScanFound
- setCallbackOnScanFound(cb: (peripheral: Peripheral) => void): boolean
Returns boolean
setCallbackOnScanStart
- setCallbackOnScanStart(cb: () => void): boolean
Returns boolean
setCallbackOnScanStop
- setCallbackOnScanStop(cb: () => void): boolean
Returns boolean
setCallbackOnScanUpdated
- setCallbackOnScanUpdated(cb: (peripheral: Peripheral) => void): boolean
Returns boolean
SimpleBLE Adapter.