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.
- Parameters:
-
| [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:
- debugMask (byte array) for DEBUG_INFO_EVENT
|
- Returns:
- If the function succeeds the return value is RFID_API_SUCCESS. If the function fails the return value is one of the following:
- RFID_API_INVALID_HANDLE Invalid handle is provided
- RFID_API_PARAM_ERROR Invalid parameter given
- RFID_CONFIG_SET_FAILED Failed to register the event for notification
DEBUG_INFO_EVENT - This event is triggered when the Reader reports the debug Notifications
- See also:
- RFID_DeregisterEventNotification, RFID_GetEventData