1 deviceman api introduction – IEI Integration HDC-3x-Series_SDK_Windows User Manual

Page 34

Advertising
background image

HDC-3x Series SDK (Windows)

Page 34

3.2.1 DeviceMan API Introduction

There are one enum, one structure and two functions in DeviceMan.dll. The source codes

are listed below for reference.

typedef

struct

_CardList_T

{

// Card category.

int

iCategory;

// UI No, usually is the slot No.

int

iUINo;

// Bus No.

int

iBusNo;

// Device number.

int

iDeviceNum;

// Transmitter number.

int

iTransmitterNum;

// Device No of each device.

int

iDeviceNo[4];

// Device information of each device.

char

cDeviceInfo[4 * MAX_BUFFER_SIZE];

// Transmitter information of each device.

char

cTransmitterInfo[4 * MAX_BUFFER_SIZE];

} CardList_T;

and the MAX_BUFFER_SIZE is 512.

enum

{

DEVICE_MAN_RESULT_SUCCESS = 0,

DEVICE_MAN_RESULT_NULL_ADDRESS,

// ASCII to Unicode failed.

DEVICE_MAN_RESULT_ATOU_FAILED,

Advertising