UNPKG

epc-tds-ts

Version:

EPC Tag Data Standard encoding and decoding library, written in javascript for Node.js

41 lines 1.49 kB
export class Epc extends BitArray { static EPC_HEADER_OFFSET: number; static EPC_HEADER_END: number; static FILTER_OFFSET: number; static FILTER_END: number; static FILTER_MAX_VALUE: number; clone(): void; getType(): void; toTagURI(): void; toIdURI(): void; toBarcode(): void; getTotalBits(): void; getHeader(): void; /** * The filter value is additional control information that may be included in * the EPC memory bank of a Gen 2 tag. The intended use of the filter value is * to allow an RFID reader to select or deselect the tags corresponding to * certain physical objects, to make it easier to read the desired tags in an * environment where there may be other tags present in the environment * @return */ getFilter(): number; /** * 0.- All Others (see Section 10.1). * 1.- Point of Sale (POS) Trade Item . * 2.- Full Case for Transport. * 3.- Reserved (see Section 10.1). * 4.- Inner Pack Trade Item Grouping for Handling. * 5.- Reserved (see Section 10.1). * 6.- Unit Load. * 7.- Unit inside Trade Item or component inside a * product not intended for individual sale. * @param value */ setFilter(value: any): Epc; getSegment(segment: any): number; setSegment(value: any, segment: any): void; getSegmentString(segment: any): string; } import { BitArray } from "./utils/bit-array"; //# sourceMappingURL=epc.d.ts.map