class BACnet::IP4BVLCI

Defined in:

bacnet/ip4_bvlci.cr

Constant Summary

ENDIAN = ["big"]
KLASS_NAME = [BACnet::IP4BVLCI]
PARTS = [{type: "basic", name: protocol, cls: UInt8, onlyif: nil, verify: nil, value: -> do 129_u8 end}, {type: "enum", name: request_type, cls: UInt8, onlyif: nil, verify: nil, value: nil, encoding: RequestTypeIP4}, {type: "basic", name: request_length, cls: UInt16, onlyif: nil, verify: nil, value: nil}, {type: "array", name: bdt_entries, cls: BDTEntry, onlyif: -> do {RequestTypeIP4::ReadBroadcastDistributionTableAck, RequestTypeIP4::WriteBroadcastDistributionTable}.includes?(request_type) end, verify: nil, length: -> do (request_length - 4) / 10 end, value: nil}, {type: "array", name: fdt_entries, cls: FDTEntry, onlyif: -> do request_type.read_foreign_device_table_ack? end, verify: nil, length: -> do (request_length - 4) / 10 end, value: nil}, {type: "group", name: address, cls: Address, onlyif: -> do {RequestTypeIP4::ForwardedNPDU, RequestTypeIP4::DeleteForeignDeviceTableEntry}.includes?(request_type) end, verify: nil, value: nil}, {type: "basic", name: register_ttl, cls: UInt16, onlyif: -> do request_type.register_foreign_device? end, verify: nil, value: nil}, {type: "enum", name: result_code, cls: UInt16, onlyif: -> do request_type.bvcl_result? end, verify: nil, value: nil, encoding: ResultCode}] of Nil
REMAINING = [] of Nil

Class Method Summary

Instance Method Summary

Macro Summary

Class Method Detail

def self.bit_fields #

[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]

B/IP Address http://www.bacnet.org/Tutorial/BACnetIP/sld014.html


def address=(address : BACnet::IP4BVLCI::Address) #

B/IP Address http://www.bacnet.org/Tutorial/BACnetIP/sld014.html


def bdt_entries : Array(BDTEntry) #

def bdt_entries=(bdt_entries : Array(BDTEntry)) #

def fdt_entries : Array(FDTEntry) #

def fdt_entries=(fdt_entries : Array(FDTEntry)) #

def protocol : UInt8 #

def protocol=(protocol : UInt8) #

def register_ttl : UInt16 #

def register_ttl=(register_ttl : UInt16) #

def request_length : UInt16 #

def request_length=(request_length : UInt16) #

def request_type : RequestTypeIP4 #

def request_type=(request_type : RequestTypeIP4) #

def result_code : ResultCode #

def result_code=(result_code : ResultCode) #

Macro Detail

macro ba_cnet_apdu_indicator(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_ip4_bvlci(name, onlyif = nil, verify = nil, value = nil) #

[View source]