chameleon-ultra.js - v0.3.29
Demos
GitHub
NPM
jsDelivr
Preparing search index...
plugin/SerialPortAdapter
SerialPortAdapter
Class SerialPortAdapter
Implements
__type
Index
Constructors
constructor
Properties
duplex
name
ultra?
Methods
install
Constructors
constructor
new
SerialPortAdapter
()
:
SerialPortAdapter
Returns
SerialPortAdapter
Properties
duplex
duplex
:
null
|
SerialPort
<
any
>
= null
name
name
:
string
= 'adapter'
Optional
ultra
ultra
?:
ChameleonUltra
Methods
install
install
(
context
:
{
Buffer
:
typeof
Buffer
;
ultra
:
ChameleonUltra
}
&
{
ultra
:
ChameleonUltra
&
{
$adapter
?:
any
}
;
}
,
pluginOption
?:
{
baudRate
?:
number
;
path
?:
string
}
,
)
:
Promise
<
{
isSupported
:
()
=>
boolean
}
>
Parameters
context
:
{
Buffer
:
typeof
Buffer
;
ultra
:
ChameleonUltra
}
&
{
ultra
:
ChameleonUltra
&
{
$adapter
?:
any
}
;
}
pluginOption
:
{
baudRate
?:
number
;
path
?:
string
}
= {}
Returns
Promise
<
{
isSupported
:
()
=>
boolean
}
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
duplex
name
ultra
Methods
install
Demos
GitHub
NPM
jsDelivr
chameleon-ultra.js - v0.3.29
Loading...