\doxysection{gsm\+\_\+04\+\_\+80.\+h}
\label{gsm__04__80_8h_source}\index{include/osmocom/gsm/protocol/gsm\_04\_80.h@{include/osmocom/gsm/protocol/gsm\_04\_80.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{4 \textcolor{preprocessor}{\#pragma once}}
\DoxyCodeLine{5 }
\DoxyCodeLine{6 \textcolor{comment}{/* Section 3.4 */}}
\DoxyCodeLine{7 \textcolor{preprocessor}{\#define GSM0480\_MTYPE\_RELEASE\_COMPLETE  0x2A}}
\DoxyCodeLine{8 \textcolor{preprocessor}{\#define GSM0480\_MTYPE\_FACILITY                  0x3A}}
\DoxyCodeLine{9 \textcolor{preprocessor}{\#define GSM0480\_MTYPE\_REGISTER                  0x3B}}
\DoxyCodeLine{10 }
\DoxyCodeLine{11 \textcolor{comment}{/* Section 3.5 */}}
\DoxyCodeLine{12 \textcolor{preprocessor}{\#define GSM0480\_IE\_FACILITY                     0x1C}}
\DoxyCodeLine{13 \textcolor{preprocessor}{\#define GSM0480\_IE\_SS\_VERSION                   0x7F}}
\DoxyCodeLine{14 }
\DoxyCodeLine{15 \textcolor{comment}{/* Section 3.6.2 */}}
\DoxyCodeLine{16 \textcolor{preprocessor}{\#define GSM0480\_CTYPE\_INVOKE                    0xA1}}
\DoxyCodeLine{17 \textcolor{preprocessor}{\#define GSM0480\_CTYPE\_RETURN\_RESULT             0xA2}}
\DoxyCodeLine{18 \textcolor{preprocessor}{\#define GSM0480\_CTYPE\_RETURN\_ERROR              0xA3}}
\DoxyCodeLine{19 \textcolor{preprocessor}{\#define GSM0480\_CTYPE\_REJECT                    0xA4}}
\DoxyCodeLine{20 }
\DoxyCodeLine{21 \textcolor{comment}{/* Section 3.6.3 */}}
\DoxyCodeLine{22 \textcolor{preprocessor}{\#define GSM0480\_COMPIDTAG\_INVOKE\_ID             0x02}}
\DoxyCodeLine{23 \textcolor{preprocessor}{\#define GSM0480\_COMPIDTAG\_LINKED\_ID             0x80}}
\DoxyCodeLine{24 }
\DoxyCodeLine{25 \textcolor{comment}{/* Section 3.6.4 */}}
\DoxyCodeLine{26 \textcolor{preprocessor}{\#define GSM0480\_OPERATION\_CODE                  0x02}}
\DoxyCodeLine{27 }
\DoxyCodeLine{28 \textcolor{comment}{/* Section 3.6.5 */}}
\DoxyCodeLine{29 \textcolor{preprocessor}{\#define GSM\_0480\_SEQUENCE\_TAG                   0x30}}
\DoxyCodeLine{30 \textcolor{preprocessor}{\#define GSM\_0480\_SET\_TAG                        0x31}}
\DoxyCodeLine{31 }
\DoxyCodeLine{32 \textcolor{comment}{/* Section 3.6.6 */}}
\DoxyCodeLine{33 \textcolor{preprocessor}{\#define GSM\_0480\_ERROR\_CODE\_TAG                 0x02}}
\DoxyCodeLine{34 }
\DoxyCodeLine{35 \textcolor{comment}{/* Section 3.6.7 */}}
\DoxyCodeLine{36 \textcolor{comment}{/* Table 3.13 */}}
\DoxyCodeLine{37 \textcolor{preprocessor}{\#define GSM\_0480\_PROBLEM\_CODE\_TAG\_GENERAL       0x80}}
\DoxyCodeLine{38 \textcolor{preprocessor}{\#define GSM\_0480\_PROBLEM\_CODE\_TAG\_INVOKE        0x81}}
\DoxyCodeLine{39 \textcolor{preprocessor}{\#define GSM\_0480\_PROBLEM\_CODE\_TAG\_RETURN\_RESULT 0x82}}
\DoxyCodeLine{40 \textcolor{preprocessor}{\#define GSM\_0480\_PROBLEM\_CODE\_TAG\_RETURN\_ERROR  0x83}}
\DoxyCodeLine{41 }
\DoxyCodeLine{42 \textcolor{comment}{/* Table 3.14 */}}
\DoxyCodeLine{43 \textcolor{preprocessor}{\#define GSM\_0480\_GEN\_PROB\_CODE\_UNRECOGNISED     0x00}}
\DoxyCodeLine{44 \textcolor{preprocessor}{\#define GSM\_0480\_GEN\_PROB\_CODE\_MISTYPED         0x01}}
\DoxyCodeLine{45 \textcolor{preprocessor}{\#define GSM\_0480\_GEN\_PROB\_CODE\_BAD\_STRUCTURE    0x02}}
\DoxyCodeLine{46 }
\DoxyCodeLine{47 \textcolor{comment}{/* Table 3.15 */}}
\DoxyCodeLine{48 \textcolor{preprocessor}{\#define GSM\_0480\_INVOKE\_PROB\_CODE\_DUPLICATE\_INVOKE\_ID           0x00}}
\DoxyCodeLine{49 \textcolor{preprocessor}{\#define GSM\_0480\_INVOKE\_PROB\_CODE\_UNRECOGNISED\_OPERATION        0x01}}
\DoxyCodeLine{50 \textcolor{preprocessor}{\#define GSM\_0480\_INVOKE\_PROB\_CODE\_MISTYPED\_PARAMETER            0x02}}
\DoxyCodeLine{51 \textcolor{preprocessor}{\#define GSM\_0480\_INVOKE\_PROB\_CODE\_RESOURCE\_LIMITATION           0x03}}
\DoxyCodeLine{52 \textcolor{preprocessor}{\#define GSM\_0480\_INVOKE\_PROB\_CODE\_INITIATING\_RELEASE            0x04}}
\DoxyCodeLine{53 \textcolor{preprocessor}{\#define GSM\_0480\_INVOKE\_PROB\_CODE\_UNRECOGNISED\_LINKED\_ID        0x05}}
\DoxyCodeLine{54 \textcolor{preprocessor}{\#define GSM\_0480\_INVOKE\_PROB\_CODE\_UNEXPECTED\_LINKED\_RESPONSE    0x06}}
\DoxyCodeLine{55 \textcolor{preprocessor}{\#define GSM\_0480\_INVOKE\_PROB\_CODE\_UNEXPECTED\_LINKED\_OPERATION   0x07}}
\DoxyCodeLine{56 }
\DoxyCodeLine{57 \textcolor{comment}{/* Table 3.16 */}}
\DoxyCodeLine{58 \textcolor{preprocessor}{\#define GSM\_0480\_RESULT\_PROB\_CODE\_UNRECOGNISED\_INVOKE\_ID        0x00}}
\DoxyCodeLine{59 \textcolor{preprocessor}{\#define GSM\_0480\_RESULT\_PROB\_CODE\_RETURN\_RESULT\_UNEXPECTED      0x01}}
\DoxyCodeLine{60 \textcolor{preprocessor}{\#define GSM\_0480\_RESULT\_PROB\_CODE\_MISTYPED\_PARAMETER            0x02}}
\DoxyCodeLine{61 }
\DoxyCodeLine{62 \textcolor{comment}{/* Table 3.17 */}}
\DoxyCodeLine{63 \textcolor{preprocessor}{\#define GSM\_0480\_ERROR\_PROB\_CODE\_UNRECOGNISED\_INVOKE\_ID         0x00}}
\DoxyCodeLine{64 \textcolor{preprocessor}{\#define GSM\_0480\_ERROR\_PROB\_CODE\_RETURN\_ERROR\_UNEXPECTED        0x01}}
\DoxyCodeLine{65 \textcolor{preprocessor}{\#define GSM\_0480\_ERROR\_PROB\_CODE\_UNRECOGNISED\_ERROR             0x02}}
\DoxyCodeLine{66 \textcolor{preprocessor}{\#define GSM\_0480\_ERROR\_PROB\_CODE\_UNEXPECTED\_ERROR               0x03}}
\DoxyCodeLine{67 \textcolor{preprocessor}{\#define GSM\_0480\_ERROR\_PROB\_CODE\_MISTYPED\_PARAMETER             0x04}}
\DoxyCodeLine{68 }
\DoxyCodeLine{69 \textcolor{comment}{/* Section 4.5 */}}
\DoxyCodeLine{70 \textcolor{preprocessor}{\#define GSM0480\_OP\_CODE\_REGISTER\_SS             0x0A}}
\DoxyCodeLine{71 \textcolor{preprocessor}{\#define GSM0480\_OP\_CODE\_ERASE\_SS                0x0B}}
\DoxyCodeLine{72 \textcolor{preprocessor}{\#define GSM0480\_OP\_CODE\_ACTIVATE\_SS             0x0C}}
\DoxyCodeLine{73 \textcolor{preprocessor}{\#define GSM0480\_OP\_CODE\_DEACTIVATE\_SS           0x0D}}
\DoxyCodeLine{74 \textcolor{preprocessor}{\#define GSM0480\_OP\_CODE\_INTERROGATE\_SS          0x0E}}
\DoxyCodeLine{75 \textcolor{preprocessor}{\#define GSM0480\_OP\_CODE\_NOTIFY\_SS               0x10}}
\DoxyCodeLine{76 \textcolor{preprocessor}{\#define GSM0480\_OP\_CODE\_REGISTER\_PASSWORD       0x11}}
\DoxyCodeLine{77 \textcolor{preprocessor}{\#define GSM0480\_OP\_CODE\_GET\_PASSWORD            0x12}}
\DoxyCodeLine{78 \textcolor{preprocessor}{\#define GSM0480\_OP\_CODE\_PROCESS\_USS\_DATA        0x13}}
\DoxyCodeLine{79 \textcolor{preprocessor}{\#define GSM0480\_OP\_CODE\_FORWARD\_CHECK\_SS\_IND    0x26}}
\DoxyCodeLine{80 \textcolor{preprocessor}{\#define GSM0480\_OP\_CODE\_PROCESS\_USS\_REQ         0x3B}}
\DoxyCodeLine{81 \textcolor{preprocessor}{\#define GSM0480\_OP\_CODE\_USS\_REQUEST             0x3C}}
\DoxyCodeLine{82 \textcolor{preprocessor}{\#define GSM0480\_OP\_CODE\_USS\_NOTIFY              0x3D}}
\DoxyCodeLine{83 \textcolor{preprocessor}{\#define GSM0480\_OP\_CODE\_FORWARD\_CUG\_INFO        0x78}}
\DoxyCodeLine{84 \textcolor{preprocessor}{\#define GSM0480\_OP\_CODE\_SPLIT\_MPTY              0x79}}
\DoxyCodeLine{85 \textcolor{preprocessor}{\#define GSM0480\_OP\_CODE\_RETRIEVE\_MPTY           0x7A}}
\DoxyCodeLine{86 \textcolor{preprocessor}{\#define GSM0480\_OP\_CODE\_HOLD\_MPTY               0x7B}}
\DoxyCodeLine{87 \textcolor{preprocessor}{\#define GSM0480\_OP\_CODE\_BUILD\_MPTY              0x7C}}
\DoxyCodeLine{88 \textcolor{preprocessor}{\#define GSM0480\_OP\_CODE\_FORWARD\_CHARGE\_ADVICE   0x7D}}
\DoxyCodeLine{89 }
\DoxyCodeLine{90 \textcolor{preprocessor}{\#define GSM0480\_ERR\_CODE\_UNKNOWN\_SUBSCRIBER                     0x01}}
\DoxyCodeLine{91 \textcolor{preprocessor}{\#define GSM0480\_ERR\_CODE\_ILLEGAL\_SUBSCRIBER                     0x09}}
\DoxyCodeLine{92 \textcolor{preprocessor}{\#define GSM0480\_ERR\_CODE\_BEARER\_SERVICE\_NOT\_PROVISIONED         0x0A}}
\DoxyCodeLine{93 \textcolor{preprocessor}{\#define GSM0480\_ERR\_CODE\_TELESERVICE\_NOT\_PROVISIONED            0x0B}}
\DoxyCodeLine{94 \textcolor{preprocessor}{\#define GSM0480\_ERR\_CODE\_ILLEGAL\_EQUIPMENT                      0x0C}}
\DoxyCodeLine{95 \textcolor{preprocessor}{\#define GSM0480\_ERR\_CODE\_CALL\_BARRED                            0x0D}}
\DoxyCodeLine{96 \textcolor{preprocessor}{\#define GSM0480\_ERR\_CODE\_ILLEGAL\_SS\_OPERATION                   0x10}}
\DoxyCodeLine{97 \textcolor{preprocessor}{\#define GSM0480\_ERR\_CODE\_SS\_ERROR\_STATUS                        0x11}}
\DoxyCodeLine{98 \textcolor{preprocessor}{\#define GSM0480\_ERR\_CODE\_SS\_NOT\_AVAILABLE                       0x12}}
\DoxyCodeLine{99 \textcolor{preprocessor}{\#define GSM0480\_ERR\_CODE\_SS\_SUBSCRIPTION\_VIOLATION              0x13}}
\DoxyCodeLine{100 \textcolor{preprocessor}{\#define GSM0480\_ERR\_CODE\_SS\_INCOMPATIBILITY                     0x14}}
\DoxyCodeLine{101 \textcolor{preprocessor}{\#define GSM0480\_ERR\_CODE\_FACILITY\_NOT\_SUPPORTED                 0x15}}
\DoxyCodeLine{102 \textcolor{preprocessor}{\#define GSM0480\_ERR\_CODE\_ABSENT\_SUBSCRIBER                      0x1B}}
\DoxyCodeLine{103 \textcolor{preprocessor}{\#define GSM0480\_ERR\_CODE\_SYSTEM\_FAILURE                         0x22}}
\DoxyCodeLine{104 \textcolor{preprocessor}{\#define GSM0480\_ERR\_CODE\_DATA\_MISSING                           0x23}}
\DoxyCodeLine{105 \textcolor{preprocessor}{\#define GSM0480\_ERR\_CODE\_UNEXPECTED\_DATA\_VALUE                  0x24}}
\DoxyCodeLine{106 \textcolor{preprocessor}{\#define GSM0480\_ERR\_CODE\_PW\_REGISTRATION\_FAILURE                0x25}}
\DoxyCodeLine{107 \textcolor{preprocessor}{\#define GSM0480\_ERR\_CODE\_NEGATIVE\_PW\_CHECK                      0x26}}
\DoxyCodeLine{108 \textcolor{preprocessor}{\#define GSM0480\_ERR\_CODE\_NUM\_PW\_ATTEMPTS\_VIOLATION              0x2B}}
\DoxyCodeLine{109 \textcolor{preprocessor}{\#define GSM0480\_ERR\_CODE\_UNKNOWN\_ALPHABET                       0x47}}
\DoxyCodeLine{110 \textcolor{preprocessor}{\#define GSM0480\_ERR\_CODE\_USSD\_BUSY                              0x48}}
\DoxyCodeLine{111 \textcolor{preprocessor}{\#define GSM0480\_ERR\_CODE\_MAX\_MPTY\_PARTICIPANTS                  0x7E}}
\DoxyCodeLine{112 \textcolor{preprocessor}{\#define GSM0480\_ERR\_CODE\_RESOURCES\_NOT\_AVAILABLE                0x7F}}
\DoxyCodeLine{113 }
\DoxyCodeLine{114 \textcolor{comment}{/* ASN.1 type-\/tags */}}
\DoxyCodeLine{115 \textcolor{preprocessor}{\#define ASN1\_BOOLEAN\_TAG                0x01}}
\DoxyCodeLine{116 \textcolor{preprocessor}{\#define ASN1\_INTEGER\_TAG                0x02}}
\DoxyCodeLine{117 \textcolor{preprocessor}{\#define ASN1\_BIT\_STRING\_TAG             0x03}}
\DoxyCodeLine{118 \textcolor{preprocessor}{\#define ASN1\_OCTET\_STRING\_TAG           0x04}}
\DoxyCodeLine{119 \textcolor{preprocessor}{\#define ASN1\_NULL\_TYPE\_TAG              0x05}}
\DoxyCodeLine{120 \textcolor{preprocessor}{\#define ASN1\_OBJECT\_ID\_TAG              0x06}}
\DoxyCodeLine{121 \textcolor{preprocessor}{\#define ASN1\_UTF8\_STRING\_TAG            0x0C}}
\DoxyCodeLine{122 \textcolor{preprocessor}{\#define ASN1\_PRINTABLE\_STRING\_TAG       0x13}}
\DoxyCodeLine{123 \textcolor{preprocessor}{\#define ASN1\_IA5\_STRING\_TAG             0x16}}
\DoxyCodeLine{124 \textcolor{preprocessor}{\#define ASN1\_UNICODE\_STRING\_TAG         0x1E}}

\end{DoxyCode}
