Preparing search index...
The search index is not available
zigbee-herdsman
zigbee-herdsman
adapter/ezsp/driver/ezsp
Ezsp
Class Ezsp
Hierarchy
EventEmitter
Ezsp
Index
Constructors
constructor
Properties
cmd
Seq
ezspV
Methods
close
connect
exec
Command
form
Network
get
Configuration
Value
get
Current
Security
State
get
Multicast
Table
Entry
get
Value
is
Initialized
leave
Network
makeZDOframe
network
Init
send
Broadcast
send
Multicast
send
Unicast
set
Configuration
Value
set
Initial
Security
State
set
Multicast
Table
Entry
set
Policy
set
Source
Routing
set
Value
update
Config
update
Policies
version
wait
For
Constructors
constructor
new
Ezsp
(
)
:
Ezsp
Returns
Ezsp
Properties
cmd
Seq
cmd
Seq
:
number
= 0
ezspV
ezspV
:
number
= 4
Methods
close
close
(
emitClose
)
:
Promise
<
void
>
Parameters
emitClose
:
boolean
Returns
Promise
<
void
>
connect
connect
(
options
)
:
Promise
<
void
>
Parameters
options
:
SerialPortOptions
Returns
Promise
<
void
>
exec
Command
exec
Command
(
name
,
params
?
)
:
Promise
<
EZSPFrameData
>
Parameters
name
:
string
Optional
params
:
ParamsDesc
Returns
Promise
<
EZSPFrameData
>
form
Network
form
Network
(
params
)
:
Promise
<
number
>
Parameters
params
:
EmberNetworkParameters
Returns
Promise
<
number
>
get
Configuration
Value
get
Configuration
Value
(
configId
)
:
Promise
<
number
>
Parameters
configId
:
number
Returns
Promise
<
number
>
get
Current
Security
State
get
Current
Security
State
(
)
:
Promise
<
EZSPFrameData
>
Returns
Promise
<
EZSPFrameData
>
get
Multicast
Table
Entry
get
Multicast
Table
Entry
(
index
)
:
Promise
<
EmberMulticastTableEntry
>
Parameters
index
:
number
Returns
Promise
<
EmberMulticastTableEntry
>
get
Value
get
Value
(
valueId
)
:
Promise
<
Buffer
>
Parameters
valueId
:
EzspValueId
Returns
Promise
<
Buffer
>
is
Initialized
is
Initialized
(
)
:
boolean
Returns
boolean
leave
Network
leave
Network
(
)
:
Promise
<
number
>
Returns
Promise
<
number
>
makeZDOframe
makeZDOframe
(
name
,
params
)
:
Buffer
Parameters
name
:
string
|
number
params
:
ParamsDesc
Returns
Buffer
network
Init
network
Init
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
send
Broadcast
send
Broadcast
(
destination
,
apsFrame
,
seq
,
data
)
:
Promise
<
EZSPFrameData
>
Parameters
destination
:
number
apsFrame
:
EmberApsFrame
seq
:
number
data
:
Buffer
Returns
Promise
<
EZSPFrameData
>
send
Multicast
send
Multicast
(
apsFrame
,
seq
,
data
)
:
Promise
<
EZSPFrameData
>
Parameters
apsFrame
:
EmberApsFrame
seq
:
number
data
:
Buffer
Returns
Promise
<
EZSPFrameData
>
send
Unicast
send
Unicast
(
direct
,
nwk
,
apsFrame
,
seq
,
data
)
:
Promise
<
EZSPFrameData
>
Parameters
direct
:
EmberOutgoingMessageType
nwk
:
number
apsFrame
:
EmberApsFrame
seq
:
number
data
:
Buffer
Returns
Promise
<
EZSPFrameData
>
set
Configuration
Value
set
Configuration
Value
(
configId
,
value
)
:
Promise
<
void
>
Parameters
configId
:
number
value
:
number
Returns
Promise
<
void
>
set
Initial
Security
State
set
Initial
Security
State
(
entry
)
:
Promise
<
EmberStatus
>
Parameters
entry
:
EmberInitialSecurityState
Returns
Promise
<
EmberStatus
>
set
Multicast
Table
Entry
set
Multicast
Table
Entry
(
index
,
entry
)
:
Promise
<
EmberStatus
>
Parameters
index
:
number
entry
:
EmberMulticastTableEntry
Returns
Promise
<
EmberStatus
>
set
Policy
set
Policy
(
policyId
,
value
)
:
Promise
<
EZSPFrameData
>
Parameters
policyId
:
EzspPolicyId
value
:
number
Returns
Promise
<
EZSPFrameData
>
set
Source
Routing
set
Source
Routing
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
set
Value
set
Value
(
valueId
,
value
)
:
Promise
<
EZSPFrameData
>
Parameters
valueId
:
EzspValueId
value
:
number
Returns
Promise
<
EZSPFrameData
>
update
Config
update
Config
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
update
Policies
update
Policies
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
version
version
(
)
:
Promise
<
number
>
Returns
Promise
<
number
>
wait
For
wait
For
(
frameId
,
sequence
,
timeout
?
)
:
{
ID
:
number
;
start
:
(
(
)
=>
{
ID
:
number
;
promise
:
Promise
<
EZSPFrame
>
;
}
)
;
}
Parameters
frameId
:
string
|
number
sequence
:
null
|
number
timeout
:
number
= 10000
Returns
{
ID
:
number
;
start
:
(
(
)
=>
{
ID
:
number
;
promise
:
Promise
<
EZSPFrame
>
;
}
)
;
}
ID
:
number
start
:
(
(
)
=>
{
ID
:
number
;
promise
:
Promise
<
EZSPFrame
>
;
}
)
(
)
:
{
ID
:
number
;
promise
:
Promise
<
EZSPFrame
>
;
}
Returns
{
ID
:
number
;
promise
:
Promise
<
EZSPFrame
>
;
}
ID
:
number
promise
:
Promise
<
EZSPFrame
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
cmd
Seq
ezspV
Methods
close
connect
exec
Command
form
Network
get
Configuration
Value
get
Current
Security
State
get
Multicast
Table
Entry
get
Value
is
Initialized
leave
Network
makeZDOframe
network
Init
send
Broadcast
send
Multicast
send
Unicast
set
Configuration
Value
set
Initial
Security
State
set
Multicast
Table
Entry
set
Policy
set
Source
Routing
set
Value
update
Config
update
Policies
version
wait
For
zigbee-herdsman
Loading...