class BACnet::NPDU::Destination

Defined in:

bacnet/npdu.cr

Constant Summary

ENDIAN = ["big"]
KLASS_NAME = [BACnet::NPDU::Destination]
PARTS = [{type: "basic", name: network, cls: UInt16, onlyif: nil, verify: nil, value: nil, endian: nil}, {type: "basic", name: address_length, cls: UInt8, onlyif: nil, verify: nil, value: -> do address.size end, endian: nil}, {type: "bytes", name: address, cls: Slice(UInt8), onlyif: nil, verify: nil, length: -> do address_length end, value: nil}] of Nil
REMAINING = [] of Nil

Class Method Summary

Macro Summary

Instance Method Summary

Class Method Detail

def self.bit_fields #

Macro Detail

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

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

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

Instance Method Detail

def __format__ : IO::ByteFormat #

def address : Bytes #

def address=(address : Bytes) #

def address_length : UInt8 #

def address_length=(address_length : UInt8) #

def network : UInt16 #

def network=(network : UInt16) #

def parent #

Group fields might need access to data in the parent


[View source]
def parent=(parent : BACnet::NPDU | Nil) #

Group fields might need access to data in the parent