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
Serial
Driver
(
)
:
SerialDriver
Returns
SerialDriver
Methods
close
close
(
emitClose
)
:
Promise
<
void
>
Parameters
emitClose
:
boolean
Returns
Promise
<
void
>
connect
connect
(
options
)
:
Promise
<
void
>
Parameters
options
:
SerialPortOptions
Returns
Promise
<
void
>
is
Initialized
is
Initialized
(
)
:
boolean
Returns
boolean
reset
reset
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
sendDATA
sendDATA
(
data
)
:
Promise
<
void
>
Parameters
data
:
Buffer
Returns
Promise
<
void
>
wait
For
wait
For
(
sequence
,
timeout
?
)
:
{
ID
:
number
;
start
:
(
(
)
=>
{
ID
:
number
;
promise
:
Promise
<
EZSPPacket
>
;
}
)
;
}
Parameters
sequence
:
number
timeout
:
number
= 4000
Returns
{
ID
:
number
;
start
:
(
(
)
=>
{
ID
:
number
;
promise
:
Promise
<
EZSPPacket
>
;
}
)
;
}
ID
:
number
start
:
(
(
)
=>
{
ID
:
number
;
promise
:
Promise
<
EZSPPacket
>
;
}
)
(
)
:
{
ID
:
number
;
promise
:
Promise
<
EZSPPacket
>
;
}
Returns
{
ID
:
number
;
promise
:
Promise
<
EZSPPacket
>
;
}
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...