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
:
SerialPortOptions
,
nwkOpt
:
NetworkOptions
)
:
ZBOSSDriver
Parameters
options
:
SerialPortOptions
nwkOpt
:
NetworkOptions
Returns
ZBOSSDriver
Properties
net
Info
netInfo
:
ZBOSSNetworkInfo
Readonly
port
port
:
ZBOSSUart
Methods
brequest
brequest
(
addr
:
BroadcastAddress
,
profileID
:
number
,
clusterID
:
number
,
dstEp
:
number
,
srcEp
:
number
,
data
:
Buffer
<
ArrayBufferLike
>
,
)
:
Promise
<
ZBOSSFrame
>
Parameters
addr
:
BroadcastAddress
profileID
:
number
clusterID
:
number
dstEp
:
number
srcEp
:
number
data
:
Buffer
<
ArrayBufferLike
>
Returns
Promise
<
ZBOSSFrame
>
connect
connect
()
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
exec
Command
execCommand
(
commandId
:
number
,
params
?:
KeyValue
,
timeout
?:
number
,
)
:
Promise
<
ZBOSSFrame
>
Parameters
commandId
:
number
params
:
KeyValue
= {}
timeout
:
number
= 10000
Returns
Promise
<
ZBOSSFrame
>
grequest
grequest
(
group
:
number
,
profileID
:
number
,
clusterID
:
number
,
srcEp
:
number
,
data
:
Buffer
<
ArrayBufferLike
>
,
)
:
Promise
<
ZBOSSFrame
>
Parameters
group
:
number
profileID
:
number
clusterID
:
number
srcEp
:
number
data
:
Buffer
<
ArrayBufferLike
>
Returns
Promise
<
ZBOSSFrame
>
ieee
By
Nwk
ieeeByNwk
(
nwk
:
number
)
:
Promise
<
string
>
Parameters
nwk
:
number
Returns
Promise
<
string
>
is
Initialized
isInitialized
()
:
undefined
|
boolean
Returns
undefined
|
boolean
request
request
(
ieee
:
string
,
profileID
:
number
,
clusterID
:
number
,
dstEp
:
number
,
srcEp
:
number
,
data
:
Buffer
<
ArrayBufferLike
>
,
)
:
Promise
<
ZBOSSFrame
>
Parameters
ieee
:
string
profileID
:
number
clusterID
:
number
dstEp
:
number
srcEp
:
number
data
:
Buffer
<
ArrayBufferLike
>
Returns
Promise
<
ZBOSSFrame
>
request
Zdo
requestZdo
(
clusterId
:
ClusterId
,
payload
:
Buffer
<
ArrayBufferLike
>
,
disableResponse
:
boolean
,
)
:
Promise
<
void
|
ZBOSSFrame
>
Parameters
clusterId
:
ClusterId
payload
:
Buffer
<
ArrayBufferLike
>
disableResponse
:
boolean
Returns
Promise
<
void
|
ZBOSSFrame
>
startup
startup
(
transmitPower
?:
number
)
:
Promise
<
StartResult
>
Parameters
Optional
transmitPower
:
number
Returns
Promise
<
StartResult
>
stop
stop
()
:
Promise
<
void
>
Returns
Promise
<
void
>
wait
For
waitFor
(
commandId
:
number
,
tsn
:
undefined
|
number
,
timeout
?:
number
,
)
:
{
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
>
}
}
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...