Section 3 – API DLL
Remarks
If the function succeeds EC_ST_OK is returned.
If the device fails to respond, EC_ST_DEVICE_NOT_RESPONDING is returned.
If the memory allocated for pcSectionData buffer that is not big enough to store the data of the inquiry section,
EC_ST_NOT_ENOUGH_MEMORY is returned.
Error results from bad connection with device can be one of the following:
EC_ST_CONNECT_REQUEST_TIMEDOUT
EC_ST_REQUEST_TIMEDOUT
EC_ST_DEVICE_NOT_RESPONDING
EC_ST_ERR_INTERNET_CONNECT
EC_ST_ERR_HTTP_OPEN_REQUEST
EC_ST_ERR_HTTP_SEND_REQUEST
Example
#define BUFFER_LEN 4096
char pResult [BUFFER_LEN];
DWORD resultLength;
resultLength = BUFFER_LEN;
MTECSDK_QueryInfo(pcDeviceName, "DeviceCapabilities",pResult,&resultLength);
MTECSDK_SendCommand
MTECSDK_SendCommand
function is used to send a single command to the device.
Not supported.
19
Summary of Contents for EXPRESSCARD 1000
Page 6: ......