Echelon OpenLDV User Manual Page 53

  • Download
  • Add to my manuals
  • Print
  • Page
    / 194
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 52
OpenLDV Programmer’s Guide 45
OpenLDV API Return Codes
Table 30 describes the return codes that can be returned by the OpenLDV API
functions. These codes are defined in the LDVCode enumeration.
Table 30. OpenLDV Return Codes
Return Code
Numeric
Value Description
LDV_OK 0 The operation completed
successfully.
LDV_NOT_FOUND 1 This code is returned if you
call any of the open functions
to open a L
ONWORKS interface
device, but you do not specify
a valid device name as the id
parameter, or the device
referenced by the id
parameter cannot be found.
This code is also returned for
the ldv_locate_sicb()
function if an LdvEX packet
does not contain an SICB
message.
LDV_ALREADY_OPEN 2 This return code is obsolete.
LDV_NOT_OPEN 3 The LONWORKS interface
device is not open. This code is
returned if you use the
ldv_read() or ldv_write()
functions to read or write a
message to a network
interface device, or if you use
the ldv_close() function to
close a session with a network
interface, and the network
interface has not yet been
opened with the ldv_open()
function (or the network
interface has already been
closed).
Page view 52
1 2 ... 48 49 50 51 52 53 54 55 56 57 58 ... 193 194

Comments to this Manuals

No comments