Preparing search index...
The search index is not available
zigbee-herdsman
zigbee-herdsman
adapter/zigate/driver/zigate
default
Class default
Hierarchy
EventEmitter
<
ZiGateEventMap
>
default
Index
Constructors
constructor
Properties
port
Write?
Methods
close
open
request
Zdo
send
Command
zdo
Wait
For
Constructors
constructor
new
default
(
path
:
string
,
serialPortOptions
:
SerialPortOptions
)
:
default
Parameters
path
:
string
serialPortOptions
:
SerialPortOptions
Returns
default
Properties
Optional
port
Write
portWrite
?:
Socket
|
SerialPort
Methods
close
close
()
:
Promise
<
void
>
Returns
Promise
<
void
>
open
open
()
:
Promise
<
void
>
Returns
Promise
<
void
>
request
Zdo
requestZdo
(
clusterId
:
ClusterId
,
payload
:
Buffer
)
:
Promise
<
boolean
>
Parameters
clusterId
:
ClusterId
payload
:
Buffer
Returns
Promise
<
boolean
>
send
Command
sendCommand
(
code
:
ZiGateCommandCode
,
payload
?:
any
,
timeout
?:
number
,
extraParameters
?:
object
,
disableResponse
?:
boolean
,
)
:
Promise
<
default
>
Parameters
code
:
ZiGateCommandCode
Optional
payload
:
any
Optional
timeout
:
number
Optional
extraParameters
:
object
disableResponse
:
boolean
= false
Returns
Promise
<
default
>
zdo
Wait
For
zdoWaitFor
(
matcher
:
ZdoWaitressMatcher
,
)
:
{
ID
:
number
;
start
:
()
=>
{
ID
:
number
;
promise
:
Promise
<
ZdoWaitressPayload
>
}
;
}
Parameters
matcher
:
ZdoWaitressMatcher
Returns
{
ID
:
number
;
start
:
()
=>
{
ID
:
number
;
promise
:
Promise
<
ZdoWaitressPayload
>
}
;
}
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
port
Write
Methods
close
open
request
Zdo
send
Command
zdo
Wait
For
zigbee-herdsman
Loading...