C# Class Gurux.DLMS.Internal.GXAPDU

The services to access the attributes and methods of COSEM objects are determined on DLMS/COSEM Application layer. The services are carried by Application Protocol Data Units (APDUs).

In DLMS/COSEM the meter is primarily a server, and the controlling system is a client. Also unsolicited (received without a request) messages are available.

ファイルを表示 Open project: Gurux/Gurux.DLMS.Net Class Usage Examples

Public Methods

Method Description
ParseUserInformation ( GXDLMSSettings settings, GXICipher cipher, GXByteBuffer data, GXDLMSTranslatorStructure xml ) : void

Parse User Information from PDU.

Private Methods

Method Description
AppendServerSystemTitleToXml ( GXDLMSSettings settings, GXDLMSTranslatorStructure xml, int tag ) : void
GenerateAARE ( GXDLMSSettings settings, GXByteBuffer data, AssociationResult result, SourceDiagnostic diagnostic, GXICipher cipher, GXByteBuffer encryptedData ) : void

Server generates AARE message.

GenerateAarq ( GXDLMSSettings settings, GXICipher cipher, GXByteBuffer encryptedData, GXByteBuffer data ) : void

Generates Aarq.

GenerateApplicationContextName ( GXDLMSSettings settings, GXByteBuffer data, GXICipher cipher ) : void

Code application context name.

GenerateUserInformation ( GXDLMSSettings settings, GXICipher cipher, GXByteBuffer encryptedData, GXByteBuffer data ) : void

Generate user information.

GetAuthenticationString ( GXDLMSSettings settings, GXByteBuffer data ) : void

Retrieves the string that indicates the level of authentication, if any.

GetConformance ( UInt32 value, GXDLMSTranslatorStructure xml ) : void
GetInitiateRequest ( GXDLMSSettings settings, GXICipher cipher, GXByteBuffer data ) : void

Generate User information initiate request.

GetUserInformation ( GXDLMSSettings settings, GXICipher cipher ) : byte[]
ParseApplicationContextName ( GXDLMSSettings settings, GXByteBuffer buff, GXDLMSTranslatorStructure xml ) : bool

Parse application context name.

ParsePDU ( GXDLMSSettings settings, GXICipher cipher, GXByteBuffer buff, GXDLMSTranslatorStructure xml ) : SourceDiagnostic

Parse APDU.

UpdateAuthentication ( GXDLMSSettings settings, GXByteBuffer buff ) : void
updatePassword ( GXDLMSSettings settings, GXByteBuffer buff, GXDLMSTranslatorStructure xml ) : void

Method Details

ParseUserInformation() public static method

Parse User Information from PDU.
public static ParseUserInformation ( GXDLMSSettings settings, GXICipher cipher, GXByteBuffer data, GXDLMSTranslatorStructure xml ) : void
settings GXDLMSSettings
cipher GXICipher
data GXByteBuffer
xml GXDLMSTranslatorStructure
return void