![]() |
RFID API Documentation
1.0
Reference guide for RFID API
|
Functions | |
| RFID_STATUS WINAPI | RFID_ConnectW (RFID_HANDLE32 *pReaderHandle, WCHAR *pHostName, UINT32 port, UINT32 timeoutMilliseconds, LPCONNECTION_INFO lpConnectionInfo) |
| This function establishes an LLRP connection to an RFID reader and returns a handle on successful connection. More... | |
| RFID_STATUS WINAPI | RFID_ConnectA (RFID_HANDLE32 *pReaderHandle, CHAR *pHostName, UINT32 port, UINT32 timeoutMilliseconds, LPCONNECTION_INFO lpConnectionInfo) |
| RFID_STATUS WINAPI | RFID_Reconnect (RFID_HANDLE32 readerHandle) |
| This function reconnects to the reader if a previous connection had been lost. More... | |
| RFID_STATUS WINAPI | RFID_AcceptConnection (RFID_HANDLE32 *pReaderHandle, SOCKET_HANDLE readerSocket, LPSERVER_INFO lpServerInfo, LPVOID rsvd) |
| This function accepts an LLRP connection from an RFID reader running in server mode and returns a handle. More... | |
| RFID_STATUS WINAPI RFID_ConnectW | ( | RFID_HANDLE32 * | pReaderHandle, |
| WCHAR * | pHostName, | ||
| UINT32 | port, | ||
| UINT32 | timeoutMilliseconds, | ||
| LPCONNECTION_INFO | lpConnectionInfo | ||
| ) |
This function establishes an LLRP connection to an RFID reader and returns a handle on successful connection.
| [in] | pReaderHandle | Pointer to Handle to the RFID device. |
| [in] | pHostName | String containing the reader's host name. Can be NULL for device-based readers like MC, where the Dll connects to local-host. |
| [in] | port | Port number, if specified as zero (0), the default port 5084 will be used. |
| [in] | timeoutMilliseconds | Time out for the response from the Reader, if specified zero(0), the default time out 5000 (5sec) will be used. The lowest possible value could be 2sec. This value also translates to keep-alive timeout. If the connection to the reader was inactive (no keep-alive message from the Reader) for a time greater than 10 times the timeout, DISCONNECTION_EVENT will be triggered to the application, if the application has registered for the same. |
| [in] | lpConnectionInfo | Information regarding the connection with the reader. |
| RFID_STATUS WINAPI RFID_ConnectA | ( | RFID_HANDLE32 * | pReaderHandle, |
| CHAR * | pHostName, | ||
| UINT32 | port, | ||
| UINT32 | timeoutMilliseconds, | ||
| LPCONNECTION_INFO | lpConnectionInfo | ||
| ) |
| RFID_STATUS WINAPI RFID_Reconnect | ( | RFID_HANDLE32 | readerHandle | ) |
This function reconnects to the reader if a previous connection had been lost.
| [in] | readerHandle | Handle to the RFID device. |
| RFID_STATUS WINAPI RFID_AcceptConnection | ( | RFID_HANDLE32 * | pReaderHandle, |
| SOCKET_HANDLE | readerSocket, | ||
| LPSERVER_INFO | lpServerInfo, | ||
| LPVOID | rsvd | ||
| ) |
This function accepts an LLRP connection from an RFID reader running in server mode and returns a handle.
| [out] | pReaderHandle | Pointer to Handle to the RFID device. |
| [in] | readerSocket | Socket Handle to the reader initiated connection |
| [in] | lpServerInfo | Pointer to ServerInfo parameters(timeout and version info) |
| [in] | rsvd | Reserved for future use |