Select your printer model

Parameters are refined by the selected printer.

parseNFC


Analyzes NFC tags data.

Syntax

 
public ArrayList<EasySelectInfo>parseNFC(Tag tag, int timeout)

Parameter

tag

Specifies NFC tag data that has been read by using Android API.

timeout

Specifies a time period (in milliseconds) to wait for the NFC tag analysis to complete.

Value

Description

Integer from 0 to 60000

Timeout for the parsing process (in milliseconds).

PARSE_NFC_TIMEOUT_DEFAULT

Specifies the default value (500).

Return value

The NFC tag analysis result is returned to the member variables of the EasySelectInfo class. When the analysis has failed, null is returned.

Supplementary explanation

  • An NFC tag set to each TM printer includes the following information.
  • Type

    Description

    Slave printer (wired / wireless)

    Epson's unique data such as a product name and a serial number.

    Bluetooth compatible printer

    NFC standard data for Bluetooth (BTSSP).

  • For a slave printer, the parseNFC API starts broadcast communication and sets a MAC address of the slave printer. If no response is received from the printer until the timeout period has passed, null is returned. Make sure to enable the slave printer to communicate via the network before executing parseNFC.
 

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 Android

Jump to the top