HdlcAddress Class
Class used to maintain, encode, decode an address used in HDLC communication
Namespace: OddPrg.Protocols.HdlcAssembly: OddPrg.Frames.Hdlc (in OddPrg.Frames.Hdlc.dll) Version: 1.0.0.2 (1.0.0.2)
public class HdlcAddress : IEquatable<HdlcAddress>
- Inheritance
- Object HdlcAddress
- Implements
- IEquatableHdlcAddress
IsBroadcast |
Indicates if the address represents a broadcast address.
|
LowerAddress |
Lower address part of current HDLC address. It is not present in OneByte addressing scheme.
For OneByte scheme is is ommited, for TwoByte scheme it could be 0x00 - 0x7F, for FourByte schmeme it could be
0x000 - 0x3FFF.
|
RawData |
HDLC address coded as bytes that could be sent to a remote device.
|
Scheme |
HDLC addressing scheme used for current address
|
UpperAddress |
Upper address part of current HDLC address. For OneByte/TwoByte scheme it could be 0x00 - 0x7F.
For FourByte addressing scheme it could be 0x0000 - 0x3FFF.
|
Create |
Transforms HDLC address parts into raw bytes that could be sent to a meter
|
Create(HdlcAddressingScheme, UInt16, UInt16) |
Transforms HDLC address parts into raw bytes that could be sent to a meter
|
Equals |
Implementation of method from IEquatable interface
|
GetNextAddress |
Returns HDLC address raw data from the beginning of rawData buffer.
|
Parse |
Parses raw bytes received from a meter to HDLC address parts
|