Preparing search index...
The search index is not available
zigbee-herdsman
zigbee-herdsman
adapter/zboss/driver
ZBOSSDriver
Class ZBOSSDriver
Hierarchy
EventEmitter
ZBOSSDriver
Index
Constructors
constructor
Properties
net
Info
port
Methods
brequest
connect
exec
Command
grequest
ieee
By
Nwk
is
Initialized
request
request
Zdo
startup
stop
wait
For
Constructors
constructor
new ZBOSSDriver
(
options
,
nwkOpt
)
:
ZBOSSDriver
Parameters
options
:
SerialPortOptions
nwkOpt
:
NetworkOptions
Returns
ZBOSSDriver
Properties
net
Info
net
Info
:
ZBOSSNetworkInfo
Readonly
port
port
:
ZBOSSUart
Methods
brequest
brequest
(
addr
,
profileID
,
clusterID
,
dstEp
,
srcEp
,
data
)
:
Promise
<
ZBOSSFrame
>
Parameters
addr
:
BroadcastAddress
profileID
:
number
clusterID
:
number
dstEp
:
number
srcEp
:
number
data
:
Buffer
Returns
Promise
<
ZBOSSFrame
>
connect
connect
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
exec
Command
exec
Command
(
commandId
,
params
?
,
timeout
?
)
:
Promise
<
ZBOSSFrame
>
Parameters
commandId
:
number
params
:
KeyValue
= {}
timeout
:
number
= 10000
Returns
Promise
<
ZBOSSFrame
>
grequest
grequest
(
group
,
profileID
,
clusterID
,
srcEp
,
data
)
:
Promise
<
ZBOSSFrame
>
Parameters
group
:
number
profileID
:
number
clusterID
:
number
srcEp
:
number
data
:
Buffer
Returns
Promise
<
ZBOSSFrame
>
ieee
By
Nwk
ieee
By
Nwk
(
nwk
)
:
Promise
<
string
>
Parameters
nwk
:
number
Returns
Promise
<
string
>
is
Initialized
is
Initialized
(
)
:
undefined
|
boolean
Returns
undefined
|
boolean
request
request
(
ieee
,
profileID
,
clusterID
,
dstEp
,
srcEp
,
data
)
:
Promise
<
ZBOSSFrame
>
Parameters
ieee
:
string
profileID
:
number
clusterID
:
number
dstEp
:
number
srcEp
:
number
data
:
Buffer
Returns
Promise
<
ZBOSSFrame
>
request
Zdo
request
Zdo
(
clusterId
,
payload
,
disableResponse
)
:
Promise
<
void
|
ZBOSSFrame
>
Parameters
clusterId
:
ClusterId
payload
:
Buffer
disableResponse
:
boolean
Returns
Promise
<
void
|
ZBOSSFrame
>
startup
startup
(
)
:
Promise
<
StartResult
>
Returns
Promise
<
StartResult
>
stop
stop
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
wait
For
wait
For
(
commandId
,
tsn
,
timeout
?
)
:
{
ID
:
number
;
start
:
(
(
)
=>
{
ID
:
number
;
promise
:
Promise
<
ZBOSSFrame
>
;
}
)
;
}
Parameters
commandId
:
number
tsn
:
undefined
|
number
timeout
:
number
= 10000
Returns
{
ID
:
number
;
start
:
(
(
)
=>
{
ID
:
number
;
promise
:
Promise
<
ZBOSSFrame
>
;
}
)
;
}
ID
:
number
start
:
(
(
)
=>
{
ID
:
number
;
promise
:
Promise
<
ZBOSSFrame
>
;
}
)
(
)
:
{
ID
:
number
;
promise
:
Promise
<
ZBOSSFrame
>
;
}
Returns
{
ID
:
number
;
promise
:
Promise
<
ZBOSSFrame
>
;
}
ID
:
number
promise
:
Promise
<
ZBOSSFrame
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
net
Info
port
Methods
brequest
connect
exec
Command
grequest
ieee
By
Nwk
is
Initialized
request
request
Zdo
startup
stop
wait
For
zigbee-herdsman
Loading...