Search
Preparing search index...
The search index is not available
obniz
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
Parts
uPRISM
uPRISM
Class uPRISM
Hierarchy
uPRISM
Implements
ObnizPartsBleInterface
Index
Constructors
constructor
Properties
_peripheral
on
Notify
ondisconnect
Methods
connect
Wait
disconnect
Wait
set
Accel
Range
start
Notify
Wait
stop
Notify
Wait
info
is
Device
Constructors
constructor
new uPRISM
(
peripheral
:
BleRemotePeripheral
|
null
)
:
uPRISM
Parameters
peripheral:
BleRemotePeripheral
|
null
Returns
uPRISM
Properties
_peripheral
_peripheral
:
null
|
BleRemotePeripheral
= null
Optional
on
Notify
on
Notify
:
undefined
|
(
(
data
:
uPRISM_Data
)
=>
void
)
Optional
ondisconnect
ondisconnect
:
undefined
|
(
(
reason
:
any
)
=>
void
)
Methods
connect
Wait
connect
Wait
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
disconnect
Wait
disconnect
Wait
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
set
Accel
Range
set
Accel
Range
(
range
:
AccelRangeType
)
:
void
Parameters
range:
AccelRangeType
Returns
void
start
Notify
Wait
start
Notify
Wait
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
stop
Notify
Wait
stop
Notify
Wait
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Static
info
info
(
)
:
ObnizPartsBleInfo
Returns
ObnizPartsBleInfo
Static
is
Device
is
Device
(
peripheral
:
BleRemotePeripheral
)
:
boolean
Parameters
peripheral:
BleRemotePeripheral
Returns
boolean
Globals
uPRISM
constructor
_peripheral
on
Notify
ondisconnect
connect
Wait
disconnect
Wait
set
Accel
Range
start
Notify
Wait
stop
Notify
Wait
info
is
Device
uPRISMOptions
uPRISM_
Data
Accel
Range
Type
Generated using
TypeDoc