Preparing search index...
The search index is not available
zigbee-herdsman
zigbee-herdsman
adapter/ezsp/driver/uart
SerialDriver
Class SerialDriver
Hierarchy
EventEmitter
SerialDriver
Index
Constructors
constructor
Methods
close
connect
is
Initialized
reset
sendDATA
wait
For
Constructors
constructor
new
SerialDriver
()
:
SerialDriver
Returns
SerialDriver
Methods
close
close
(
emitClose
:
boolean
)
:
Promise
<
void
>
Parameters
emitClose
:
boolean
Returns
Promise
<
void
>
connect
connect
(
options
:
SerialPortOptions
)
:
Promise
<
void
>
Parameters
options
:
SerialPortOptions
Returns
Promise
<
void
>
is
Initialized
isInitialized
()
:
boolean
Returns
boolean
reset
reset
()
:
Promise
<
void
>
Returns
Promise
<
void
>
sendDATA
sendDATA
(
data
:
Buffer
)
:
Promise
<
void
>
Parameters
data
:
Buffer
Returns
Promise
<
void
>
wait
For
waitFor
(
sequence
:
number
,
timeout
?:
number
,
)
:
{
ID
:
number
;
start
:
()
=>
{
ID
:
number
;
promise
:
Promise
<
EZSPPacket
>
}
}
Parameters
sequence
:
number
timeout
:
number
= 4000
Returns
{
ID
:
number
;
start
:
()
=>
{
ID
:
number
;
promise
:
Promise
<
EZSPPacket
>
}
}
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
close
connect
is
Initialized
reset
sendDATA
wait
For
zigbee-herdsman
Loading...