class Broadlink::Device
- Broadlink::Device
- Reference
- Object
Included Modules
Direct Known Subclasses
Defined in:
broadlink.crConstant Summary
-
ID_PACKET =
Bytes[0, 0, 0, 0]
-
IV_PACKET =
Bytes[86, 46, 23, 153, 109, 9, 61, 40, 221, 179, 186, 105, 90, 46, 111, 88]
-
KEY_PACKET =
Bytes[9, 118, 40, 52, 63, 233, 158, 35, 118, 92, 21, 19, 172, 207, 139, 2]
Constructors
Instance Method Summary
- #auth?
- #decrypt(payload : Bytes)
- #devtype : UInt16
- #encrypt(payload : Bytes)
- #host : String
- #mac : Slice(UInt8)
- #send_packet(command : UInt8, payload : Bytes)
- #type : String