COMMON_ACTION

Role

Allow the host to perform common actions.

Warning

Not all hardware support this command. For devices without such capability, this instruction will generate an error.

Access condition

Depending on the configuration-defined access conditions and on the type of host interface (Local / Remote), this instruction may either be freely usable or restricted to authenticated communications.

Command

Field Value
CLA 58 (CONTROL)
INS 89
Interface code See table below
Action See table below

Response

Field Length Description / remark
STA 1 byte STAtus

List of available actions

Interface Interface Code Action Description / remark
BLE 00 00 BLE Unbond
READ_PN5180_CONFIG_NVM 01 00 Read the configuration of the PN510 stored in the NVM (INTERNAL USE ONLY)
WRITE_PN5180_CONFIG_NVM 01 01 Write the configuration of the PN510 in the NVM (INTERNAL USE ONLY)
ERASE_PN5180_CONFIG_NVM 01 01 Erase the configuration of the PN510 in the NVM (INTERNAL USE ONLY)

Format of the PN5180 Config stored in the NVM (INTERNAL USE ONLY)

Bytes Detail Content
Header 0-9 0-1 Type (0xC051)
2-5 Id (month-day-hour-min)
6-9 Total Length
EEPROM 10-236 10-11 Length of EEPROM data
12-236 Data (225 bytes)
RF Config 237-1873 237-238 Length of RF Config Data
239-1873 Data (TLVs, registers on DWORD)