| Package | Description |
|---|---|
| com.github.mob41.blapi |
Base library implementations
|
| com.github.mob41.blapi.pkt |
Packet implementations to communicate with the Broadlink devices
|
| com.github.mob41.blapi.pkt.auth |
Authentication packets implementations
|
| com.github.mob41.blapi.pkt.cmd.hysen | |
| com.github.mob41.blapi.pkt.cmd.rm2 |
Broadlink RM2 command packets implementations
|
| Modifier and Type | Method and Description |
|---|---|
DatagramPacket |
BLDevice.sendCmdPkt(CmdPayload cmdPayload)
Sends a command packet from localhost to Broadlink device, with buffer
size 1024 bytes, 10 seconds timeout
Before any commands to be sent to the device, auth must
be ran first in order to authenticate with the device and gain a device
ID, encryption key and IV. |
DatagramPacket |
BLDevice.sendCmdPkt(InetAddress sourceIpAddr,
int sourcePort,
int timeout,
int bufSize,
CmdPayload cmdPayload)
Binds to a specific IP address and sends a command packet to Broadlink
device
Before any commands to be sent to the device, auth must
be ran first in order to authenticate with the device and gain a device
ID, encryption key and IV. |
DatagramPacket |
BLDevice.sendCmdPkt(int timeout,
CmdPayload cmdPayload)
Sends a command packet from localhost to Broadlink device, with default
buffer size 1024 bytes
Before any commands to be sent to the device, auth must
be ran first in order to authenticate with the device and gain a device
ID, encryption key and IV. |
DatagramPacket |
BLDevice.sendCmdPkt(int timeout,
int bufSize,
CmdPayload cmdPayload)
Sends a command packet from localhost to Broadlink device
Before any commands to be sent to the device, auth must
be ran first in order to authenticate with the device and gain a device
ID, encryption key and IV. |
| Constructor and Description |
|---|
CmdPacket(Mac targetMac,
int count,
byte[] id,
AES aesInstance,
CmdPayload cmdPayload)
Constructs a command packet
|
| Modifier and Type | Class and Description |
|---|---|
class |
AuthCmdPayload |
| Modifier and Type | Class and Description |
|---|---|
class |
BaseHysenCommand
Base hysen command Payload.
|
class |
GenericByteCommand |
class |
GetBasicInfoCommand |
class |
GetStatusCommand |
class |
SetModeCommand |
class |
SetPeriodsCommand |
class |
SetPoweCommand |
class |
SetTempCommand |
class |
SetTimeCommand |
| Modifier and Type | Class and Description |
|---|---|
class |
CheckDataCmdPayload |
class |
EnterLearnCmdPayload |
class |
RMTempCmdPayload |
class |
SendDataCmdPayload |
Copyright © 2018. All rights reserved.