Ldvdrivertype enumeration, Windows messages for session notifications, Ee windows messages for session notifications – Echelon OpenLDV User Manual

Page 52: E 44

Advertising
background image

44

Using the OpenLDV API

LdvDriverType Enumeration

Table 28 describes the enumerated values for the LdvDriverType driver type.

The driver type describes the driver type of an associated network interface.
LdvDriverType enumeration values less than 127 define types of Echelon

network interface drivers. To define your own network interface type, use an

enumeration value greater than 128.

Table 28. OpenLDV Driver Type (LdvDriverType)

Driver Type

Numeric

Value

Description

LDV_DRIVERTYPE_UNKNOWN 0

An unknown network interface type, or a

type that cannot be determined

LDV_DRIVERTYPE_LNI

1

A local network interface driver

(Windows)

LDV_DRIVERTYPE_RNI

2

A remote network interface driver

(xDriver)

LDV_DRIVERTYPE_USB

3

A USB LonTalk Adapter driver

LDV_DRIVERTYPE_STD_MAX

127

The maximum enumeration value for

Echelon network interface types

Windows Messages for Session Notifications

Table 29 describes the defined values for the Windows messages for session

change notifications used by the ldvx_open() and ldvx_register_window()

functions.

Table 29. Windows Messages for Session Change Notifications

Message

Definition

Value

LDVX_WM_CLOSED

LDVX_APP + 0

34408

LDVX_WM_CONNECTING LDVX_APP + 1

34409

LDVX_WM_ESTABLISHED LDVX_APP + 2

34410

LDVX_WM_FAILED

LDVX_APP + 3

34411

LDVX_WM_DETACHED

LDVX_APP + 4

34412

LDVX_WM_ATTACHED

LDVX_APP + 5

34413

Note: LDVX_APP is defined as 34408 (WM_APP + 1640).

Advertising