Skip to main content

Enumerations

All enumerations used across the RIK API. Select a language tab to see the enum definition and member names for that language.


ProtocolType

Communication protocol for reader connections.

Namespace: RikCommon | Underlying type: uint8_t

ValueHexDescription
PROTOCOL_TYPE_INVALID0x00Invalid / unset
PROTOCOL_TYPE_FEATURE_REPORT0x01USB HID Feature Report
PROTOCOL_TYPE_SERIAL_BINARY0x03Serial binary protocol
PROTOCOL_TYPE_UNKNOWN0xFFUnknown protocol
note

Most USB-connected rf IDEAS readers use FeatureReport. Use SerialBinary only for RS-232 serial connections.


BeepDuration

Beep duration options for the reader beeper.

Namespace: RikProtocol | Underlying type: uint8_t

ValueIntDescription
BEEP_DURATION_SHORT0Short beep (~100ms)
BEEP_DURATION_LONG1Long beep (~500ms)

BeepVolume

Volume levels for the reader beeper.

Namespace: RikProtocol | Underlying type: uint8_t

ValueIntDescription
BEEP_VOLUME_OFF0Beeper disabled
BEEP_VOLUME_LOW1Low volume
BEEP_VOLUME_MEDIUM2Medium volume
BEEP_VOLUME_HIGH3High volume
BEEP_VOLUME_UNKNOWN255Unknown / unread

LedColor

LED color states.

Namespace: Rik | Underlying type: unsigned char

ValueIntDescription
Invalid0Invalid state
Off1LED off
Red2Red
Green3Green
Amber4Amber
Unknown0xFFUnknown state

ReaderModuleId

Identifies a hardware module within a reader.

Namespace: RikProtocol | Underlying type: uint8_t

ValueHexDescription
Invalid0x00Invalid
LowFrequencyRadio0x01125 kHz radio module
HighFrequencyRadio0x0213.56 MHz radio module
BleRadio0x03Bluetooth Low Energy radio

ReaderModuleState

Power state of a reader module.

Namespace: RikProtocol | Underlying type: uint32_t

ValueHexDescription
Invalid0x00Invalid state
PowerOff0x80Module powered off
PowerOnNormal0x81Module powered on, normal operation

BleDataType

Type of BLE data payload.

Namespace: RikCommon | Underlying type: uint8_t

ValueIntDescription
Data1Standard data
Key2Encrypted key
UnencryptedKey3Unencrypted key

CheckpointType

Configuration checkpoint types for save/restore operations.

note

This enum is available in C++ only. It is not exposed through the C# or Python facades.

Namespace: Rik | Underlying type: unsigned char

ValueIntDescription
Undefined0Undefined
FactoryDefaults1Factory default settings
UserSettings2User-saved settings

ReaderCapability

Capabilities that a reader may support.

note

This enum is available in C++ only. It is not exposed through the C# or Python facades.

Namespace: Rik | Underlying type: uint16_t

ValueIntDescription
READER_CAPABILITY_UNKNOWN0Unknown capability
READER_CAPABILITY_BEEPER1Audible beeper
READER_CAPABILITY_TRANSPARENT_MODE2Transparent / pass-through card communication
READER_CAPABILITY_SMART_CARD3Smart card support
READER_CAPABILITY_BLUETOOTH4Bluetooth connectivity
READER_CAPABILITY_HID_MOBILE5HID Mobile Access
READER_CAPABILITY_FINGERPRINT6Fingerprint biometric
READER_CAPABILITY_HID_SE7HID Secure Element
READER_CAPABILITY_NXP_SE8NXP Secure Element
READER_CAPABILITY_FELICA9FeliCa card support
READER_CAPABILITY_LEGIC10LEGIC card support
READER_CAPABILITY_QUEUED_CARD_DATA11Queued card data support
READER_CAPABILITY_EXTENDED_CONFIGURATION12Extended configuration support
READER_CAPABILITY_CARD_ANALYZER13Card analyzer support
READER_CAPABILITY_MIFARE_WRITER14MIFARE write support
READER_CAPABILITY_MODULE_CONTROL15Module power control
READER_CAPABILITY_FIRMWARE_UPGRADE16Firmware upgrade support
READER_CAPABILITY_COPY_CONFIGURATION17Copy configuration between slots
READER_CAPABILITY_BAUD_RATE18Configurable baud rate
READER_CAPABILITY_LUID19Logical Unit ID support
READER_CAPABILITY_LED_CONFIGURATION20LED configuration support
READER_CAPABILITY_CONFIGURATION_BLOCK_521Configuration block 5 support
READER_CAPABILITY_SYSTEM_UPTIME22System uptime reporting
READER_CAPABILITY_KEYSTROKING23Keystroking output mode
READER_CAPABILITY_CONFIGURABLE24Reader is configurable

QueuedIdFlagParameters

Flags for clearing queued ID state.

note

This enum is available in C++ and C# only. It is not exposed through the Python facade.

Namespace: RikProtocol | Underlying type: uint8_t

ValueIntDescription
ClearNone0Clear nothing
ClearEvents1Clear queued events
ClearLockouts2Clear lockouts

ProductLineType

Product line identification for rf IDEAS readers.

note

This enum is available in C++ only. It is not exposed through the C# or Python facades.

Namespace: Rik | Underlying type: unsigned char

ValueIntDescription
ProductUnknown0Unknown product
ProductLineLoon1Loon product line
ProductLineWren2Wren product line
ProductLineIbis3Ibis product line
ProductLineFinch4Finch product line
ProductLineKiwi5Kiwi product line
ProductLineEagle6Eagle product line
ProductNotApplicable0xFFNot applicable

Serial Port Enumerations

All serial port enums are in namespace RikCommon (C++) / rfIDEAS.ReaderIntegrationKit.Enum (C#) / reader_integration_kit.enum (Python).

SerialPortBaudRate

Underlying type: uint32_t

ValueBaud Rate
SERIAL_PORT_BAUD_96009600
SERIAL_PORT_BAUD_1440014400
SERIAL_PORT_BAUD_1920019200
SERIAL_PORT_BAUD_3240032400
SERIAL_PORT_BAUD_5760057600
SERIAL_PORT_BAUD_115200115200
SERIAL_PORT_BAUD_230400230400
SERIAL_PORT_BAUD_576000576000
SERIAL_PORT_BAUD_921600921600

SerialPortParity

Underlying type: uint8_t

ValueIntDescription
None0No parity
Odd1Odd parity
Even2Even parity
Mark3Mark parity
Space4Space parity

SerialPortDataBits

Underlying type: uint8_t

ValueIntDescription
Five15 data bits
Six26 data bits
Seven37 data bits
Eight48 data bits

SerialPortStopBits

Underlying type: uint8_t

ValueIntDescription
None0No stop bits
One11 stop bit
Two22 stop bits
OnePointFive31.5 stop bits

SerialPortFlowControl

Underlying type: uint8_t

ValueIntDescription
None0No flow control
XonXoff1Software (XON/XOFF)
RtsCts2Hardware (RTS/CTS)
XonXoffRtsCts3XON/XOFF + RTS/CTS
DtrDsr4Hardware (DTR/DSR)
XonXoffDtrDsr5XON/XOFF + DTR/DSR

See Also