class Company3M::Displays::WallDisplay::RequestPacket

Defined in:

company_3m/displays/wall_display.cr

Constant Summary

AFTER_DESERIALIZE = [] of Nil
BEFORE_SERIALIZE = [] of Nil
ENDIAN = ["big"]
KLASS_NAME = [Company3M::Displays::WallDisplay::RequestPacket]
PARTS = [{type: "basic", name: header_start, cls: UInt8, onlyif: nil, verify: nil, value: -> do 1_u8 end}, {type: "basic", name: reserved, cls: UInt8, onlyif: nil, verify: nil, value: -> do 48_u8 end}, {type: "enum", name: monitor_id, cls: UInt8, onlyif: nil, verify: nil, value: nil, enum_type: MonitorID}, {type: "enum", name: sender, cls: UInt8, onlyif: nil, verify: nil, value: nil, enum_type: MessageSender}, {type: "enum", name: message_type, cls: UInt8, onlyif: nil, verify: nil, value: nil, enum_type: MessageType}, {type: "string", name: message_length, cls: String, onlyif: nil, verify: nil, length: -> do 2 end, value: -> do (10.to_s(16)).upcase.rjust(2, '0') end, encoding: nil}, {type: "basic", name: message_start, cls: UInt8, onlyif: nil, verify: nil, value: -> do 2_u8 end}, {type: "string", name: op_code_page, cls: String, onlyif: nil, verify: nil, length: -> do 2 end, value: nil, encoding: nil}, {type: "string", name: op_code, cls: String, onlyif: nil, verify: nil, length: -> do 2 end, value: nil, encoding: nil}, {type: "string", name: set_value, cls: String, onlyif: nil, verify: nil, length: -> do 4 end, value: nil, encoding: nil}, {type: "basic", name: message_end, cls: UInt8, onlyif: nil, verify: nil, value: -> do 3_u8 end}] of Nil
REMAINING = [] of Nil

Class Method Summary

Macro Summary

Instance Method Summary

Class Method Detail

def self.bit_fields #

[View source]

Macro Detail

macro ashrae_dispatch_protocol(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro asn1_ber(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro asn1_ber_extended_identifier(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro asn1_ber_identifier(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro asn1_ber_length(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_abort_response(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_apdu_indicator(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_bit_string(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_complex_ack(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_complex_ack_segment(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_confirmed_request(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_confirmed_request_segment(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_data_link_indicator(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_date(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_error_response(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_message_i_pv4_bvlci(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_message_i_pv4_bvlci_address(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_message_i_pv4_bvlci_bdt_entry(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_message_i_pv4_bvlci_fdt_entry(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_message_secure_bvlci(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_message_secure_bvlci_advertisement(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_message_secure_bvlci_connect_details(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_message_secure_bvlci_header(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_message_secure_bvlci_header_proprietary(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_message_secure_bvlci_proprietary(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_message_secure_bvlci_result(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_message_secure_bvlci_result_error(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_npdu(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_npdu_destination(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_npdu_source(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_object(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_object_identifier(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_property_identifier(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_reject_response(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_segment_ack(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_segment_ack_segment(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_simple_ack(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_time(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ba_cnet_unconfirmed_request(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro ber(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro company3_m_displays_wall_display_request_packet(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro mqtt_v3_ack(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro mqtt_v3_connack(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro mqtt_v3_connect(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro mqtt_v3_empty_packet(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro mqtt_v3_header(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro mqtt_v3_publish(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro mqtt_v3_sub_topic(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro mqtt_v3_suback(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro mqtt_v3_subscribe(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro mqtt_v3_unsub_topic(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro mqtt_v3_unsubscribe(name, onlyif = nil, verify = nil, value = nil) #

[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]
def command=(command : Command) #

[View source]
def header_start : UInt8 #

def header_start=(header_start : UInt8) #

def message_end : UInt8 #

def message_end=(message_end : UInt8) #

def message_length : String #

def message_length=(message_length : String) #

def message_start : UInt8 #

def message_start=(message_start : UInt8) #

def message_type : MessageType #

def message_type=(message_type : MessageType) #

def monitor_id : MonitorID #

def monitor_id=(monitor_id : MonitorID) #

def op_code : String #

def op_code=(op_code : String) #

def op_code_page : String #

def op_code_page=(op_code_page : String) #

def reserved : UInt8 #

def reserved=(reserved : UInt8) #

def sender : MessageSender #

def sender=(sender : MessageSender) #

def set_value : String #

def set_value=(set_value : String) #

def value=(val : Int32) #

[View source]