C# Class System.IO.BACnet.BacnetMstpProtocolTransport

This is the standard BACNet MSTP transport
Inheritance: IBacnetTransport, IDisposable
Datei anzeigen Open project: temcocontrols/T3000_Building_Automation_System

Public Methods

Method Description
BacnetMstpProtocolTransport ( IBacnetSerialTransport transport, short source_address = -1, byte max_master = 127, byte max_info_frames = 1 ) : System
BacnetMstpProtocolTransport ( string port_name, int baud_rate, short source_address = -1, byte max_master = 127, byte max_info_frames = 1 ) : System
Dispose ( ) : void
Equals ( object obj ) : bool
GetBroadcastAddress ( ) : BacnetAddress
GetHashCode ( ) : int
Send ( byte buffer, int offset, int data_length, BacnetAddress address, bool wait_for_transmission, int timeout ) : int
Start ( ) : void
Start_SpyMode ( ) : void
ToString ( ) : string
WaitForAllTransmits ( int timeout ) : bool

Private Methods

Method Description
AnswerDataRequest ( ) : StateChanges
DoneWithToken ( ) : StateChanges
GetNextMessage ( int timeout_ms, BacnetMstpFrameTypes &frame_type, byte &destination_address, byte &source_address, int &msg_length ) : GetMessageStatus
Idle ( ) : StateChanges
Initialize ( ) : StateChanges
PassToken ( ) : StateChanges
PollForMaster ( ) : StateChanges
QueueFrame ( BacnetMstpFrameTypes frame_type, byte destination_address ) : void
RemoveCurrentMessage ( int msg_length ) : void
RemoveGarbage ( ) : void
SendFrame ( BacnetMstpFrameTypes frame_type, byte destination_address ) : void
SendFrame ( MessageFrame frame ) : void
UseToken ( ) : StateChanges
WaitForReply ( ) : StateChanges
mstp_thread ( ) : void
mstp_thread_sniffer ( ) : void

Method Details

BacnetMstpProtocolTransport() public method

public BacnetMstpProtocolTransport ( IBacnetSerialTransport transport, short source_address = -1, byte max_master = 127, byte max_info_frames = 1 ) : System
transport IBacnetSerialTransport
source_address short
max_master byte
max_info_frames byte
return System

BacnetMstpProtocolTransport() public method

public BacnetMstpProtocolTransport ( string port_name, int baud_rate, short source_address = -1, byte max_master = 127, byte max_info_frames = 1 ) : System
port_name string
baud_rate int
source_address short
max_master byte
max_info_frames byte
return System

Dispose() public method

public Dispose ( ) : void
return void

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetBroadcastAddress() public method

public GetBroadcastAddress ( ) : BacnetAddress
return BacnetAddress

GetHashCode() public method

public GetHashCode ( ) : int
return int

Send() public method

public Send ( byte buffer, int offset, int data_length, BacnetAddress address, bool wait_for_transmission, int timeout ) : int
buffer byte
offset int
data_length int
address BacnetAddress
wait_for_transmission bool
timeout int
return int

Start() public method

public Start ( ) : void
return void

Start_SpyMode() public method

public Start_SpyMode ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

WaitForAllTransmits() public method

public WaitForAllTransmits ( int timeout ) : bool
timeout int
return bool