blob: 4df5994936a5d4e50ec5fec0a6dcda5dccb5274f [file] [log] [blame]
Lev Walkin3f12bc02005-03-10 15:09:02 +00001
2GENERAL INFORMATION
3===================
4
5The GSM TAP3 (Transferred Account Procedure, Version 3) decoder.
6Invoking `make` will compile the ASN.1 specifications from the
7../tap3.asn1 file.
8
9THERE IS NO tap3.asn1 FILE THERE YET!
10
11OBTAINING THE TAP3 SPECIFICATION
12================================
13
14To obtain the TAP3 ASN.1 specification, you should go to
15 http://www.gsmworld.com/using/billing/tap3_legal.html
16and agree with their licensing terms by clicking the "I ACCEPT" button.
17
18A .ZIP file with several Microsoft Word .DOC files will download shortly.
19
20You should extract the TAP-0311 ASN.1 module from one of these .DOC files
21and save it as the ../tap3.asn1 file. The ../tap3.asn1 file should start with
22the following line
23 "TAP-0311 DEFINITIONS IMPLICIT TAGS ::="
24and end with the "END" token.
25Be careful not to copy any non-ASN.1 preambles from that .DOC file.
26
27After obtaining the tap3.asn1, type `make` in the directory containing
28this README file.
29
30tap3dump USAGE
31==============
32
33The tap3dump utility may be used to dump the contents of the BER-encoded
34TAP3 data record file:
35
36 ./tap3dump -x tapfile.der # Print as XML (BASIC-XER)
37
38If necessary, a straightforward modification of the
39 ../../skeletons/asn-decoder-template.c
40will allow you to build a converter from the XML (XER) TAP3 format
41back into binary (BER).
42
43The full list of recognized command line options may be obtained with
44
45 > ./tap3dump -h
46 Usage: ./tap3dump [options] <data.ber> ...
47 Where options are:
48 -b <size> Set the i/o buffer size (default is 8192)
49 -c Check ASN.1 constraints after decoding
50 -d Enable debugging (-dd is even better)
51 -n <num> Process files <num> times
52 -s <size> Set the stack usage limit
53 -p Print out the decoded contents
54 -x Print out as XML
55