MXIO_GetDevsInfo_ActiveTag

 

This function is used to get IP and MAC address of ioLogik devices that link to AOPC server.

 

C/C++

int MXIO_GetDevsInfo_ActiveTag( WORD wDeviceCount, char szDeviceInfo[]);

 

VISUAL BASIC

Declare Function MXIO_GetDevsInfo_ActiveTag Lib "MXIO.dll" (ByVal wDeviceCount As Integer, szDeviceInfo As Byte) As Long

 

Arguments:

wDeviceCount

Total amount of ioLogik devices connected to AOPC Server. (get from MXIO_ListDevs_ActiveTag API)

szDeviceInfo

Each ioLogik device status request 10 Bytes

Device Address:

IP Address

4 bytes, start from array [0]

MAC Address

6 Bytes, start from array [4]

 

Return Values:

Succeed

MXIO_OK

Fail

Refer to Return Codes.