Enum List

ReaderMode

Currently selected device type

Constant Name

Value

Description

ReaderModeUnknown

-1

When the mode is unknown

ReaderModeBarcode

0

Barcode reading mode

ReaderModeRfid

1

RFID reading mode

ReaderModeNfc

2

NFC reading mode

ReaderModeDualBarcodeRfid

3

Dual mode using both barcode and RFID

ReaderModeLf

4

LF (Low Frequency) tag reading mode

ReaderModeDualBarcodeNfc

5

Dual mode using both barcode and NFC


SupportType

Scan data types supported by the current device

Macro Name

Corresponding ReaderMode

Description

SupportTypeBarcode

ReaderModeBarcode

Models supporting barcode reading

SupportTypeRFID

ReaderModeRfid

Models supporting UHF band RFID reading

SupportTypeNFC

ReaderModeNfc

Models supporting NFC tag reading

SupportTypeDual

ReaderModeDualBarcodeRfid

Models supporting both barcode and RFID

SupportTypeRFIDLF

ReaderModeLf

Models supporting LF band RFID (Low Frequency)


ReceiveDataType

Current read device type

Macro Name

Corresponding ReaderMode

Description

ReceiveDataTypeBarcode

ReaderModeBarcode

Data type returned when reading barcode

ReceiveDataTypeRFID

ReaderModeRfid

Data type returned when reading UHF RFID

ReceiveDataTypeNFC

ReaderModeNfc

Data type returned when reading NFC tags

ReceiveDataTypeRFIDLF

ReaderModeDualBarcodeRfid

Data type treated as LF band RFID data (※ note on definition)


ConnectionType

Current connection type

Value

Description

ConnectionTypeUSB

Physical connection via USB (Lightning or USB-C)

ConnectionTypeBLE

Wireless connection via Bluetooth Low Energy (BLE)


SaveType

Current save method

Value

Description

SaveType_Permanet

Saved persistently (settings retained even when power is off)

SaveType_Temporary

Saved temporarily (settings lost when powered off or reset)


CODEId

Enumeration for setting Code ID (barcode type identifier) added to the scanned barcode data. When a barcode is scanned, the specified Code ID character is added before the barcode data and transferred. This setting mainly applies to ASR-M24D.

Name

Content

CODEID_NONE

Do not add Code ID

CODEID_AIM

Add AIM standard Code ID (e.g. “]C”)

CODEID_SYMBOL

Add Symbol Technologies standard Code ID (e.g. “C”)

Notes

⚠️ This enum is used together with the setCodeID:isBeepOn: method. Supported models: ASR-M24D only.


OCRType

Enumeration specifying the character set used in OCR reading. Mainly used in the setOCRType:isBeepOn: method.

Name

Content

OCR_TYPENONE

Do not use OCR function

OCR_TYPEA

Use OCR Type A character set

OCR_TYPEB

Use OCR Type B character set

OCR_TYPEAB

Use both Type A and Type B character sets

Notes

⚠️ This enum is used in features supported only by ASR-M24D.


SDK4StatusCode

Status codes for NFC operations

Constant Name

Value

Description

SDK4_STS_OK

0x00

Completed successfully.

SDK4_STS_TIME_OVR

0x02

Communication with tag did not complete within the specified time.

SDK4_STS_ERR

0x07

Command execution failed.

SDK4_STS_ERR_WRITE

0x09

Partial failure writing to tag.

SDK4_STS_PROTECT_OPERATE

0x0A

Protection circuit activated.

SDK4_STS_DATANUM_ERR

0x41

Incorrect data count.

SDK4_STS_SUM_ERR

0x42

Invalid checksum.

SDK4_STS_CMD_ERR

0x44

Invalid command or parameter.

SDK4_STS_ADRS_ERR

0x49

Device at specified address not found.

SDK4_STS_RDM_BLOCKS_ERR

0x4C

Number of read blocks exceeds maximum.

SDK4_STS_NO_UID

0x4D

UID does not exist.

SDK4_STS_UID_POS_ERR

0x4E

Invalid UID start position.

SDK4_STS_UID_NUM_ERR

0x4F

Invalid UID count.

SDK4_STS_SYSTEM_ERR

0xF1

Internal system error occurred.

AsReader025SBarcodeType

Barcode type

Constant Name

Value

Description

AsReader025SBarcodeTypeNoRead

