struct Keyleds::Device::Protocol
- Keyleds::Device::Protocol
- Struct
- Value
- Object
Overview
Describes a protocol that a device can communicate over.
Defined in:
bridge.crConstructors
Instance Method Summary
- #build : UInt32
- #clone
- #copy_with(type _type = @type, prefix _prefix = @prefix, version_major _version_major = @version_major, version_minor _version_minor = @version_minor, build _build = @build, is_active _is_active = @is_active, product_id _product_id = @product_id, misc _misc = @misc)
- #is_active : Bool
- #misc : StaticArray(UInt8, 5)
- #prefix : String
- #product_id : UInt16
- #type : UInt8
- #version_major : UInt32
- #version_minor : UInt32
Constructor Detail
def self.new(type : UInt8, prefix : String, version_major : UInt32, version_minor : UInt32, build : UInt32, is_active : Bool, product_id : UInt16, misc : StaticArray(UInt8, 5))
#
Instance Method Detail
def copy_with(type _type = @type, prefix _prefix = @prefix, version_major _version_major = @version_major, version_minor _version_minor = @version_minor, build _build = @build, is_active _is_active = @is_active, product_id _product_id = @product_id, misc _misc = @misc)
#