AsReaderInfo

Properties

Property Name

Type

Description

deviceName

NSString

Device name.

deviceFirmware

NSString

Device firmware version.

deviceHardware

NSString

Device hardware information.

deviceID

NSString

Device ID.

deviceManufacturer

NSString

Device manufacturer.

deviceModelNumber

NSString

Device model number.

deviceSerialNumber

NSString

Device serial number.

deviceProtocol

NSString

Device communication protocol.

currentSelectDevice

int

Currently selected device number.

isPowerOn

BOOL

Device power supply status.

currentReaderMode

ReaderMode

Type of currently selected reader.

receiveDataType

ReceiveDataType

Data type for received data.

isShowPrintNSLog

BOOL

Whether to output logs. YES: output, NO: do not output.

isBeep

BOOL

Beep sound on/off. YES: on, NO: off.

isVibration

BOOL

Vibration on/off. YES: on, NO: off.

isLED

BOOL

LED on/off. YES: on, NO: off.

isIllumination

BOOL

Illumination on/off. YES: on, NO: off.

isSymbologyPrefix

BOOL

Whether to add tag prefix character.

isTriggerModeDefault

BOOL

Default trigger mode status.

isReadRSSIMode

BOOL

Whether RSSI output is enabled. YES: enabled, NO: disabled.

rfidpower

float

RFID output value.

rfidPowerMax

float

Maximum RFID output value.

rfidPowerMin

float

Minimum RFID output value.

rfidOnTime

int

RFID on time.

rfidOffTime

int

RFID off time.

rfidChannel

int

RFID channel number.

count

int

Tag read count.

scanTime

int

Scan time.

cycle

int

Scan cycle.

carrierSenseTime

int

Carrier sense time.

targetRFPowerLevel

int

RF energy level.

rfidListenBeforeTalk

int

LBT (Listen Before Talk) setting.

rfidFrequencyHopping

int

RFID frequency hopping setting.

rfidContinuousWave

int

RFID continuous scan setting.

isSmartHopping

BOOL

Smart frequency hopping enabled status.

rfidModuleVersion

NSString

RFID module version.

bundleIdentifier

NSString

Application bundle ID.

supportMode

ReaderMode

Supported reader types.

isEnginePowerAlwaysOn

BOOL

Engine power control specification. YES: No need to manually call setReaderPower (ASR-M24D, ASR-M30S).
NO: Need to manually call setReaderPower.

initialConnectionCheckEnabled

BOOL

Controls whether the connection status check is performed at app startup.
YES (default): The connection status check (plugged) is executed at app startup.
NO: The connection status check at app startup is not executed.

sharedInstance

Creates and initializes an AsReaderInfo object (singleton pattern).
Call this to use a common instance throughout the application.

+ (instancetype)sharedInstance;

Return Value

Type

Description

instancetype

Instance of AsReaderInfo class

Sample Code

AsReaderInfo *info = [AsReaderInfo sharedInstance];

isSupportType

Checks whether the current device supports the specified module type.

- (BOOL)isSupportType:(ReaderMode)supportType;

Parameters

Name

Type

Description

supportType

ReaderMode

Module type (see details in ReaderMode)

Return Value

Type

Description

BOOL

YES: supported, NO: not supported

Sample Code

BOOL status = [asReaderInfo isSupportType:ReaderModeBarcode];
if (status) {
    // Supported
} else {
    // Not supported
}

getSupportTypeArray

Gets an array of module types supported by the current device.

- (NSArray *)getSupportTypeArray;

Return Value

Type

Description

NSArray

Array of supported module types (see ReaderMode)

Sample Code

NSArray *supportTypeArray = [asReaderInfo getSupportTypeArray];