\doxysection{gsm\+\_\+09\+\_\+02.\+h}
\label{gsm__09__02_8h_source}\index{include/osmocom/gsm/protocol/gsm\_09\_02.h@{include/osmocom/gsm/protocol/gsm\_09\_02.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 17.7.4 */}}
\DoxyCodeLine{7 \textcolor{comment}{/* SS-\/Status */}}
\DoxyCodeLine{8 \textcolor{preprocessor}{\#define GSM0902\_SS\_STATUS\_Q\_BIT 0x08}}
\DoxyCodeLine{9 \textcolor{preprocessor}{\#define GSM0902\_SS\_STATUS\_P\_BIT 0x04}}
\DoxyCodeLine{10 \textcolor{preprocessor}{\#define GSM0902\_SS\_STATUS\_R\_BIT 0x02}}
\DoxyCodeLine{11 \textcolor{preprocessor}{\#define GSM0902\_SS\_STATUS\_A\_BIT 0x01}}
\DoxyCodeLine{12 }
\DoxyCodeLine{13 \textcolor{comment}{/* SS-\/Data */}}
\DoxyCodeLine{14 \textcolor{preprocessor}{\#define GSM0902\_SS\_DATA\_SS\_STATUS\_TAG   0x84}}
\DoxyCodeLine{15 \textcolor{preprocessor}{\#define GSM0902\_SS\_DATA\_NBR\_USER        0x85}}
\DoxyCodeLine{16 }
\DoxyCodeLine{17 \textcolor{comment}{/* SS-\/Info */}}
\DoxyCodeLine{18 \textcolor{preprocessor}{\#define GSM0902\_SS\_INFO\_FORW\_INFO\_TAG           0xA0}}
\DoxyCodeLine{19 \textcolor{preprocessor}{\#define GSM0902\_SS\_INFO\_CALL\_BARR\_INFO\_TAG      0xA1}}
\DoxyCodeLine{20 \textcolor{preprocessor}{\#define GSM0902\_SS\_INFO\_SS\_DATA\_TAG             0xA3}}
\DoxyCodeLine{21 }
\DoxyCodeLine{22 \textcolor{comment}{/* InterrogateSS-\/Res */}}
\DoxyCodeLine{23 \textcolor{preprocessor}{\#define GSM0902\_SS\_INTERR\_SS\_RES\_SS\_STATUS\_TAG          0x80}}
\DoxyCodeLine{24 \textcolor{preprocessor}{\#define GSM0902\_SS\_INTERR\_SS\_RES\_BSG\_LIST\_TAG           0x81}}
\DoxyCodeLine{25 \textcolor{preprocessor}{\#define GSM0902\_SS\_INTERR\_SS\_RES\_FORW\_FEAT\_LIST\_TAG     0x82}}
\DoxyCodeLine{26 \textcolor{preprocessor}{\#define GSM0902\_SS\_INTERR\_SS\_RES\_GEN\_SERV\_INFO\_TAG      0x83}}
\DoxyCodeLine{27 }
\DoxyCodeLine{28 \textcolor{comment}{/* Section 17.7.5 */}}
\DoxyCodeLine{29 \textcolor{comment}{/* Supplementary service codes */}}
\DoxyCodeLine{30 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_ALL\_SS                          0x00}}
\DoxyCodeLine{31 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_ALL\_LINE\_IDENTIFICATION\_SS      0x10}}
\DoxyCodeLine{32 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_CLIP                            0x11}}
\DoxyCodeLine{33 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_CLIR                            0x12}}
\DoxyCodeLine{34 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_COLP                            0x13}}
\DoxyCodeLine{35 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_COLR                            0x14}}
\DoxyCodeLine{36 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_MCI                             0x15}}
\DoxyCodeLine{37 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_ALL\_NAME\_IDENTIFICATION\_SS      0x18}}
\DoxyCodeLine{38 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_CNAP                            0x19}}
\DoxyCodeLine{39 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_ALL\_FORWARDING\_SS               0x20}}
\DoxyCodeLine{40 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_CFU                             0x21}}
\DoxyCodeLine{41 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_ALL\_COND\_FORWARDING\_SS          0x28}}
\DoxyCodeLine{42 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_CFB                             0x29}}
\DoxyCodeLine{43 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_CFNRY                           0x2A}}
\DoxyCodeLine{44 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_CFNRC                           0x2B}}
\DoxyCodeLine{45 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_CD                              0x24}}
\DoxyCodeLine{46 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_ALL\_CALL\_OFFERING\_SS            0x30}}
\DoxyCodeLine{47 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_ECT                             0x31}}
\DoxyCodeLine{48 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_MAH                             0x32}}
\DoxyCodeLine{49 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_ALL\_CALL\_COMPLETION\_SS          0x40}}
\DoxyCodeLine{50 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_CW                              0x41}}
\DoxyCodeLine{51 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_HOLD                            0x42}}
\DoxyCodeLine{52 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_CCBS\_A                          0x43}}
\DoxyCodeLine{53 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_CCBS\_B                          0x44}}
\DoxyCodeLine{54 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_MC                              0x45}}
\DoxyCodeLine{55 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_ALL\_MULTI\_PARTY\_SS              0x50}}
\DoxyCodeLine{56 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_MULTI\_PTY                       0x51}}
\DoxyCodeLine{57 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_ALL\_COMMUNITY\_OF\_INTEREST\_SS    0x60}}
\DoxyCodeLine{58 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_CUG                             0x61}}
\DoxyCodeLine{59 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_ALL\_CHARGING\_SS                 0x70}}
\DoxyCodeLine{60 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_AOCI                            0x71}}
\DoxyCodeLine{61 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_AOCC                            0x72}}
\DoxyCodeLine{62 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_ALL\_ADDITIONAL\_INFO\_TRANSFER\_SS 0x80}}
\DoxyCodeLine{63 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_UUS1                            0x81}}
\DoxyCodeLine{64 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_UUS2                            0x82}}
\DoxyCodeLine{65 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_UUS3                            0x83}}
\DoxyCodeLine{66 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_ALL\_BARRING\_SS                  0x90}}
\DoxyCodeLine{67 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_BARRING\_OF\_OUTGOING\_CALLS       0x91}}
\DoxyCodeLine{68 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_BAOC                            0x92}}
\DoxyCodeLine{69 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_BOIC                            0x93}}
\DoxyCodeLine{70 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_BOIC\_EX\_HC                      0x94}}
\DoxyCodeLine{71 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_BARRING\_OF\_INCOMING\_CALLS       0x99}}
\DoxyCodeLine{72 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_BAIC                            0x9A}}
\DoxyCodeLine{73 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_BIC\_ROAM                        0x9B}}
\DoxyCodeLine{74 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_ALL\_PLMN\_SPECIFIC\_SS            0xF0}}
\DoxyCodeLine{75 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_PLMN\_SPECIFIC\_SS\_1              0xF1}}
\DoxyCodeLine{76 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_PLMN\_SPECIFIC\_SS\_2              0xF2}}
\DoxyCodeLine{77 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_PLMN\_SPECIFIC\_SS\_3              0xF3}}
\DoxyCodeLine{78 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_PLMN\_SPECIFIC\_SS\_4              0xF4}}
\DoxyCodeLine{79 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_PLMN\_SPECIFIC\_SS\_5              0xF5}}
\DoxyCodeLine{80 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_PLMN\_SPECIFIC\_SS\_6              0xF6}}
\DoxyCodeLine{81 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_PLMN\_SPECIFIC\_SS\_7              0xF7}}
\DoxyCodeLine{82 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_PLMN\_SPECIFIC\_SS\_8              0xF8}}
\DoxyCodeLine{83 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_PLMN\_SPECIFIC\_SS\_9              0xF9}}
\DoxyCodeLine{84 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_PLMN\_SPECIFIC\_SS\_A              0xFA}}
\DoxyCodeLine{85 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_PLMN\_SPECIFIC\_SS\_B              0xFB}}
\DoxyCodeLine{86 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_PLMN\_SPECIFIC\_SS\_C              0xFC}}
\DoxyCodeLine{87 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_PLMN\_SPECIFIC\_SS\_D              0xFD}}
\DoxyCodeLine{88 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_PLMN\_SPECIFIC\_SS\_E              0xFE}}
\DoxyCodeLine{89 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_PLMN\_SPECIFIC\_SS\_F              0xFF}}
\DoxyCodeLine{90 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_ALL\_CALL\_PRIORITY\_SS            0xA0}}
\DoxyCodeLine{91 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_EMLPP                           0xA1}}
\DoxyCodeLine{92 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_ALL\_LCSPRIVACY\_EXCEPTION        0xB0}}
\DoxyCodeLine{93 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_UNIVERSAL                       0xB1}}
\DoxyCodeLine{94 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_CALL\_SESSION\_RELATED            0xB2}}
\DoxyCodeLine{95 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_CALL\_SESSION\_UNRELATED          0xB3}}
\DoxyCodeLine{96 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_PLMNOPERATOR                    0xB4}}
\DoxyCodeLine{97 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_SERVICE\_TYPE                    0xB5}}
\DoxyCodeLine{98 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_ALL\_MOLR\_SS                     0xC0}}
\DoxyCodeLine{99 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_BASIC\_SELF\_LOCATION             0xC1}}
\DoxyCodeLine{100 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_AUTONOMOUS\_SELF\_LOCATION        0xC2}}
\DoxyCodeLine{101 \textcolor{preprocessor}{\#define GSM0902\_SS\_CODE\_TRANSFER\_TO\_THIRD\_PARTY         0xC3}}
\DoxyCodeLine{102 }
\DoxyCodeLine{103 \textcolor{comment}{/* Section 17.7.9 */}}
\DoxyCodeLine{104 \textcolor{comment}{/* Teleservice codes */}}
\DoxyCodeLine{105 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_ALL\_TELESERVICES                        0x00}}
\DoxyCodeLine{106 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_ALL\_SPEECH\_TRANSMISSION\_SERVICES        0x10}}
\DoxyCodeLine{107 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_TELEPHONY                               0x11}}
\DoxyCodeLine{108 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_EMERGENCY\_CALLS                         0x12}}
\DoxyCodeLine{109 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_ALL\_SHORT\_MESSAGE\_SERVICES              0x20}}
\DoxyCodeLine{110 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_SHORT\_MESSAGE\_MT\_PP                     0x21}}
\DoxyCodeLine{111 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_SHORT\_MESSAGE\_MO\_PP                     0x22}}
\DoxyCodeLine{112 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_ALL\_FACSIMILE\_TRANSMISSION\_SERVICES     0x60}}
\DoxyCodeLine{113 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_FACSIMILE\_GROUP3AND\_ALTER\_SPEECH        0x61}}
\DoxyCodeLine{114 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_AUTOMATIC\_FACSIMILE\_GROUP3              0x62}}
\DoxyCodeLine{115 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_FACSIMILE\_GROUP4                        0x63}}
\DoxyCodeLine{116 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_ALL\_DATA\_TELESERVICES                   0x70}}
\DoxyCodeLine{117 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_ALL\_TELESERVICES\_EXEPT\_SMS              0x80}}
\DoxyCodeLine{118 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_ALL\_VOICE\_GROUP\_CALL\_SERVICES           0x90}}
\DoxyCodeLine{119 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_VOICE\_GROUP\_CALL                        0x91}}
\DoxyCodeLine{120 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_VOICE\_BROADCAST\_CALL                    0x92}}
\DoxyCodeLine{121 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_ALL\_PLMN\_SPECIFIC\_TS                    0xD0}}
\DoxyCodeLine{122 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_PLMN\_SPECIFIC\_TS\_1                      0xD1}}
\DoxyCodeLine{123 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_PLMN\_SPECIFIC\_TS\_2                      0xD2}}
\DoxyCodeLine{124 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_PLMN\_SPECIFIC\_TS\_3                      0xD3}}
\DoxyCodeLine{125 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_PLMN\_SPECIFIC\_TS\_4                      0xD4}}
\DoxyCodeLine{126 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_PLMN\_SPECIFIC\_TS\_5                      0xD5}}
\DoxyCodeLine{127 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_PLMN\_SPECIFIC\_TS\_6                      0xD6}}
\DoxyCodeLine{128 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_PLMN\_SPECIFIC\_TS\_7                      0xD7}}
\DoxyCodeLine{129 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_PLMN\_SPECIFIC\_TS\_8                      0xD8}}
\DoxyCodeLine{130 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_PLMN\_SPECIFIC\_TS\_9                      0xD9}}
\DoxyCodeLine{131 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_PLMN\_SPECIFIC\_TS\_A                      0xDA}}
\DoxyCodeLine{132 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_PLMN\_SPECIFIC\_TS\_B                      0xDB}}
\DoxyCodeLine{133 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_PLMN\_SPECIFIC\_TS\_C                      0xDC}}
\DoxyCodeLine{134 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_PLMN\_SPECIFIC\_TS\_D                      0xDD}}
\DoxyCodeLine{135 \textcolor{preprocessor}{\#define GSM0902\_TS\_CODE\_PLMN\_SPECIFIC\_TS\_E                      0xDE}}

\end{DoxyCode}
