Skip to content

Latest commit

 

History

History
80 lines (52 loc) · 2.16 KB

README.md

File metadata and controls

80 lines (52 loc) · 2.16 KB

EPCtagCoder

An extremely intuitive, small and ultra fast EPC encoding and decoding library for java.

Download binary release

EPCtagCoder v0.0.9

Features

  • Implemented in accordance with EPC Tag Data Standard 1.9
  • Easy to understand, developed with step builder pattern
  • Small library, only 160kb
  • Ultra fast, encode / decode 10.000 EPC on 200 milliseconds

Epc implementations:

  • SGTIN - Serialized Global Trade Item Number
  • SSCC - Serial Shipping Container Code
  • SGLN - Global Location Number With or Without Extension
  • GRAI - Global Returnable Asset Identifier
  • GIAI - Global Individual Asset Identifier
  • GSRN - Global Service Relation Number – Recipient
  • GSRNP - Global Service Relation Number – Provider
  • GDTI - Global Document Type Identifier
  • CPI - Component / Part Identifier
  • SGCN - Serialized Global Coupon Number

Examples

ParseSSCC parseSSCC = ParseSSCC.Builder()
		.withCompanyPrefix("023356789")
		.withExtensionDigit( SSCCExtensionDigit.EXTENSION_3 )
		.withSerial("0200002")
		.withTagSize( SSCCTagSize.BITS_96 )
		.withFilterValue( SSCCFilterValue.RESERVED_5 )
		.build();
SSCC sscc = parseSSCC.getSSCC();
System.out.println("parseSSCC  "+ sscc.toString() );




ParseSSCC parseSSCC = ParseSSCC.Builder()
		   .withRFIDTag( "31AC16465751CCD0C2000000" )
		   .build();
SSCC sscc = parseSSCC.getSSCC();
System.out.println("parseSSCC  "+ sscc.toString() );




ParseSSCC parseSSCC = ParseSSCC.Builder()
		   .withEPCTagURI( "urn:epc:tag:sscc-96:5.023356789.30200002" )
		   .build();
SSCC sscc = parseSSCC.getSSCC();
System.out.println("parseSSCC  "+ sscc.toString() );




ParseSSCC parseSSCC = ParseSSCC.Builder()
		   .withEPCPureIdentityURI( "urn:epc:id:sscc:023356789.30200002" )
		   .withTagSize( SSCCTagSize.BITS_96 )
		   .withFilterValue( SSCCFilterValue.RESERVED_5 )
		   .build();
SSCC sscc = parseSSCC.getSSCC();
System.out.println("parseSSCC  "+ sscc.toString() );

Donate

If EPCtagCoder helped you. Consider making a donation

https://www.paypal.com/donate?hosted_button_id=HC57PQV9TXCAC