Specifications

Table Of Contents
SDK software development | VI-88R development handbook
failure reason.
3.2.3.2 Get IP address in reader
apiReturn _stdcall GetReaderNetwork(HANDLE hScanner, BYTE
*IP_Address, int *Port, BYTE *Mask, BYTE *Gateway,int Address) ;
apiReturn _stdcall Net_GetReaderNetwork(SOCKET hSocket, BYTE
*IP_Address, int *Port, BYTE *Mask, BYTE *Gateway);
Funtion: to get network IP addess of reader.
Input parameter:
hSacnner/hSocket: reader communication port handle
output parameter:
IP_Address[4]: IP address of reader
Port: network port number of reader
Mask[4]: network IP address mask of reader
Gateway[4]: gateway of reader
Address: RS485 networking address of readerAddress =0 no networking.
return: if function return value is OK, it means set success, otherwise failure
reason.
3.2.3.3 Set reader MAC address
apiReturn _stdcall SetReaderMAC(HANDLE hScanner, BYTE MAC[6],int
090909RevA|Page 84 of 97