@openrfid/tags
v1.0.0
Published
Virtual Tag domain model, runtime metric tracker, batch generator and CSV/JSON serializers.
Readme
@openrfid/tags
RFID Tag Domain Models, Bulk Tag Pool Generator & Memory Bank Inspector
🚀 Overview
@openrfid/tags provides domain models and bulk generation algorithms for RFID tags in OpenRFID Simulator. It supports generating bulk tag pools via Sequential Hex, Random Hex, or GS1 SGTIN-96 Barcodes, complete with memory bank inspection (Reserved, EPC, TID, User) and RSSI signal calibration.
Developed & Maintained by RFID Software India Private Limited.
📦 Installation
# npm
npm install @openrfid/tags
# pnpm
pnpm add @openrfid/tags💻 Code Example
1. Generate Bulk Tag Pool
import { TagGenerator } from '@openrfid/tags';
// Generate 500 SGTIN-96 GS1 Barcode RFID tags
const tagPool = TagGenerator.generatePool({
count: 500,
format: 'sgtin-96',
companyPrefix: '0614141',
itemReference: '00002',
startSerial: 1000
});
console.log(`Generated ${tagPool.length} tags.`);
console.log('Sample Tag EPC:', tagPool[0].epc);2. Inspect Tag Memory Banks
import { TagModel } from '@openrfid/tags';
const tag = new TagModel({
epc: 'E28011700000020C3C9101AB',
tid: 'E2801105200070123456789A',
userMemory: '0000000000000000'
});
console.log('Tag EPC:', tag.getEpc());
console.log('Tag TID:', tag.getTid());🌐 Monorepo Ecosystem
| Package | Description |
| :--- | :--- |
| @openrfid/epc | Bit-level EPC Gen2 memory bank encoders/decoders |
| @openrfid/gs1 | GS1 SGTIN-96, GRAI-96, GIAI-96 encoders |
| @openrfid/simulator | High-throughput inventory simulation engine |
📄 License & Corporate Support
Licensed under the MIT License.
Brought to you by RFID Software India Private Limited.
For enterprise RFID middleware, hardware drivers, or custom protocol plugins, visit rfidsoftwares.com.
