Node Web Bluetooth
Preparing search index...
adapters/simpleble
Adapter
Interface Adapter
SimpleBLE Adapter.
interface
Adapter
{
active
:
boolean
;
address
:
string
;
identifier
:
string
;
pairedPeripherals
:
Peripheral
[]
;
peripherals
:
Peripheral
[]
;
release
()
:
void
;
scanFor
(
ms
:
number
)
:
boolean
;
scanStart
()
:
boolean
;
scanStop
()
:
boolean
;
setCallbackOnScanFound
(
cb
:
(
peripheral
:
Peripheral
)
=>
void
)
:
boolean
;
setCallbackOnScanStart
(
cb
:
()
=>
void
)
:
boolean
;
setCallbackOnScanStop
(
cb
:
()
=>
void
)
:
boolean
;
setCallbackOnScanUpdated
(
cb
:
(
peripheral
:
Peripheral
)
=>
void
)
:
boolean
;
}
Index
Properties
active
address
identifier
paired
Peripherals
peripherals
Methods
release
scan
For
scan
Start
scan
Stop
set
Callback
On
Scan
Found
set
Callback
On
Scan
Start
set
Callback
On
Scan
Stop
set
Callback
On
Scan
Updated
Properties
active
active
:
boolean
address
address
:
string
identifier
identifier
:
string
paired
Peripherals
pairedPeripherals
:
Peripheral
[]
peripherals
peripherals
:
Peripheral
[]
Methods
release
release
()
:
void
Returns
void
scan
For
scanFor
(
ms
:
number
)
:
boolean
Parameters
ms
:
number
Returns
boolean
scan
Start
scanStart
()
:
boolean
Returns
boolean
scan
Stop
scanStop
()
:
boolean
Returns
boolean
set
Callback
On
Scan
Found
setCallbackOnScanFound
(
cb
:
(
peripheral
:
Peripheral
)
=>
void
)
:
boolean
Parameters
cb
:
(
peripheral
:
Peripheral
)
=>
void
Returns
boolean
set
Callback
On
Scan
Start
setCallbackOnScanStart
(
cb
:
()
=>
void
)
:
boolean
Parameters
cb
:
()
=>
void
Returns
boolean
set
Callback
On
Scan
Stop
setCallbackOnScanStop
(
cb
:
()
=>
void
)
:
boolean
Parameters
cb
:
()
=>
void
Returns
boolean
set
Callback
On
Scan
Updated
setCallbackOnScanUpdated
(
cb
:
(
peripheral
:
Peripheral
)
=>
void
)
:
boolean
Parameters
cb
:
(
peripheral
:
Peripheral
)
=>
void
Returns
boolean
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
active
address
identifier
paired
Peripherals
peripherals
Methods
release
scan
For
scan
Start
scan
Stop
set
Callback
On
Scan
Found
set
Callback
On
Scan
Start
set
Callback
On
Scan
Stop
set
Callback
On
Scan
Updated
Node Web Bluetooth
Loading...
SimpleBLE Adapter.