| Constructor and Description |
|---|
CmdPacket(Mac targetMac,
int count,
byte[] id,
AES aesInstance,
CmdPayload cmdPayload)
Constructs a command packet
|
public CmdPacket(Mac targetMac, int count, byte[] id, AES aesInstance, CmdPayload cmdPayload)
targetMac - Target Broadlink device MAC addresscount - Count of packets sent (provided by BLDevice sendPkt())id - This BLDevice ID provided by the Broadlink device. It is
{0,0,0,0} if auth() not ranaesInstance - The AES encrypt/decrypt instancecmdPayload - The data to be sentCopyright © 2018. All rights reserved.