11.08.2015 Views

GS1 EPC Tag Data Standard 1.6 - Indicod-Ecr

GS1 EPC Tag Data Standard 1.6 - Indicod-Ecr

GS1 EPC Tag Data Standard 1.6 - Indicod-Ecr

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736Input: The input to the decoding method is the bit string identified in the “bit position”row of the coding table.Validity Test: The input must be such that the decoding procedure below does not fail.Output: Construct the output string as follows. Convert the input bit string to a decimal numeral without leading zeros whose value isthe value of the input considered as an unsigned binary integer. If the numeral from the previous step does not begin with a “1” character, stop: theinput is invalid. If the numeral from the previous step consists only of one character, stop: the input isinvalid (because this would correspond to an empty numeric string). Delete the leading “1” character from the numeral. The resulting string is the output.14.4.7 “6-Bit CAGE/DoDAAC” Decoding MethodThe 6-Bit CAGE/DoDAAC decoding method is used for a segment that appears as a 5-character CAGE code or 6-character DoDAAC code in the URI, and as a 36-bit encodedbit string in the binary encoding.Input: The input to the decoding method is the bit string identified in the “bit position”row of the coding table. This length of this bit string is always 36 bits.Validity Test: The input bit string must satisfy the following: When the bit string is considered as consisting of six 6-bit segments, each 6-bitsegment must have a value corresponding to a character specified in Table 48(Appendix G), except that the first 6-bit segment may also be the value 100000. The first 6-bit segment must be the value 100000, or correspond to a digit character,or an uppercase alphabetic character excluding the letters I and O. The remaining five 6-bit segments must correspond to a digit character or anuppercase alphabetic character excluding the letters I and O.If any of the above tests fails, the decoding of the segment fails.Output: Disregard the first 6-bit segment if it is equal to 100000. Translate each of theremaining five or six 6-bit segments into a single character by looking up the 6-bitsegment in Table 48 (Appendix G) and using the value found in the “URI Form” column.Concatenate the characters in the order corresponding to the input bit string. Theresulting character string is the output. This character string matches theCAGECodeOrDODAAC production of the grammar in Section 6.3.9.14.4.8 “6-Bit Variable String” Decoding MethodThe 6-Bit Variable String decoding method is used for a segment that appears in the URIas a variable-length string field, and in the binary encoding as a variable-length nullterminatedbinary-encoded character string.Copyright ©2005- 2011 <strong>GS1</strong> AISBL, All Rights Reserved. Page 94 of 218

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!