Tag Data Translation implemented according to the GS1 EPC Tag Data Translation 1.6 specification (http://www.gs1.org/epc/tag-data-translation-standard) for RAIN RFID.
This is a Java port of the C# TagDataTranslation project
- Spring Boot Application
- Java 8
- Maven
This project leverages the Spring framework. To invoke a translation, simply autowire the GS1EpcTagDataTranslationEngine and TDTUtil components
```java @Autowired private GS1EpcTagDataTranslationEngine engine; @Autowired private TDTUtil util; ```
invoke the translate method and convert to hex
```java String epcIdentifier = "gtin=00037000302414;serial=10419703"; String parameterList = "filter=3;gs1companyprefixlength=7;tagLength=96"; String result = engine.translate(epcIdentifier, parameterList, "BINARY"); String hex = util.binaryToHex(result); ```