jlcout / epctagcoder

Java library for RFID EPC encode / decode
https://jlcout.github.io/epctagcoder
Apache License 2.0
51 stars 31 forks source link
cpi epc gdti giai grai gs1 gsrn gsrnp identifier java parse rfid rfid-reader rfid-scanning rfid-tags rfid-tracking sgcn sgln sgtin sscc

EPCtagCoder

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

Download binary release

EPCtagCoder v0.0.9

Features

Epc implementations:

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