struct

Keyleds::Device::Protocol

Inherits Struct < Value < Object

Describes a protocol that a device can communicate over.

Constructors

new(type : UInt8, prefix : String, version_major : UInt32, version_minor : UInt32, build : UInt32, is_active : Bool, product_id : UInt16, misc : StaticArray(UInt8, 5))
Source

Instance methods

build
clone
Source
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)
Source
is_active
misc
prefix
product_id
type
version_major
version_minor