Preparing search index...
The search index is not available
zigbee-herdsman
zigbee-herdsman
adapter/z-stack/znp/znp
default
Class default
Hierarchy
EventEmitter
default
Index
Constructors
constructor
Methods
close
is
Initialized
open
request
request
With
Reply
request
Zdo
wait
For
auto
Detect
Path
is
Valid
Path
Constructors
constructor
new default
(
path
,
baudRate
,
rtscts
)
:
default
Parameters
path
:
string
baudRate
:
number
rtscts
:
boolean
Returns
default
Methods
close
close
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
is
Initialized
is
Initialized
(
)
:
boolean
Returns
boolean
open
open
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
request
request
(
subsystem
,
command
,
payload
,
waiterID
?
,
timeout
?
,
expectedStatuses
?
)
:
Promise
<
void
|
default
<
"Response"
>
>
Parameters
subsystem
:
Subsystem
command
:
string
payload
:
ZpiObjectPayload
Optional
waiterID
:
number
Optional
timeout
:
number
expectedStatuses
:
ZnpCommandStatus
[]
= ...
Returns
Promise
<
void
|
default
<
"Response"
>
>
request
With
Reply
request
With
Reply
(
subsystem
,
command
,
payload
,
waiterID
?
,
timeout
?
,
expectedStatuses
?
)
:
Promise
<
default
<
"Response"
>
>
Parameters
subsystem
:
Subsystem
command
:
string
payload
:
ZpiObjectPayload
Optional
waiterID
:
number
Optional
timeout
:
number
expectedStatuses
:
ZnpCommandStatus
[]
= ...
Returns
Promise
<
default
<
"Response"
>
>
request
Zdo
request
Zdo
(
clusterId
,
payload
,
waiterID
?
)
:
Promise
<
void
>
Parameters
clusterId
:
ClusterId
payload
:
Buffer
Optional
waiterID
:
number
Returns
Promise
<
void
>
wait
For
wait
For
(
type
,
subsystem
,
command
,
target
,
transid
,
state
,
timeout
?
)
:
{
ID
:
number
;
start
:
(
(
)
=>
{
ID
:
number
;
promise
:
Promise
<
default
<
"Response"
>
>
;
}
)
;
}
Parameters
type
:
Type
subsystem
:
Subsystem
command
:
string
target
:
undefined
|
string
|
number
transid
:
undefined
|
number
state
:
undefined
|
number
timeout
:
number
= timeouts.default
Returns
{
ID
:
number
;
start
:
(
(
)
=>
{
ID
:
number
;
promise
:
Promise
<
default
<
"Response"
>
>
;
}
)
;
}
ID
:
number
start
:
(
(
)
=>
{
ID
:
number
;
promise
:
Promise
<
default
<
"Response"
>
>
;
}
)
(
)
:
{
ID
:
number
;
promise
:
Promise
<
default
<
"Response"
>
>
;
}
Returns
{
ID
:
number
;
promise
:
Promise
<
default
<
"Response"
>
>
;
}
ID
:
number
promise
:
Promise
<
default
<
"Response"
>
>
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
Methods
close
is
Initialized
open
request
request
With
Reply
request
Zdo
wait
For
auto
Detect
Path
is
Valid
Path
zigbee-herdsman
Loading...