Click or drag to resize

Reader Methods

The Reader type exposes the following members.

Methods
  NameDescription
Public methodAddNewRecordT
Adds a new record to the table.
Public methodConnectAsync
Establishes a connection to the device.
Public methodControlBuzzer
Controls the buzzer to make sound.
Public methodControlLed
Controls the LED blinking pattern.
Public methodControlOutputState
Controls the output pin state.
Public methodDeleteRecords
Deletes all records stored in the table.
Public methodDisconnectAsync
Disconnects the device.
Public methodDisconnectIosBleAsync
Disconnects the device. Use this API on iOS platform because BLE peripherals might not be disconnected even after a successful disconnect call on iOS devices.
Public methodEcho
Function to test connection status. The device will reply with the data sent.
Public methodGetAntiPassbackTime
Get the Anti-Passback Time. Reader is not allowed to read the same User Card for access control during Anti-Passback Time.
Public methodGetDatabaseInformation
Get the information of the database, include number of tables and store capacity.
Public methodGetDateTime
Reads device system time.
Public methodGetDeductionValue
Gets the deduction value.
Public methodGetDelayToOperateCard
Gets the time interval of deduction when pay mode is ByTime.
Public methodGetDeviceAddress
Get Device Address
Public methodGetDeviceName
Gets the name of the device.
Public methodGetDeviceUID
Gets the device UID.
Public methodGetDstEnabled
Gets whether Daylight Saving Time is enabled.
Public methodGetEndDstRule
Gets the Daylight Saving Time ending rules.
Public methodGetFirmwareInformation
Returns the firmware information running on device.
Public methodGetFunctionID
Gets the 1-byte settings profile identifier. If two devices have the Function ID, it means they have identical settings.
Public methodGetLedAdvanceModeSignals
Gets the color of LED in advanced operation mode.
Public methodGetLedBasicModeSignals
Gets the color of LED in basic operation mode.
Public methodGetLedOperationMode
Gets the operation mode of LED.
Public methodGetManagerCardKey
Get the manager card key.
Public methodGetMasterCardKey
Get the master card key.
Public methodGetMultiSettings
Reads the multi-settings.
Public methodGetOverdraft
Gets the overdraft enable state. Enabling overdraft allows the balance to become negative when greater than 0. No deduction will be performed if the card balance is less than or equal to zero
Public methodGetPayMode
Gets the pay mode. When the By Count pay mode is used, it means that the reader will enter the halt state after reading the card deduction. The card must be removed and put on the reader before deduction can be made. When the By Time pay mode is used, it means that after the first deduction, it will deduction periodically if the card is kept on the reader, The period time is equal to the Period of Opening Relay parameter setting.
Public methodGetPeriodOfOpeningRelay
Gets the time that reader relay will remain activated after a successful deduction, in unit of second.
Public methodGetRecordCount(TableNumber)
Get the number of records stored in the table.
Public methodGetRecordCountT
Get the number of records stored in the table.
Public methodGetRecordsT
Get all stored records of the table.
Public methodGetStartDstRule
Gets the Daylight Saving Time starting rules.
Public methodGetSystemCode
Gets the 4-byte system code. The system code is used to allow Reader to identify whether the card and the reader itself belong to the same application system.
Public methodInitialize
Initializes the device settings to their default values.
Public methodInitializeSettings
Initializes the settings to their default value but do not include SCBK and Login Password.
Public methodLogIn
Authenticates the host and opens the programming session.
Public methodLogOut
Logs out the host (ends the programming session).
Protected methodOnPropertyChanged
Called when property changed.
(Inherited from AC908ViewModel.)
Public methodReboot
Reboots the device.
Public methodRecoverRecords
Recovers the deleted records.
Public methodSetAntiPassbackTime
Set the Anti-Passback Time. Reader is not allowed to read the same User Card for access control during Anti-Passback Time.
Public methodSetBaseKey
Sets the security base key (SCBK) saved in AC908.
Public methodSetDateTime
Updates device system time.
Public methodSetDeductionValue
Set Deduction Value
Public methodSetDelayToOperateCard
Sets the time interval of deduction when pay mode is ByTime.
Public methodSetDeviceAddress
Sets the device address.
Public methodSetDeviceName
Sets the name of the device.
Public methodSetDstEnabled
Sets whether Daylight Saving Time is enabled.
Public methodSetEndDstRule
Sets the Daylight Saving Time ending rules.
Public methodSetFunctionID
Sets the 1-byte settings profile identifier. If two devices have the Function ID, it means they have identical settings.
Public methodSetLedAdvanceModeSignals
Sets the advance mode signals of LED when LED operation mode is set to advance mode.
Public methodSetLedBasicModeSignals
Sets the color of LED in basic operation mode.
Public methodSetLedOperationMode
Sets the operation mode of LED.
Public methodSetLoginPassword
Sets the login password for higher access level.
Public methodSetManagerCardKey
Set the manager card key.
Public methodSetMasterCardKey
Set the master card key.
Public methodSetMultiSettings
Change device current settings.
Public methodSetOverdraft
Sets the overdraft enable state. Enabling overdraft allows the balance to become negative when greater than 0.
Public methodSetPayMode
Sets the pay mode. When the By Count pay mode is used, it means that the reader will enter the halt state after reading the card deduction. The card must be removed and put on the reader before deduction can be made. When the By Time pay mode is used, it means that after the first deduction, it will deduction periodically if the card is kept on the reader, The period time is equal to the Period of Opening Relay parameter setting.
Public methodSetPeriodOfOpeningRelay
Sets the time that reader relay will remain activated after a successful deduction, in unit of second.
Public methodSetStartDstRule
Sets the Daylight Saving Time starting rules.
Public methodSetSystemCode
Sets the 4-byte system code. The system code is used to allow Reader to identify whether the card and the reader itself belong to the same application system.
Public methodStartMessage
Gets the communication protocol information.
Public methodStartSecureConnection
Starts secure connection.
Public methodStopSecureConnection
Stops secure connection.
Public methodUpdateSettings
Save current settings into non-volatile EEPROM.
Top
See Also