Sha256: 91dba689a40041b7839a9ef73b70c1f9fc97f82abf6fc9cf32c28bb65dbba1eb
Contents?: true
Size: 1.03 KB
Versions: 10
Compression:
Stored size: 1.03 KB
Contents
module LIFX module Protocol # @api private module Wan class ConnectPlain < Payload endian :little string :user, length: 32, trim_padding: true string :pass, length: 32, trim_padding: true end class ConnectKey < Payload endian :little string :auth_key, length: 32 end class StateConnect < Payload endian :little string :auth_key, length: 32 end class Sub < Payload endian :little string :target, length: 8 string :site, length: 6 bool :device # 0 - Targets a device. 1 - Targets a tag. end class Unsub < Payload endian :little string :target, length: 8 string :site, length: 6 bool :device # 0 - Targets a device. 1 - Targets a tag. end class StateSub < Payload endian :little string :target, length: 8 string :site, length: 6 bool :device # 0 - Targets a device. 1 - Targets a tag. end end end end
Version data entries
10 entries across 10 versions & 1 rubygems