AccessoryConfig Class

Reader may have accessories like Barcode reader, imager, beeper, vibrator etc.

Definition

Namespace: NurApiDotNet
Assembly: NordicID.NurApi.Net (in NordicID.NurApi.Net.dll) Version: 4.0.0
C#
public class AccessoryConfig
Inheritance
Object    AccessoryConfig

Constructors

AccessoryConfigInitializes a new instance of the AccessoryConfig class

Methods

deserializeConfigurationReply Deserializes the accessory extension's configuration reply.
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetAllowPairingState Get state of 'Allow pairing' flag.
getDeviceType Get device name "EXA21", "EXA51" or "EXA31"
GetHashCode
(Inherited from Object)
GetHidBarCode Get whether the HID-bit is set in the flag set.
GetHidMode Get current HID mode
GetHidRFID Get whether the RFID HID-bit is set in the flag set.
GetHidUsbState Get state of 'HID-USB' flag
GetType
(Inherited from Object)
hasImagerScanner Get whether the accessory has 1D/2D imager present.
hasVibrator Get whether the accessory has built-in vibrator.
hasWirelessCharging Get whether the accessory has wireless charging device.
isDeviceEXA21 Get whether the device is configured as EXA21 reader.
isDeviceEXA31 Get whether the device is configured as EXA31 reader.
isDeviceEXA51 Get whether the device is configured as EXA51 reader.
MemberwiseClone
(Inherited from Object)
SetAllowPairingState Set the 'Allow pairing' state.
SetHidBarcode Set the HID flag in the barcode scan.
SetHidMode Set HID mode flags
SetHidRFID Set the RFID HID-flag in the barcode scan.
SetHidUsbState Set the 'HID-USB' state.
ToString
(Inherited from Object)

Fields

config Device configuration flags. Currently NUR_ACC_CFG_ACD or NUR_ACC_CFG_WEARABLE
flags Device operation flags. Currently used to enable HID modes. NUR_ACC_FL_HID_BARCODE and/or NUR_ACC_FL_HID_RFID
hid_barcode_timeout HID mode barcode scanner read timeout in milliseconds
hid_rfid_maxtags HID mode RFID read max tags. When max tags reached, reading will stop
hid_rfid_timeout HID mode RFID read timeout in milliseconds
name Name read from the accessory / reader.
signature Signature of config struct. Use value read (NurAccGetConfig) from device.

See Also