^RA — Read or Write AFI
Plain English
Reads or writes the Application Family Identifier (AFI) byte on an RFID tag. AFI categorises what the tag is used for (retail, transport, healthcare, etc.).
When to use
When your application needs to set the AFI to identify the tag's purpose — common in library and retail EAS systems.
Syntax
^RAo,f
Parameters
| Parameter | Description |
|---|---|
o | Operation: W (write), R (read) |
f | Format: H (hex), A (ASCII) |
Example
^XA ^RAW,H^FD07^FS ^XZ
Set AFI to 07 (retail trade)