Getdownlinkkey method, Syntax, Returns – Echelon OpenLDV User Manual

Page 177

Advertising
background image

OpenLDV Programmer’s Guide

169

Syntax

C++

STDMETHOD(GetCurrentAuthenticationKey)(BSTR * authKey)

Visual Basic Function GetCurrentAuthenticationKey() As String

Table 52. GetCurrentAuthenticationKey Parameters

Parameter

Description

authKey

String variable that stores the return data.

Returns

Current authentication key for the RNI, as a 32-character hexadecimal string

representing a 128-bit MD5 authentication key.

GetDownlinkKey Method

Applies to: Session Control Object
This method obtains the downlink lookup key. This key comes from the network

interface name that is specified in the LNS application. For example, in the

"X.Default.Location-123" network interface name, the downlink lookup key is

"Location-123". It is the responsibility of the lookup extension component to map

this key to the database, and then fill the authentication and TCP parameters to

be used by the rest of the xDriver framework into the SCO in the

DownlinkLookup method.
For more information about the DownlinkLookup method, see DownlinkLookup

on page 164.

Syntax

C++

STDMETHOD(GetDownlinkKey)(BSTR * dnKey)

Visual Basic Function GetDownlinkKey() As String

Table 53. GetDownlinkKey Parameters

Parameter

Description

dnKey

Variable (String) that stores the return value.

Returns

The downlink lookup key of the RNI as a string.

Advertising