Classes | Defines | Typedefs | Functions
fecom.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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(CALLBACKLPFN_FECOM_ADD_EVENT_HANDLER )(int, FECOM_EVENT_INIT *)
typedef int(CALLBACKLPFN_FECOM_CLOSE_PORT )(int)
typedef int(CALLBACKLPFN_FECOM_DEL_EVENT_HANDLER )(int, FECOM_EVENT_INIT *)
typedef int(CALLBACKLPFN_FECOM_DETECT_PORT )(int)
typedef int(CALLBACKLPFN_FECOM_DO_PORT_CMD )(int, char *, char *)
typedef void(CALLBACKLPFN_FECOM_GET_DLL_VERSION )(char *)
typedef int(CALLBACKLPFN_FECOM_GET_ERROR_TEXT )(int, char *)
typedef int(CALLBACKLPFN_FECOM_GET_LAST_ERROR )(int, int *, char *)
typedef int(CALLBACKLPFN_FECOM_GET_PORT_HND )(char *)
typedef int(CALLBACKLPFN_FECOM_GET_PORT_LIST )(int)
typedef int(CALLBACKLPFN_FECOM_GET_PORT_PARA )(int, char *, char *)
typedef int(CALLBACKLPFN_FECOM_OPEN_PORT )(char *)
typedef int(CALLBACKLPFN_FECOM_RECEIVE )(int, unsigned char *, int)
typedef int(CALLBACKLPFN_FECOM_SET_PORT_PARA )(int, char *, char *)
typedef int(CALLBACKLPFN_FECOM_TRANSCEIVE )(int, unsigned char *, int, unsigned char *, int)
typedef int(CALLBACKLPFN_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)

Define Documentation

#define CALLBACK

Definition at line 50 of file fecom.h.

#define DLL_EXT_FUNC

Definition at line 49 of file fecom.h.

#define FECOM_ADD_EVENT_HANDLER   1010

Definition at line 131 of file fecom.h.

#define FECOM_CALL

Definition at line 52 of file fecom.h.

#define FECOM_CALLBACK   3

Definition at line 155 of file fecom.h.

#define FECOM_CLOSE_PORT   1021

Definition at line 136 of file fecom.h.

#define FECOM_CTS_EVENT   1

Definition at line 159 of file fecom.h.

#define FECOM_DCD_EVENT   2

Definition at line 160 of file fecom.h.

#define FECOM_DEL_EVENT_HANDLER   1011

Definition at line 132 of file fecom.h.

#define FECOM_DETECT_PORT   1003

Definition at line 128 of file fecom.h.

#define FECOM_DO_PORT_CMD   1025

Definition at line 140 of file fecom.h.

#define FECOM_DSR_EVENT   3

Definition at line 161 of file fecom.h.

#define FECOM_DTR_EVENT   5

Definition at line 163 of file fecom.h.

#define FECOM_ERR_CHANGE_PORT_PARA   -1036

Definition at line 104 of file fecom.h.

#define FECOM_ERR_EMPTY_LIST   -1001

Definition at line 78 of file fecom.h.

#define FECOM_ERR_FLUSH_INPUT_BUFFER   -1034

Definition at line 102 of file fecom.h.

#define FECOM_ERR_FLUSH_OUTPUT_BUFFER   -1035

Definition at line 103 of file fecom.h.

#define FECOM_ERR_HND_IS_NEGATIVE   -1022

Definition at line 94 of file fecom.h.

#define FECOM_ERR_HND_IS_NULL   -1021

Definition at line 93 of file fecom.h.

#define FECOM_ERR_INIT_COMM_PROCESS   -1033

Definition at line 101 of file fecom.h.

#define FECOM_ERR_LINK_ID   -1012

Definition at line 88 of file fecom.h.

#define FECOM_ERR_NEWPORT_FAILURE   -1000

Definition at line 77 of file fecom.h.

#define FECOM_ERR_NO_CONNECT   -1011

Definition at line 87 of file fecom.h.

#define FECOM_ERR_NO_HND_FOUND   -1023

Definition at line 95 of file fecom.h.

#define FECOM_ERR_NO_MEMORY   -1003

Definition at line 80 of file fecom.h.

#define FECOM_ERR_NO_PORT   -1010

Definition at line 86 of file fecom.h.

#define FECOM_ERR_NO_SENDPROTOCOL   -1031

Definition at line 99 of file fecom.h.

#define FECOM_ERR_ODD_PARAMETERSTRING   -1052

Definition at line 113 of file fecom.h.

#define FECOM_ERR_OVL_RECBUF   -1070

Definition at line 118 of file fecom.h.

Definition at line 112 of file fecom.h.

#define FECOM_ERR_POINTER_IS_NULL   -1002

Definition at line 79 of file fecom.h.

#define FECOM_ERR_PORT_IS_BUSY   -1039

Definition at line 107 of file fecom.h.

#define FECOM_ERR_PORT_IS_OPEN   -1013

Definition at line 89 of file fecom.h.

#define FECOM_ERR_PORT_NOT_FOUND   -1005

Definition at line 82 of file fecom.h.

#define FECOM_ERR_PORTNR_OUT_OF_RANGE   -1053

