![]() |
RFID API Documentation
1.0
Reference guide for RFID API
|
Functions | |
| RFID_STATUS WINAPI | RFID_RegisterEventNotification (RFID_HANDLE32 readerHandle, RFID_EVENT_TYPE eventType, EVENT_HANDLE notifyObject) |
| This function is used to enable notification of single Reader event type. More... | |
| RFID_STATUS WINAPI | RFID_SetEventNotificationParams (RFID_HANDLE32 readerHandle, RFID_EVENT_TYPE eventType, STRUCT_HANDLE pEventParams) |
| This function is used to set event notification parameters of single Reader event type. More... | |
| RFID_STATUS WINAPI | RFID_DeregisterEventNotification (RFID_HANDLE32 readerHandle, RFID_EVENT_TYPE eventType) |
| This function is used to disable notification of single Reader event type. More... | |
| RFID_STATUS WINAPI | RFID_RegisterEventNotificationCallback (RFID_HANDLE32 readerHandle, RFID_EVENT_TYPE *pEvents, UINT32 numEvents, RfidEventCallbackFunction pFnRfidEventCallbackFunction, LPVOID rsvd1, LPVOID rsvd2) |
| This function is used to enable notification of a group of events. More... | |
| RFID_STATUS WINAPI | RFID_GetEventData (RFID_HANDLE32 readerHandle, RFID_EVENT_TYPE eventType, STRUCT_HANDLE pEventData) |
| This function returns the event-data corresponding to a signaled event. More... | |
| RFID_STATUS WINAPI RFID_RegisterEventNotification | ( | RFID_HANDLE32 | readerHandle, |
| RFID_EVENT_TYPE | eventType, | ||
| EVENT_HANDLE | notifyObject | ||
| ) |
This function is used to enable notification of single Reader event type.
This function has to be called for each event type.
| [in] | readerHandle | Handle to the RFID device. |
| [in] | eventType | An event of type RFID_EVENT_TYPE whose notification is requested. |
| [in] | notifyObject | Handle to WIN32 Event corresponding to the registered event. |
| RFID_STATUS WINAPI RFID_SetEventNotificationParams | ( | RFID_HANDLE32 | readerHandle, |
| RFID_EVENT_TYPE | eventType, | ||
| STRUCT_HANDLE | pEventParams | ||
| ) |
This function is used to set event notification parameters of single Reader event type.
This function has to be called for each event type wherever applicable.
| [in] | readerHandle | Handle to the RFID device. |
| [in] | eventType | An event of type RFID_EVENT_TYPE whose notification is requested. |
| [in] | pEventParams | Pointer to Event-Parameters which can be of type:
|
DEBUG_INFO_EVENT - This event is triggered when the Reader reports the debug Notifications
| RFID_STATUS WINAPI RFID_DeregisterEventNotification | ( | RFID_HANDLE32 | readerHandle, |
| RFID_EVENT_TYPE | eventType | ||
| ) |
This function is used to disable notification of single Reader event type.
This function has to be called for each event type.
| [in] | readerHandle | Handle to the RFID device. |
| [in] | eventType | An event of type RFID_EVENT_TYPE whose notification is requested. |
| RFID_STATUS WINAPI RFID_RegisterEventNotificationCallback | ( | RFID_HANDLE32 | readerHandle, |
| RFID_EVENT_TYPE * | pEvents, | ||
| UINT32 | numEvents, | ||
| RfidEventCallbackFunction | pFnRfidEventCallbackFunction, | ||
| LPVOID | rsvd1, | ||
| LPVOID | rsvd2 | ||
| ) |
This function is used to enable notification of a group of events.
Callback mechanism of event handling and win32-event based event handlings are mutually exclusive. Hence application shall stick to one mechanism and not attempt a combination of the two event handling mechanisms.
| [in] | readerHandle | Handle to the RFID device. |
| [in] | pEvents | array of RFID_EVENT_TYPE that needs to be registered. |
| [in] | numEvents | Number of events being provided in pEvents. |
| [in] | pFnRfidEventCallbackFunction | Function pointer which receives Event notifications. |
| [in] | rsvd1 | Reserved for futire use |
| [in] | rsvd2 | Reserved for futire use |
| RFID_STATUS WINAPI RFID_GetEventData | ( | RFID_HANDLE32 | readerHandle, |
| RFID_EVENT_TYPE | eventType, | ||
| STRUCT_HANDLE | pEventData | ||
| ) |
This function returns the event-data corresponding to a signaled event.
| [in] | readerHandle | Handle to the RFID device. |
| [in] | eventType | The Event-type for which the Data is to be fetched |
| [out] | pEventData | Pointer to Event-Data which can be of type:
|