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
auto
Detect
Path
is
Valid
Path
Constructors
constructor
new default
(
path
,
serialPortOptions
)
:
default
Parameters
path
:
string
serialPortOptions
:
SerialPortOptions
Returns
default
Properties
Optional
port
Write
port
Write
?:
Socket
|
SerialPort
<
AutoDetectTypes
>
Methods
close
close
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
open
open
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
request
Zdo
request
Zdo
(
clusterId
,
payload
)
:
Promise
<
boolean
>
Parameters
clusterId
:
ClusterId
payload
:
Buffer
Returns
Promise
<
boolean
>
send
Command
send
Command
(
code
,
payload
?
,
timeout
?
,
extraParameters
?
,
disableResponse
?
)
:
Promise
<
default
>
Parameters
code
:
ZiGateCommandCode
Optional
payload
:
any
Optional
timeout
:
number
Optional
extraParameters
:
object
disableResponse
:
boolean
= false
Returns
Promise
<
default
>
zdo
Wait
For
zdo
Wait
For
(
matcher
)
:
{
ID
:
number
;
start
:
(
(
)
=>
{
ID
:
number
;
promise
:
Promise
<
ZdoWaitressPayload
>
;
}
)
;
}
Parameters
matcher
:
ZdoWaitressMatcher
Returns
{
ID
:
number
;
start
:
(
(
)
=>
{
ID
:
number
;
promise
:
Promise
<
ZdoWaitressPayload
>
;
}
)
;
}
ID
:
number
start
:
(
(
)
=>
{
ID
:
number
;
promise
:
Promise
<
ZdoWaitressPayload
>
;
}
)
(
)
:
{
ID
:
number
;
promise
:
Promise
<
ZdoWaitressPayload
>
;
}
Returns
{
ID
:
number
;
promise
:
Promise
<
ZdoWaitressPayload
>
;
}
ID
:
number
promise
:
Promise
<
ZdoWaitressPayload
>
Static
auto
Detect
Path
auto
Detect
Path
(
)
:
Promise
<
undefined
|
string
>
Returns
Promise
<
undefined
|
string
>
Static
is
Valid
Path
is
Valid
Path
(
path
)
:
Promise
<
boolean
>
Parameters
path
:
string
Returns
Promise
<
boolean
>
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
auto
Detect
Path
is
Valid
Path
zigbee-herdsman
Loading...