summaryrefslogtreecommitdiffstats
path: root/misc/uicBarcodeHeader_v2.0.0.asn
diff options
context:
space:
mode:
authorCGantert345 <57003061+CGantert345@users.noreply.github.com>2022-03-16 12:05:20 +0100
committerCGantert345 <57003061+CGantert345@users.noreply.github.com>2022-03-16 12:05:20 +0100
commit35936f47cd6353a9c602915d1688e20219cd08bb (patch)
tree4fa242b4503553f082c8505521157971a6838bcf /misc/uicBarcodeHeader_v2.0.0.asn
parentversion number update (diff)
downloadUIC-barcode-35936f47cd6353a9c602915d1688e20219cd08bb.tar
UIC-barcode-35936f47cd6353a9c602915d1688e20219cd08bb.tar.gz
UIC-barcode-35936f47cd6353a9c602915d1688e20219cd08bb.tar.bz2
UIC-barcode-35936f47cd6353a9c602915d1688e20219cd08bb.tar.lz
UIC-barcode-35936f47cd6353a9c602915d1688e20219cd08bb.tar.xz
UIC-barcode-35936f47cd6353a9c602915d1688e20219cd08bb.tar.zst
UIC-barcode-35936f47cd6353a9c602915d1688e20219cd08bb.zip
Diffstat (limited to 'misc/uicBarcodeHeader_v2.0.0.asn')
-rw-r--r--misc/uicBarcodeHeader_v2.0.0.asn20
1 files changed, 15 insertions, 5 deletions
diff --git a/misc/uicBarcodeHeader_v2.0.0.asn b/misc/uicBarcodeHeader_v2.0.0.asn
index e7363b0..55915d0 100644
--- a/misc/uicBarcodeHeader_v2.0.0.asn
+++ b/misc/uicBarcodeHeader_v2.0.0.asn
@@ -112,11 +112,21 @@ ASN-Module DEFINITIONS AUTOMATIC TAGS ::= BEGIN
}
DataType ::= SEQUENCE {
- -- Content of data format:
- -- FCBn (FCB1 = FCB version 1, FCB2 = FCB version 2)
- -- FDCn dynamic content
- -- or proprietary:
- -- _RICS company code + addon
+
+ -- The value of 'dataFormat' describes how 'data' is encoded:
+ -- "FCBn" means that 'data' is the Canonical Unaligned PER encoding
+ -- of an ASN.1 element of type UicRailTicketData in major version n.
+ -- "FDCn" means that 'data' is the Canonical Unaligned PER encoding
+ -- of an ASN.1 element of type UicDynamicContentData in major version n.
+ -- "+" + [2-letters ISO 3166 country code] + [addon, chosen by the standardization body of that country]
+ -- means that 'data' is a content defined by the national standardization body,
+ -- identified as 'addon' by this body.
+ -- "_" + [4-digit RICS] + [addon, chosen by this company] means that 'data' is a proprietary
+ -- content of the company identified by the RICS code, identified as 'addon' by this company.
+ -- "*" + [addon] means that 'data' is a content specific to this barcode,
+ -- with no further information on who defined it, identified as 'addon' by its issuer.
+ -- Others values are reserved for future UIC use and shall not be used.
+
dataFormat IA5String,
data OCTET STRING
}