Echelon OpenLDV User Manual Page 29

  • Download
  • Add to my manuals
  • Print
  • Page
    / 194
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 28
OpenLDV Programmer’s Guide 21
Remarks
Use this function to retrieve device information about a LONWORKS interface
device. This function returns LDV_OK if the device information is successfully
retrieved. After you retrieve the device information and no longer need it, you
must free the device information resources by calling the
ldv_free_device_info() function.
The contents of the returned structure is constant (read-only) and cannot be
modified.
See Structures and Enumerations for the Device API on page 37 for a description
of the LDVDeviceInfo structure.
ldv_get_driver_info()
Call this function to retrieve driver information about a LONWORKS interface
device driver.
Syntax
LDVCode ldv_get_driver_info(
LDVDriverID nDriverId,
LDVDriverInfo** ppDriverInfo
)
Table 9. ldv_get_driver_info() Parameters
Parameter Direction Description
nDriverId Input The driver ID of the driver for which you are requesting
information.
ppDriverInfo Output A pointer to an LDVDriverInfo pointer that receives the
information of the requested driver.
Remarks
Use this function to retrieve driver information about a LONWORKS interface
device driver. This function returns LDV_OK if the driver information is
successfully retrieved. After you retrieve the driver information and no longer
need it, you must free the driver information resources by calling the
ldv_free_driver_info() function.
The contents of the returned structure should be treated as constant (read-only)
and cannot be modified.
See Structures and Enumerations for the Driver API on page 42 for a description
of the LDVDriverID enumeration values and the LDVDriverInfo structure.
Page view 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 193 194

Comments to this Manuals

No comments