Skip to content

davejbur/epctagcoder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EPCtagCoder

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

Download binary release

EPCtagCoder v0.0.6

Features

  • Implemented in accordance with EPC Tag Data Standard 1.9
  • Easy to understand, developed with step builder pattern
  • Small library, only 50kb
  • 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() );

About

Java library for RFID EPC encode / decode

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%