Search
Preparing search index...
The search index is not available
node-divoom-timebox-evo
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
TimeboxEvoMessage
Class TimeboxEvoMessage
Hierarchy
TimeboxEvoMessage
Index
Constructors
constructor
Properties
_END
_START
_message
Accessors
crc
crcHS
length
lengthHS
message
payload
Methods
_calcCRC
append
as
Binary
Buffer
prepend
to
String
Constructors
constructor
new
Timebox
Evo
Message
(
msg
?:
string
)
:
TimeboxEvoMessage
Parameters
Default value
msg:
string
= ""
Returns
TimeboxEvoMessage
Properties
Private
_END
_END
:
string
= "02"
Private
_START
_START
:
string
= "01"
Private
_message
_message
:
string
|
undefined
Accessors
crc
get
crc
(
)
:
number
|
undefined
Returns
number
|
undefined
crcHS
get
crcHS
(
)
:
string
|
undefined
Returns
string
|
undefined
length
get
length
(
)
:
number
|
undefined
Returns
number
|
undefined
lengthHS
get
lengthHS
(
)
:
string
|
undefined
Returns
string
|
undefined
message
get
message
(
)
:
string
|
undefined
Returns
string
|
undefined
payload
get
payload
(
)
:
string
set
payload
(
payload
:
string
)
:
void
Returns
string
Parameters
payload:
string
Returns
void
Methods
Private
_calcCRC
_calcCRC
(
)
:
number
|
undefined
Returns
number
|
undefined
append
append
(
msg
:
string
)
:
TimeboxEvoMessage
Parameters
msg:
string
Returns
TimeboxEvoMessage
as
Binary
Buffer
as
Binary
Buffer
(
)
:
Buffer
[]
Returns
Buffer
[]
prepend
prepend
(
msg
:
string
)
:
TimeboxEvoMessage
Parameters
msg:
string
Returns
TimeboxEvoMessage
to
String
to
String
(
)
:
string
|
undefined
Returns
string
|
undefined
Globals
Lightning
Type
Time
Display
Type
VJEffect
Type
Weather
Type
Brightness
Command
Cloud
Channel
Custom
Channel
Date
Time
Command
Display
Animation
Display
Text
Divoom
Jimp
Divoom
Jimp
Anim
Divoom
Jimp
Static
Jimp
Array
Lightning
Channel
Score
Board
Channel
Temp
Weather
Command
Time
Channel
Timebox
Evo
Timebox
Evo
Message
constructor
_END
_START
_message
crc
crcHS
length
lengthHS
message
payload
_calcCRC
append
as
Binary
Buffer
prepend
to
String
Timebox
Evo
Message
Array
Timebox
Evo
Request
VJEffect
Channel
Brightness
Opts
Date
Time
Opts
Display
Text
Opts
Lightning
Opts
Score
Board
Options
Temp
Weather
Opts
Time
Options
VJEffect
Options
Request
Types
boolean2
Hex
String
brightness2
Hex
String
color2
Hex
String
int2hexlittle
number2
Hex
String
unhexlify
TIMEBOX_
CONST
Generated using
TypeDoc