Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

jlcout/epctagcoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

75 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.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

Sponsor this project

Packages

No packages published

Contributors 3

Languages

AltStyle によって変換されたページ (->オリジナル) /