This interface contains HardwareControl functionality that can be used to get, among others, the last card (using the LastUser property) that was presented to the reader and determine if this card is still in the proximity field of the reader (IsCarrierInField).
Using this object, it is also possible to: get and set the LEDs of the reader, determine the current state of the tamper switch (IsTampered) and to get and set the current status of the IO contacts (IOContacts).
Some other functionality allows the setting the Buzzer and the Relay.
Public Member Functions | |
HRESULT | Reader ([out, retval] IProximityReader **ppintfReader) |
Returns the reader this hardware control object belongs to. | |
HRESULT | EmulatePresentingID ([in] IUser *User) |
This function emulates the presenting of an ID-carrier in the proximity field of the reader. | |
HRESULT | EmulateRPGKeys ([in] BSTR KeyCodes) |
This function emulates the pressing and releasing of keys on an Remote Programmer that is in the proximity of the reader. | |
HRESULT | TransmitIDs ([in] IUser *User,[in] short NumberOfTimes,[in, defaultvalue(0)] VARIANT_BOOL fAsync) |
Forces the RF/ID interface to transmit an ID one or more times. | |
HRESULT | SetRFIDInterfaceMode ([in] ERFIDMode ERFIDMode,[in, defaultvalue(0)] short Type) |
Sets the mode for the RF/ID interface. | |
HRESULT | LastUser ([out, retval] IUser **ppintfUser) |
Returns the last user that was detected by the RF/ID interface. | |
HRESULT | IsCarrierInField ([out, retval] VARIANT_BOOL *pfCarrierInField) |
Returns true if a card/carrier is currently in the proximity field of the reader. | |
HRESULT | IsTampered ([out, retval] VARIANT_BOOL *pfTampered) |
Returns the current state of the tamper switch. | |
HRESULT | IOContacts ([out, retval] EIOContacts *peIOContacts) |
Returns the current input status of the I/O contacts (or-ed). | |
HRESULT | IOContacts ([in] EIOContacts IOContacts) |
Set the current output status of the I/O contacts (or-ed). | |
HRESULT | LEDs ([out, retval] ELEDState *peLEDState) |
Return the current LED status (which LED's are on). | |
HRESULT | LEDs ([in] ELEDState LEDState) |
Set the new settings for the LED's. | |
HRESULT | Relay ([in] VARIANT_BOOL Activate) |
Activate or de-activate the relay. | |
HRESULT | Buzzer ([in] EBuzzerState eNewState) |
Sets the new sound effect. | |
HRESULT | TransmitCompleted ([out, retval] VARIANT_BOOL *pfCompleted) |
Returns true if the transmission of an ID was completed. |
|
Returns the reader this hardware control object belongs to.
|
|
This function emulates the presenting of an ID-carrier in the proximity field of the reader. Result of emulating an ID depends on the authorization level and protection settings that have been established prior to starting this operation. For example emulating the presenting of an installer programmer at user level with the 'protect' option (= 10*1* option) active will not succeed into switching to program mode.
|
|
This function emulates the pressing and releasing of keys on an Remote Programmer that is in the proximity of the reader. Normally this operation is used for emulating over an RS-485 network the programming of the reader in program mode with a Remote Programmer (refer to Remote Programmer manual for more information about the program mode)· The Remote Programmer key press emulation function can only be used when the reader is forced in program mode by means of a Remote Programmer or using function EmulatePresentingID to emulate the presenting of a Remote programmer. Normally every emulation key code string must end with the 0Ah key code for the 'enter' key, just as with every program mode command typed on a real Remote Programmer. The result of the program mode options that are executed using this emulation operation depends on the authorization level that has been established prior to starting this operation and the setting of the 'protect' option. (10*1* option) For example: emulating the 20* option (= installer level only option) at user level will generate an error.
|
|
Forces the RF/ID interface to transmit an ID one or more times. Can be used to transmit an ID. Another reader within the proximity field of this reader, will receive the ID. This method might be used to copy users from one reader into another.
|
|
Sets the mode for the RF/ID interface. This method can be used to disable or enable the RFID interface mode. Internally used in the IProximityReader::EnableRFID property.
|
|
Returns the last user that was detected by the RF/ID interface. This property will return a user object with data of the last detected user. This property will first try to search the detected ID in the userdatabase, if it finds a user with matching ID, that user object is returned. If it doesn't find a user, a new user object will be made that contains the cardnumber, facilitycode and cardtype of the detected card (note that the user level is unknown!). The IsCarrierInField can be used to determine if the detected card is still within the proximity field of the reader.
|
|
Returns true if a card/carrier is currently in the proximity field of the reader. The ID of the card that is currently in the proximity field, can be retrieved using the LastUser property.
|
|
Returns the current state of the tamper switch. If the tamper switch is uncovered, this property will return true, covered: false.
|
|
Returns the current input status of the I/O contacts (or-ed). Only the I/O contacts that are set up as INPUT contacts can be retrieved using this property. By default only IO1 and IO2 are configured as INPUT contacts.
|
|
Set the current output status of the I/O contacts (or-ed). Only the I/O contacts that are set up as OUTPUT contacts can be influenced by this property. By default only IO3 and IO4 are configured as OUTPUT contacts.
|
|
Return the current LED status (which LED's are on).
|
|
Set the new settings for the LED's.
|
|
Activate or de-activate the relay.
|
|
Sets the new sound effect.
|
|
Returns true if the transmission of an ID was completed.
|