Getauthenticationflag method, Getcurrentauthenticationkey method, Syntax – Echelon OpenLDV User Manual

Page 176: Returns

Advertising
background image

168

Custom Lookup Extension Component Programming

Syntax

C++

STDMETHOD(GetAdditionalDownlinkPacketTrailer)(BSTR * hexBytes)

Visual Basic Function GetAdditionalDownlinkPacketTrailer() As String

Table 50. GetAdditionalDownlinkPacketHeader Parameters

Parameter

Description

hexBytes

String to contain returned bytes.

Returns

Hexadecimal string containing the bytes to be appended, two characters per byte.

GetAuthenticationFlag Method

Applies to: Session Control Object
This method obtains the flag that determines whether the xDriver protocol

engine is to use link authentication with an MD5 per-packet digest. This field is

always true for a SmartServer or i.LON 600.

Syntax

C++

STDMETHOD(GetAuthenticationFlag)(VARIANT_BOOL * bAuth)

Visual Basic Function GetAuthenticationFlag() As Boolean

Table 51. GetAuthenticationFlag Parameters

Parameter

Description

bAuth

Boolean variable that stores the return data.

Returns

xDriver authentication state as Boolean. If True, the xDriver protocol engine

generates and validates link-level authentication. If False, the xDriver protocol

engine neither generates nor validates link-level authentication.

GetCurrentAuthenticationKey Method

Applies to: Session Control Object
This method obtains the current xDriver authentication key.

Advertising