Definition at line 114 of file fecom.h.

#define FECOM_ERR_READ_PORT_PARA   -1040

Definition at line 108 of file fecom.h.

#define FECOM_ERR_RECEIVE_NOISE_DATA   -1038

Definition at line 106 of file fecom.h.

#define FECOM_ERR_RECEIVE_PROCESS   -1032

Definition at line 100 of file fecom.h.

#define FECOM_ERR_TIMEOUT   -1030

Definition at line 98 of file fecom.h.

#define FECOM_ERR_TRANSMIT_PROCESS   -1037

Definition at line 105 of file fecom.h.

#define FECOM_ERR_UNKNOWN_ERRORCODE   -1054

Definition at line 115 of file fecom.h.

#define FECOM_ERR_UNKNOWN_HND   -1020

Definition at line 92 of file fecom.h.

#define FECOM_ERR_UNKNOWN_PARAMETER   -1050

Definition at line 111 of file fecom.h.

#define FECOM_ERR_UNSUPPORTED   -1006

Definition at line 83 of file fecom.h.

#define FECOM_ERR_UNSUPPORTED_HARDWARE   -1004

Definition at line 81 of file fecom.h.

#define FECOM_EVENT   4

Definition at line 156 of file fecom.h.

#define FECOM_EXT_CALL

Definition at line 51 of file fecom.h.

#define FECOM_GET_DLL_VERSION   1000

Definition at line 125 of file fecom.h.

#define FECOM_GET_ERROR_TEXT   1001

Definition at line 126 of file fecom.h.

#define FECOM_GET_LAST_ERROR   1002

Definition at line 127 of file fecom.h.

#define FECOM_GET_PORT_HND   1026

Definition at line 141 of file fecom.h.

#define FECOM_GET_PORT_LIST   1022

Definition at line 137 of file fecom.h.

#define FECOM_GET_PORT_PARA   1023

Definition at line 138 of file fecom.h.

#define FECOM_OPEN_PORT   1020

Definition at line 135 of file fecom.h.

#define FECOM_PORT_CLOSED_EVENT   20

Definition at line 165 of file fecom.h.

#define FECOM_PORT_REOPEN_EVENT   21

Definition at line 166 of file fecom.h.

#define FECOM_RECEIVE   1032

Definition at line 146 of file fecom.h.

#define FECOM_RTS_EVENT   4

Definition at line 162 of file fecom.h.

#define FECOM_SET_PORT_PARA   1024

Definition at line 139 of file fecom.h.

#define FECOM_THREAD_ID   1

Definition at line 153 of file fecom.h.

#define FECOM_TRANSCEIVE   1030

Definition at line 144 of file fecom.h.

#define FECOM_TRANSMIT   1031

Definition at line 145 of file fecom.h.

#define FECOM_WND_HWND   2

Definition at line 154 of file fecom.h.


Typedef Documentation

Definition at line 245 of file fecom.h.

typedef int(CALLBACK* LPFN_FECOM_CLOSE_PORT)(int)

Definition at line 250 of file fecom.h.

Definition at line 246 of file fecom.h.

typedef int(CALLBACK* LPFN_FECOM_DETECT_PORT)(int)

Definition at line 242 of file fecom.h.

typedef int(CALLBACK* LPFN_FECOM_DO_PORT_CMD)(int, char *, char *)

Definition at line 254 of file fecom.h.

typedef void(CALLBACK* LPFN_FECOM_GET_DLL_VERSION)(char *)

Definition at line 239 of file fecom.h.

typedef int(CALLBACK* LPFN_FECOM_GET_ERROR_TEXT)(int, char *)

Definition at line 240 of file fecom.h.

typedef int(CALLBACK* LPFN_FECOM_GET_LAST_ERROR)(int, int *, char *)

Definition at line 241 of file fecom.h.

typedef int(CALLBACK* LPFN_FECOM_GET_PORT_HND)(char *)

Definition at line 255 of file fecom.h.

typedef int(CALLBACK* LPFN_FECOM_GET_PORT_LIST)(int)

Definition at line 251 of file fecom.h.

typedef int(CALLBACK* LPFN_FECOM_GET_PORT_PARA)(int, char *, char *)

Definition at line 252 of file fecom.h.

typedef int(CALLBACK* LPFN_FECOM_OPEN_PORT)(char *)

Definition at line 249 of file fecom.h.

typedef int(CALLBACK* LPFN_FECOM_RECEIVE)(int, unsigned char *, int)

Definition at line 260 of file fecom.h.

typedef int(CALLBACK* LPFN_FECOM_SET_PORT_PARA)(int, char *, char *)

Definition at line 253 of file fecom.h.

typedef int(CALLBACK* LPFN_FECOM_TRANSCEIVE)(int, unsigned char *, int, unsigned char *, int)

Definition at line 258 of file fecom.h.

typedef int(CALLBACK* LPFN_FECOM_TRANSMIT)(int, unsigned char *, int)

Definition at line 259 of file fecom.h.


Function Documentation

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 
)


maggie_rfid_drivers
Author(s): Raul Perula-Martinez
autogenerated on Mon Sep 14 2015 03:05:31