-17
The following table lists all DLL FUNCTION and FUNCTION parameter. For more information, Please see FUNCTION Introduction.
Comport operation functions
SUNLITRFID_CFExist(TCHAR *CFName)
SUNLITRFID_Open(HWND hWnd,LPCWSTR PortName,
DWORD BaudRate,SUNLITRFID_ENVIRONMENT *Environment)
SUNLITRFID_OpenII(HWND hWnd,LPCWSTR PortName,
DWORD BaudRate,HANDLE *haEvent,SUNLITRFID_TAGID *ActiveTagID)
SUNLITRFID_IsOpen(void)
SUNLITRFID_Close(void)
Device operation functions
SUNLITRFID_Echo(void)
SUNLITRFID_SoftwareReset(void)
SUNLITRFID_HardwareReset(void)
〈
Depend on device
〉
SUNLITRFID_Pause(void)
SUNLITRFID_OpModeSet(BYTE Data)
SUNLITRFID_OpModeGet(BYTE *Data)
SUNLITRFID_ActiveScanIntervalSet(BYTE Data)
SUNLITRFID_ActiveScanIntervalGet(BYTE *Data)
SUNLITRFID_ScanTag(SUNLITRFID_TAGID *TagID)
Device information functions
SUNLITRFID_ProductNameGet(SUNLITRFID_PRODUCT_NAME *ProductName)
SUNLITRFID_ModelNameGet(SUNLITRFID_MODEL_NAME *ModelName)
SUNLITRFID_HardwareVersionGet(SUNLITRFID_HARDWARE_VER *HardwareVer)
SUNLITRFID_FirmwareVersionGet(SUNLITRFID_FIRMWARE_VER *FirmwareVer)
Currently, there are only 3 different EVENTS in Sunlit RFID DLL
:
Environment.haEvent[ENVIRONMENT_EVENT_ACTIVE_READ_TAG]
Environment.haEvent[ENVIRONMENT_EVENT_COMPORT_ERROR]
Environment.haEvent[ENVIRONMENT_EVENT_PORT_CLOSE]
For more information, Please see EVENTS Introduction.