zigbee-herdsman
Preparing search index...
adapter/zigate/driver/frame
default
Class default
Index
Constructors
constructor
Properties
checksum
Bytes
msg
Code
Bytes
msg
Length
Bytes
msg
Length
Offset
msg
Payload
Bytes
rssi
Bytes
START_
BYTE
STOP_
BYTE
Methods
build
Chunks
calc
Checksum
escape
Data
read
Checksum
read
Msg
Code
read
Msg
Length
readRSSI
to
Buffer
write
Checksum
write
Msg
Code
write
Msg
Length
write
Msg
Payload
writeRSSI
is
Valid
Constructors
constructor
new
default
(
frame
?:
Buffer
<
ArrayBufferLike
>
)
:
default
Parameters
Optional
frame
:
Buffer
<
ArrayBufferLike
>
Returns
default
Properties
checksum
Bytes
checksumBytes
:
Buffer
= ...
msg
Code
Bytes
msgCodeBytes
:
Buffer
= ...
msg
Length
Bytes
msgLengthBytes
:
Buffer
= ...
msg
Length
Offset
msgLengthOffset
:
number
= 0
msg
Payload
Bytes
msgPayloadBytes
:
Buffer
= ...
rssi
Bytes
rssiBytes
:
Buffer
= ...
Static
Readonly
START_
BYTE
START_BYTE
:
1
= 0x1
Static
Readonly
STOP_
BYTE
STOP_BYTE
:
3
= 0x3
Methods
build
Chunks
buildChunks
(
frame
:
Buffer
)
:
void
Parameters
frame
:
Buffer
Returns
void
calc
Checksum
calcChecksum
()
:
number
Returns
number
escape
Data
escapeData
(
data
:
Buffer
)
:
Buffer
Parameters
data
:
Buffer
Returns
Buffer
read
Checksum
readChecksum
()
:
number
Returns
number
read
Msg
Code
readMsgCode
()
:
number
Returns
number
read
Msg
Length
readMsgLength
()
:
number
Returns
number
readRSSI
readRSSI
()
:
number
Returns
number
to
Buffer
toBuffer
()
:
Buffer
Returns
Buffer
write
Checksum
writeChecksum
()
:
this
Returns
this
write
Msg
Code
writeMsgCode
(
msgCode
:
number
)
:
default
Parameters
msgCode
:
number
Returns
default
write
Msg
Length
writeMsgLength
(
msgLength
:
number
)
:
default
Parameters
msgLength
:
number
Returns
default
write
Msg
Payload
writeMsgPayload
(
msgPayload
:
Buffer
)
:
default
Parameters
msgPayload
:
Buffer
Returns
default
writeRSSI
writeRSSI
(
rssi
:
number
)
:
default
Parameters
rssi
:
number
Returns
default
Static
is
Valid
isValid
(
frame
:
Buffer
)
:
boolean
Parameters
frame
:
Buffer
Returns
boolean
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
checksum
Bytes
msg
Code
Bytes
msg
Length
Bytes
msg
Length
Offset
msg
Payload
Bytes
rssi
Bytes
START_
BYTE
STOP_
BYTE
Methods
build
Chunks
calc
Checksum
escape
Data
read
Checksum
read
Msg
Code
read
Msg
Length
readRSSI
to
Buffer
write
Checksum
write
Msg
Code
write
Msg
Length
write
Msg
Payload
writeRSSI
is
Valid
zigbee-herdsman
Loading...