class BACnet::Message::Secure::BVLCI

Defined in:

bacnet/virtual_link_control/secure_bvlci.cr

Constant Summary

ENDIAN = ["big"]
KLASS_NAME = [BACnet::Message::Secure::BVLCI]
PARTS = [{type: "enum", name: request_type, cls: typeof(Request::BVCLResult.value), onlyif: nil, verify: nil, value: nil, encoding: nil, enum_type: BACnet::Message::Secure::Request}, {type: "bitfield", name: 13, cls: BACnet::Message::Secure::BVLCI, onlyif: nil, verify: nil}, {type: "basic", name: message_id, cls: UInt16, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "bytes", name: source_vmac, cls: Slice(UInt8), onlyif: -> do source_specifier end, verify: nil, length: -> do 6 end, value: nil}, {type: "bytes", name: destination_vmac, cls: Slice(UInt8), onlyif: -> do destination_specifier end, verify: nil, length: -> do 6 end, value: nil}, {type: "variable_array", name: destination_options, cls: BACnet::Message::Secure::BVLCI::Header, onlyif: -> do destination_options_present end, verify: nil, read_next: -> do destination_options.empty? || destination_options[-1].more_headers end, value: nil}, {type: "variable_array", name: data_options, cls: BACnet::Message::Secure::BVLCI::Header, onlyif: -> do data_options_present end, verify: nil, read_next: -> do data_options.empty? || data_options[-1].more_headers end, value: nil}, {type: "group", name: result, cls: Result, onlyif: -> do request_type.bvcl_result? end, verify: nil, value: nil}, {type: "group", name: advertisement, cls: Advertisement, onlyif: -> do request_type.advertisement? end, verify: nil, value: nil}, {type: "group", name: connect_details, cls: ConnectDetails, onlyif: -> do request_type.connect_request? || request_type.connect_accept? end, verify: nil, value: nil}, {type: "group", name: proprietary, cls: Proprietary, onlyif: -> do request_type.proprietary_message? end, verify: nil, value: nil}] of Nil
REMAINING = [{type: "bytes", name: websocket_urls_data, onlyif: -> do request_type.address_resolution_ack? end, verify: nil}] of Nil

Class Method Summary

Macro Summary

Instance Method Summary

Class Method Detail

def self.bit_fields #

[View source]

Macro Detail

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_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]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]

def advertisement=(advertisement : BACnet::Message::Secure::BVLCI::Advertisement) #


def connect_details=(connect_details : BACnet::Message::Secure::BVLCI::ConnectDetails) #

def data_options : Array(BACnet::Message::Secure::BVLCI::Header) #

Data Options


def data_options=(data_options : Array(BACnet::Message::Secure::BVLCI::Header)) #

Data Options


def data_options_present : Bool #

[View source]
def data_options_present=(data_options_present : UInt8) #

def data_options_present=(value : Bool) #

[View source]
def destination_options : Array(BACnet::Message::Secure::BVLCI::Header) #

Destination Options


def destination_options=(destination_options : Array(BACnet::Message::Secure::BVLCI::Header)) #

Destination Options


def destination_options_present : Bool #

[View source]
def destination_options_present=(destination_options_present : UInt8) #

def destination_options_present=(value : Bool) #

[View source]
def destination_specifier : Bool #

[View source]
def destination_specifier=(destination_specifier : UInt8) #

def destination_specifier=(value : Bool) #

[View source]
def destination_vmac : Bytes #

def destination_vmac=(destination_vmac : Bytes) #

def message_id : UInt16 #

def message_id=(message_id : UInt16) #


def proprietary=(proprietary : BACnet::Message::Secure::BVLCI::Proprietary) #

def request_type : Request #

def request_type=(request_type : Request) #

def reserved : UInt8 #

true == network layer message, message type field is present


def reserved=(reserved : UInt8) #

true == network layer message, message type field is present


Payloads:


Payloads:


def source_specifier : Bool #

Contains a destination address


[View source]
def source_specifier=(source_specifier : UInt8) #

Contains a destination address


def source_specifier=(value : Bool) #

Contains a destination address


[View source]
def source_vmac : Bytes #

Broadcast VMAC is 0xFFFFFFFFFFFF


def source_vmac=(source_vmac : Bytes) #

Broadcast VMAC is 0xFFFFFFFFFFFF


def websocket_urls #

[View source]
def websocket_urls_data : Bytes #

def websocket_urls_data=(websocket_urls_data : Bytes) #