NFC Error Codes

NOTE

This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.

3100101

Error Message

NFC state is abnormal in service.

Description

The NFC service fails to enable or disable NFC.

Possible Causes

  1. Communication with the NFC service failed.
  2. The NFC chip communication is abnormal.

Solution

  1. Enable or disable NFC again.
  2. Enable or disable NFC again or restart the device, and try again.

3100201

Error Message

Tag running state is abnormal in service.

Description

An error occurs when the NFC service executes the tag service logic.

Possible Causes

  1. The tag parameters do not match the API to invoke.
  2. The NFC is disabled.
  3. The tag is disconnected before the tag operation.
  4. The tag chip returns an error status or response timeout.
  5. Binding with the NFC service has not been established.

Solution

  1. Check whether the NFC parameters match the API to invoke.
  2. Enable NFC for the device.
  3. Connect to the tag and then perform the read and write operations.
  4. Touch and read the card again.
  5. Exit the app and read the card again.

3200101

Error Message

Connected NFC tag running state is abnormal in service.

Description

An error occurs when the service logic of the active NFC tag is executed.

Possible Causes

  1. The parameter values of the active NFC tag does not match the API called.
  2. The active NFC tag chip does not respond within the specified time or returns an error state.

Solution

  1. Check that the active NFC tag parameters match the API called.
  2. Touch and read the card again.