Encode EPC (UHF RFID)
encode_epcEncode SGTIN-96, SSCC-96, or GIAI-96 EPCs for UHF RFID tags, returning EPC hex, tag URI, and 96-bit binary from a GS1 company prefix, reference, and optional serial.
Instructions
Encode an SGTIN-96, SSCC-96 or GIAI-96 EPC for UHF RFID tags from a GS1 company prefix, reference and (for SGTIN) serial. Returns the EPC hex, EPC tag URI and 96-bit binary. This computes the value to write to a tag; it does not program a physical tag.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Filter value 0-7 (default 1 for SGTIN, 0 otherwise) | |
| scheme | Yes | EPC scheme | |
| serial | No | SGTIN only: numeric serial (0 to 274877906943) | |
| reference | Yes | SGTIN: item reference incl. indicator digit; SSCC: serial reference incl. extension digit; GIAI: individual asset reference | |
| companyPrefix | Yes | GS1 company prefix, 6-12 digits |