Select your printer model

Parameters are refined by the selected printer.

parseNFC


Analyzes NFC tags data.

Syntax

 
- (NSArray<EposEasySelectInfo *> *) parseNFC:(NFCNDEFMessage *)message timeout:(long)timeout

Parameter

message

Specifies the NDEF message of the acquired NFC tag.

NDEF message to be analyzed

Description

Network data

For Network (uniquely defined data)

BTSSP

For Bluetooth (NFR standard)

timeout

Specifies the wait time for a NFC tag to be analyzed.

Value

Description

Integer from 0 to 60000

Wait time for analysis (in msec units)

PARSE_NFC_TIMEOUT_DEFAULT

Specifies the default value (500).

Return value

The NFC tag analysis result is stored in NSArray and returned to the member variables of the EasySelectInfo class.

When the analysis has failed, nil is returned.

Supplementary explanation

  • Import CoreNFC.framework for using this API.
  • nil or "" (blank) will be returned if information for the member variables of the EasySelectInfo class cannot be acquired from the message.
  • If nil or "" (blank) is returned to analysis data, refer to the following.
  • Status

    Cause

    Countermeasure

    nil or "" (blank) is returned to EasySelectInfo.printerName

    Printer name information is not included in the NFC tag.

    Define the printer name information in the NFC tag.

    "" (blank) is returned to EasySelectInfo.macAddres

    • Communication with the printer is terminated.
    • Timeout occurred for the MAC address response from the printer.

    Check if there is no problem in the connection and power of the printer.

 

Quick Access

  • [Name]
  • [Format]
  • [Range]
  • [Description]
  • [Notes]

Epson ePOS SDK includes patented or patent pending functions. The contents must not be disclosed to third parties.


Epson ePOS SDK for iOS

Jump to the top