Preparing search index...
The search index is not available
zigbee-herdsman
zigbee-herdsman
adapter/z-stack/adapter/zStackAdapter
default
Class default
Hierarchy (
view full
)
default
default
Index
Constructors
constructor
Properties
has
Zdo
Message
Overhead
manufacturerID
Methods
add
Install
Code
backup
get
CoordinatorIEEE
get
Coordinator
Version
get
Network
Parameters
on
Znp
Close
permit
Join
reset
restore
Channel
InterPAN
send
Zcl
Frame
InterPANBroadcast
send
Zcl
Frame
InterPANTo
Ieee
Addr
send
Zcl
Frame
To
All
send
Zcl
Frame
To
Endpoint
send
Zcl
Frame
To
Group
send
Zdo
set
Channel
InterPAN
set
Transmit
Power
start
stop
supports
Backup
wait
For
auto
Detect
Path
create
is
Valid
Path
Constructors
constructor
new default
(
networkOptions
,
serialPortOptions
,
backupPath
,
adapterOptions
)
:
default
Parameters
networkOptions
:
NetworkOptions
serialPortOptions
:
SerialPortOptions
backupPath
:
string
adapterOptions
:
AdapterOptions
Returns
default
Properties
has
Zdo
Message
Overhead
has
Zdo
Message
Overhead
:
boolean
manufacturerID
manufacturerID
:
ManufacturerCode
Methods
add
Install
Code
add
Install
Code
(
ieeeAddress
,
key
)
:
Promise
<
void
>
Parameters
ieeeAddress
:
string
key
:
Buffer
Returns
Promise
<
void
>
backup
backup
(
ieeeAddressesInDatabase
)
:
Promise
<
Backup
>
Parameters
ieeeAddressesInDatabase
:
string
[]
Returns
Promise
<
Backup
>
get
CoordinatorIEEE
get
CoordinatorIEEE
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
get
Coordinator
Version
get
Coordinator
Version
(
)
:
Promise
<
CoordinatorVersion
>
Returns
Promise
<
CoordinatorVersion
>
get
Network
Parameters
get
Network
Parameters
(
)
:
Promise
<
NetworkParameters
>
Returns
Promise
<
NetworkParameters
>
on
Znp
Close
on
Znp
Close
(
)
:
void
Event handlers
Returns
void
permit
Join
permit
Join
(
seconds
,
networkAddress
?
)
:
Promise
<
void
>
Parameters
seconds
:
number
Optional
networkAddress
:
number
Returns
Promise
<
void
>
reset
reset
(
type
)
:
Promise
<
void
>
Parameters
type
:
"soft"
|
"hard"
Returns
Promise
<
void
>
restore
Channel
InterPAN
restore
Channel
InterPAN
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
send
Zcl
Frame
InterPANBroadcast
send
Zcl
Frame
InterPANBroadcast
(
zclFrame
,
timeout
)
:
Promise
<
ZclPayload
>
Parameters
zclFrame
:
ZclFrame
timeout
:
number
Returns
Promise
<
ZclPayload
>
send
Zcl
Frame
InterPANTo
Ieee
Addr
send
Zcl
Frame
InterPANTo
Ieee
Addr
(
zclFrame
,
ieeeAddr
)
:
Promise
<
void
>
Parameters
zclFrame
:
ZclFrame
ieeeAddr
:
string
Returns
Promise
<
void
>
send
Zcl
Frame
To
All
send
Zcl
Frame
To
All
(
endpoint
,
zclFrame
,
sourceEndpoint
,
destination
)
:
Promise
<
void
>
Parameters
endpoint
:
number
zclFrame
:
ZclFrame
sourceEndpoint
:
number
destination
:
BroadcastAddress
Returns
Promise
<
void
>
send
Zcl
Frame
To
Endpoint
send
Zcl
Frame
To
Endpoint
(
ieeeAddr
,
networkAddress
,
endpoint
,
zclFrame
,
timeout
,
disableResponse
,
disableRecovery
,
sourceEndpoint
?
)
:
Promise
<
void
|
ZclPayload
>
ZCL
Parameters
ieeeAddr
:
string
networkAddress
:
number
endpoint
:
number
zclFrame
:
ZclFrame
timeout
:
number
disableResponse
:
boolean
disableRecovery
:
boolean
Optional
sourceEndpoint
:
number
Returns
Promise
<
void
|
ZclPayload
>
send
Zcl
Frame
To
Group
send
Zcl
Frame
To
Group
(
groupID
,
zclFrame
,
sourceEndpoint
?
)
:
Promise
<
void
>
Parameters
groupID
:
number
zclFrame
:
ZclFrame
Optional
sourceEndpoint
:
number
Returns
Promise
<
void
>
send
Zdo
send
Zdo
(
ieeeAddress
,
networkAddress
,
clusterId
,
payload
,
disableResponse
)
:
Promise
<
void
>
ZDO
Parameters
ieeeAddress
:
string
networkAddress
:
number
clusterId
:
ClusterId
payload
:
Buffer
disableResponse
:
true
Returns
Promise
<
void
>
send
Zdo
<
K
>
(
ieeeAddress
,
networkAddress
,
clusterId
,
payload
,
disableResponse
)
:
Promise
<
RequestToResponseMap
[
K
]
>
Type Parameters
K
extends
keyof
RequestToResponseMap
Parameters
ieeeAddress
:
string
networkAddress
:
number
clusterId
:
K
payload
:
Buffer
disableResponse
:
false
Returns
Promise
<
RequestToResponseMap
[
K
]
>
set
Channel
InterPAN
set
Channel
InterPAN
(
channel
)
:
Promise
<
void
>
InterPAN
Parameters
channel
:
number
Returns
Promise
<
void
>
set
Transmit
Power
set
Transmit
Power
(
value
)
:
Promise
<
void
>
Parameters
value
:
number
Returns
Promise
<
void
>
start
start
(
)
:
Promise
<
StartResult
>
Adapter methods
Returns
Promise
<
StartResult
>
stop
stop
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
supports
Backup
supports
Backup
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
wait
For
wait
For
(
networkAddress
,
endpoint
,
frameType
,
direction
,
transactionSequenceNumber
,
clusterID
,
commandIdentifier
,
timeout
)
:
{
cancel
:
(
(
)
=>
void
)
;
promise
:
Promise
<
ZclPayload
>
;
}
Parameters
networkAddress
:
undefined
|
number
endpoint
:
number
frameType
:
FrameType
direction
:
Direction
transactionSequenceNumber
:
undefined
|
number
clusterID
:
number
commandIdentifier
:
number
timeout
:
number
Returns
{
cancel
:
(
(
)
=>
void
)
;
promise
:
Promise
<
ZclPayload
>
;
}
cancel
:
(
(
)
=>
void
)
(
)
:
void
Returns
void
promise
:
Promise
<
ZclPayload
>
Static
auto
Detect
Path
auto
Detect
Path
(
)
:
Promise
<
undefined
|
string
>
Returns
Promise
<
undefined
|
string
>
Static
create
create
(
networkOptions
,
serialPortOptions
,
backupPath
,
adapterOptions
)
:
Promise
<
default
>
Utility
Parameters
networkOptions
:
NetworkOptions
serialPortOptions
:
SerialPortOptions
backupPath
:
string
adapterOptions
:
AdapterOptions
Returns
Promise
<
default
>
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
has
Zdo
Message
Overhead
manufacturerID
Methods
add
Install
Code
backup
get
CoordinatorIEEE
get
Coordinator
Version
get
Network
Parameters
on
Znp
Close
permit
Join
reset
restore
Channel
InterPAN
send
Zcl
Frame
InterPANBroadcast
send
Zcl
Frame
InterPANTo
Ieee
Addr
send
Zcl
Frame
To
All
send
Zcl
Frame
To
Endpoint
send
Zcl
Frame
To
Group
send
Zdo
set
Channel
InterPAN
set
Transmit
Power
start
stop
supports
Backup
wait
For
auto
Detect
Path
create
is
Valid
Path
zigbee-herdsman
Loading...
Event handlers