0x00

Barcode type parsing error.

AsReader025SBarcodeTypeCode39

0x01

Code39

AsReader025SBarcodeTypeCode11

0x0C

Code11

AsReader025SBarcodeTypeCodabar

0x02

Codabar

AsReader025SBarcodeTypeEAN13

0x0B

EAN13

AsReader025SBarcodeTypeCode128

0x03

Code128

AsReader025SBarcodeTypeEAN13With2Supps

0x4B

EAN13With2Supps

AsReader025SBarcodeTypeIndustrial2Of5

0x04

Industrial2Of5

AsReader025SBarcodeTypeEAN13With5Supps

0x8B

EAN13With5Supps

AsReader025SBarcodeTypeIATA2Of5

0x05

IATA2Of5

AsReader025SBarcodeTypeMSI

0x0E

MSI

AsReader025SBarcodeTypeInterleaved2Of5

0x06

Interleaved2Of5

AsReader025SBarcodeTypeEAN128

0x0F

EAN128

AsReader025SBarcodeTypeCode93

0x07

Code93

AsReader025SBarcodeTypeUPCE1

0x10

UPCE1

AsReader025SBarcodeTypeUPCA

0x08

UPCA

AsReader025SBarcodeTypeUPCE1With2Supps

0x50

UPCE1With2Supps

AsReader025SBarcodeTypeUPCAWith2Supps

0x48

UPCAWith2Supps

AsReader025SBarcodeTypeUPCAWith5Supps

0x88

UPCAWith5Supps

AsReader025SBarcodeTypeUPCE1With5Supps

0x90

UPCE1With5Supps

AsReader025SBarcodeTypeTriopticCode39

0x15

TriopticCode39

AsReader025SBarcodeTypeUPCE0

0x09

UPCE0

AsReader025SBarcodeTypeBooklandEAN

0x16

BooklandEAN

AsReader025SBarcodeTypeUPCE0With2Supps

0x49

UPCE0With2Supps

AsReader025SBarcodeTypeCouponCode

0x17

CouponCode

AsReader025SBarcodeTypeUPCE0With5Supps

0x89

UPCE0With5Supps

AsReader025SBarcodeTypeGS1DataBarLimitedRSSLimited

0x31

GS1DataBarLimitedRSSLimited

AsReader025SBarcodeTypeEAN8

0x0A

EAN8

AsReader025SBarcodeTypeGS1DataBarRSS14

0x30

GS1DataBarRSS14

AsReader025SBarcodeTypeEAN8With2Supps

0x4A

EAN8With2Supps

AsReader025SBarcodeTypeGS1DataBarExpandedRSSExpanded

0x32

GS1DataBarExpandedRSSExpanded

AsReader025SBarcodeTypeEAN8With5Supps

0x8A

EAN8With5Supps

AsReader025SBarcodeTypeMatrix2Of5

0x0D

Matrix2Of5

AsReader025SBarcodeTypeChinaPostChinese2Of5

0x72

ChinaPostChinese2Of5

AsReader025SBarcodeTypeCode32

0x20

Code32

AsReader025SBarcodeTypeUKPlessey

0x13

UKPlessey

AsReader025SBarcodeTypeISBT128

0x19

ISBT128

AsReader025SBarcodeTypePDF417

0x11

PDF417

AsReader025SBarcodeTypeAztec

0x2D

Aztec

AsReader025SBarcodeTypeMicroPDF417

0x1A

MicroPDF417

AsReader025SBarcodeTypeQR

0x1C

QR

AsReader025SBarcodeTypeDataMatrix

0x1B

DataMatrix

AsReader025SBarcodeTypeMicroQR

0x2C

MicroQR

AsReader025SBarcodeTypeHanXinCode

0xFF

HanXinCode

AsReader025SBarcodeTypeMaxicode

0x25

Maxicode

AsReader025SBarcodeTypeITF14

0xc0

ITF14

AsReader025SBarcodeTypeITF6

0xc1

ITF6

AsReader025SBarcodeTypeAIM128

0xc2

AIM128

AsReader025SBarcodeTypeISSN

0xc3

ISSN

AsReader025SBarcodeTypeISBN

0xc4

ISBN

AsReader025SBarcodeTypeGS1Databar

0xc5

GS1Databar

Notes

⚠️ This enum is used in features supported only by ASR-025S.