Classes |
struct | _FECOM_EVENT_INIT |
Defines |
#define | CALLBACK |
#define | DLL_EXT_FUNC |
#define | FECOM_ADD_EVENT_HANDLER 1010 |
#define | FECOM_CALL |
#define | FECOM_CALLBACK 3 |
#define | FECOM_CLOSE_PORT 1021 |
#define | FECOM_CTS_EVENT 1 |
#define | FECOM_DCD_EVENT 2 |
#define | FECOM_DEL_EVENT_HANDLER 1011 |
#define | FECOM_DETECT_PORT 1003 |
#define | FECOM_DO_PORT_CMD 1025 |
#define | FECOM_DSR_EVENT 3 |
#define | FECOM_DTR_EVENT 5 |
#define | FECOM_ERR_CHANGE_PORT_PARA -1036 |
#define | FECOM_ERR_EMPTY_LIST -1001 |
#define | FECOM_ERR_FLUSH_INPUT_BUFFER -1034 |
#define | FECOM_ERR_FLUSH_OUTPUT_BUFFER -1035 |
#define | FECOM_ERR_HND_IS_NEGATIVE -1022 |
#define | FECOM_ERR_HND_IS_NULL -1021 |
#define | FECOM_ERR_INIT_COMM_PROCESS -1033 |
#define | FECOM_ERR_LINK_ID -1012 |
#define | FECOM_ERR_NEWPORT_FAILURE -1000 |
#define | FECOM_ERR_NO_CONNECT -1011 |
#define | FECOM_ERR_NO_HND_FOUND -1023 |
#define | FECOM_ERR_NO_MEMORY -1003 |
#define | FECOM_ERR_NO_PORT -1010 |
#define | FECOM_ERR_NO_SENDPROTOCOL -1031 |
#define | FECOM_ERR_ODD_PARAMETERSTRING -1052 |
#define | FECOM_ERR_OVL_RECBUF -1070 |
#define | FECOM_ERR_PARAMETER_OUT_OF_RANGE -1051 |
#define | FECOM_ERR_POINTER_IS_NULL -1002 |
#define | FECOM_ERR_PORT_IS_BUSY -1039 |
#define | FECOM_ERR_PORT_IS_OPEN -1013 |
#define | FECOM_ERR_PORT_NOT_FOUND -1005 |
#define | FECOM_ERR_PORTNR_OUT_OF_RANGE -1053 |
#define | FECOM_ERR_READ_PORT_PARA -1040 |
#define | FECOM_ERR_RECEIVE_NOISE_DATA -1038 |
#define | FECOM_ERR_RECEIVE_PROCESS -1032 |
#define | FECOM_ERR_TIMEOUT -1030 |
#define | FECOM_ERR_TRANSMIT_PROCESS -1037 |
#define | FECOM_ERR_UNKNOWN_ERRORCODE -1054 |
#define | FECOM_ERR_UNKNOWN_HND -1020 |
#define | FECOM_ERR_UNKNOWN_PARAMETER -1050 |
#define | FECOM_ERR_UNSUPPORTED -1006 |
#define | FECOM_ERR_UNSUPPORTED_HARDWARE -1004 |
#define | FECOM_EVENT 4 |
#define | FECOM_EXT_CALL |
#define | FECOM_GET_DLL_VERSION 1000 |
#define | FECOM_GET_ERROR_TEXT 1001 |
#define | FECOM_GET_LAST_ERROR 1002 |
#define | FECOM_GET_PORT_HND 1026 |
#define | FECOM_GET_PORT_LIST 1022 |
#define | FECOM_GET_PORT_PARA 1023 |
#define | FECOM_OPEN_PORT 1020 |
#define | FECOM_PORT_CLOSED_EVENT 20 |
#define | FECOM_PORT_REOPEN_EVENT 21 |
#define | FECOM_RECEIVE 1032 |
#define | FECOM_RTS_EVENT 4 |
#define | FECOM_SET_PORT_PARA 1024 |
#define | FECOM_THREAD_ID 1 |
#define | FECOM_TRANSCEIVE 1030 |
#define | FECOM_TRANSMIT 1031 |
#define | FECOM_WND_HWND 2 |
Typedefs |
typedef struct _FECOM_EVENT_INIT | FECOM_EVENT_INIT |
typedef int(CALLBACK * | LPFN_FECOM_ADD_EVENT_HANDLER )(int, FECOM_EVENT_INIT *) |
typedef int(CALLBACK * | LPFN_FECOM_CLOSE_PORT )(int) |
typedef int(CALLBACK * | LPFN_FECOM_DEL_EVENT_HANDLER )(int, FECOM_EVENT_INIT *) |
typedef int(CALLBACK * | LPFN_FECOM_DETECT_PORT )(int) |
typedef int(CALLBACK * | LPFN_FECOM_DO_PORT_CMD )(int, char *, char *) |
typedef void(CALLBACK * | LPFN_FECOM_GET_DLL_VERSION )(char *) |
typedef int(CALLBACK * | LPFN_FECOM_GET_ERROR_TEXT )(int, char *) |
typedef int(CALLBACK * | LPFN_FECOM_GET_LAST_ERROR )(int, int *, char *) |
typedef int(CALLBACK * | LPFN_FECOM_GET_PORT_HND )(char *) |
typedef int(CALLBACK * | LPFN_FECOM_GET_PORT_LIST )(int) |
typedef int(CALLBACK * | LPFN_FECOM_GET_PORT_PARA )(int, char *, char *) |
typedef int(CALLBACK * | LPFN_FECOM_OPEN_PORT )(char *) |
typedef int(CALLBACK * | LPFN_FECOM_RECEIVE )(int, unsigned char *, int) |
typedef int(CALLBACK * | LPFN_FECOM_SET_PORT_PARA )(int, char *, char *) |
typedef int(CALLBACK * | LPFN_FECOM_TRANSCEIVE )(int, unsigned char *, int, unsigned char *, int) |
typedef int(CALLBACK * | LPFN_FECOM_TRANSMIT )(int, unsigned char *, int) |
Functions |
int DLL_EXT_FUNC | FECOM_AddEventHandler (int iPortHnd, FECOM_EVENT_INIT *pInit) |
int DLL_EXT_FUNC | FECOM_ClosePort (int iPortHnd) |
int DLL_EXT_FUNC | FECOM_DelEventHandler (int iPortHnd, FECOM_EVENT_INIT *pInit) |
int DLL_EXT_FUNC | FECOM_DetectPort (int iPortNr) |
int DLL_EXT_FUNC | FECOM_DoPortCmd (int iPortHnd, char *cCmd, char *cValue) |
void DLL_EXT_FUNC | FECOM_GetDLLVersion (char *cVersion) |
int DLL_EXT_FUNC | FECOM_GetErrorText (int iErrorCode, char *cErrorText) |
int DLL_EXT_FUNC | FECOM_GetLastError (int iPortHnd, int *iErrorCode, char *cErrorText) |
int DLL_EXT_FUNC | FECOM_GetPortHnd (char *cPortNr) |
int DLL_EXT_FUNC | FECOM_GetPortList (int iNext) |
int DLL_EXT_FUNC | FECOM_GetPortPara (int iPortHnd, char *cPara, char *cValue) |
int DLL_EXT_FUNC | FECOM_OpenPort (char *cPortNr) |
int DLL_EXT_FUNC | FECOM_Receive (int iPortHnd, unsigned char *cRecProt, int iRecLen) |
int DLL_EXT_FUNC | FECOM_SetPortPara (int iPortHnd, char *cPara, char *cValue) |
int DLL_EXT_FUNC | FECOM_Transceive (int iPortHnd, unsigned char *cSendProt, int iSendLen, unsigned char *cRecProt, int iRecLen) |
int DLL_EXT_FUNC | FECOM_Transmit (int iPortHnd, unsigned char *cSendProt, int iSendLen) |