Getconnectedicd - Epson S5U1C17000Y23 System Manual

Cmos 16-bit single chip microcontroller, multi-programmer ver. 3.0
Table of Contents

Advertisement

A.2.8 GetConnectedICD
• Function
Returns the lists of the serial numbers and the corresponding ID numbers of the ICDminis connected to the PC.
When NULL is specified to the IcdSerialNumberList, this function returns the necessary number of buffers.
Control is not returned until this function succeeds or fails.
• Format
long GetConnectedICD ( short* IcdSerialNumberList, long* IcdSerialNumberBufferCount,
• Arguments
When the function is called with IcdSerialNumberList set to NULL
short* IcdSerialNumberList:
long* IcdSerialNumberBufferCount: Returns the number of buffers for the serial number list that must be
long* IDNumber:
long* IDNumberBufferCount:
char* FlsComment:
long* FlsCommentBufferCount:
char* UserComment:
long* UserCommentBufferCount:
long* TakenCount:
long* ConnecttedCount:
When the function is called with IcdSerialNumberList set to other than NULL
short* IcdSerialNumberList:
long* IcdSerialNumberBufferCount: Number of buffers for the serial number list.
long* IDNumber:
long* IDNumberBufferCount:
char* FlsComment:
long* FlsCommentBufferCount:
char* UserComment:
long* UserCommentBufferCount:
long* TakenCount:
long* ConnecttedCount:
S5U1C17001Y23 Multi-Programmer
System Manual (Rev. 1.1)
Appendix A
long* IDNumber, long* IDNumerBufferCount, char* FlsComment,
long* FlsCommentBufferCount, char* UserComment,
long* UserCommentBufferCount, long* TakenCount, long* ConnectedCount );
NULL
allocated by the caller.
Ignored
Returns the number of buffers for the ID number list that must be
allocated by the caller.
Ignored
Returns the number of buffers for FLS program comments that must
be allocated by the caller.
Ignored
Returns the number of buffers for the user program comments that
must be allocated by the caller.
Returns the maximum number of serial numbers that can be acquired.
Returns the number of ICDminis currently connected via USB.
Buffer address for the serial number list.
The serial numbers are stored separated by a delimiter 0x0000
(Unicode).
Buffer address for the ID number list.
The ID numbers are stored in IDNumber corresponding to the serial
number list. If an ID number cannot be acquired, -1 is stored in the
buffer for that ICDmini.
Number of buffers for the ID number list.
Buffer address for FLS program comments.
Number of buffers for FLS program comments.
Buffer address for the user program comments. Comments are stored
in UserComment separated by a delimiter 0x00. However, if the
retrieved data is terminated with 0x00, DLL does not add 0x00.
Number of buffers for the user program comments.
Returns the number of the serial numbers that have been stored in the
buffer.
Returns the number of ICDminis currently connected via USB.
Seiko Epson Corporation
Gang Writer Dynamic Link Library
33

Advertisement

Table of Contents
loading

Table of Contents