libosmogsm 1.13.1.1-afb4 Osmocom GSM library

gsm_09_02.h
Go to the documentation of this file.
1
4#pragma once
5
6/* Section 17.7.4 */
7/* SS-Status */
8#define GSM0902_SS_STATUS_Q_BIT 0x08
9#define GSM0902_SS_STATUS_P_BIT 0x04
10#define GSM0902_SS_STATUS_R_BIT 0x02
11#define GSM0902_SS_STATUS_A_BIT 0x01
12
13/* SS-Data */
14#define GSM0902_SS_DATA_SS_STATUS_TAG 0x84
15#define GSM0902_SS_DATA_NBR_USER 0x85
16
17/* SS-Info */
18#define GSM0902_SS_INFO_FORW_INFO_TAG 0xA0
19#define GSM0902_SS_INFO_CALL_BARR_INFO_TAG 0xA1
20#define GSM0902_SS_INFO_SS_DATA_TAG 0xA3
21
22/* InterrogateSS-Res */
23#define GSM0902_SS_INTERR_SS_RES_SS_STATUS_TAG 0x80
24#define GSM0902_SS_INTERR_SS_RES_BSG_LIST_TAG 0x81
25#define GSM0902_SS_INTERR_SS_RES_FORW_FEAT_LIST_TAG 0x82
26#define GSM0902_SS_INTERR_SS_RES_GEN_SERV_INFO_TAG 0x83
27
28/* Section 17.7.5 */
29/* Supplementary service codes */
30#define GSM0902_SS_CODE_ALL_SS 0x00
31#define GSM0902_SS_CODE_ALL_LINE_IDENTIFICATION_SS 0x10
32#define GSM0902_SS_CODE_CLIP 0x11
33#define GSM0902_SS_CODE_CLIR 0x12
34#define GSM0902_SS_CODE_COLP 0x13
35#define GSM0902_SS_CODE_COLR 0x14
36#define GSM0902_SS_CODE_MCI 0x15
37#define GSM0902_SS_CODE_ALL_NAME_IDENTIFICATION_SS 0x18
38#define GSM0902_SS_CODE_CNAP 0x19
39#define GSM0902_SS_CODE_ALL_FORWARDING_SS 0x20
40#define GSM0902_SS_CODE_CFU 0x21
41#define GSM0902_SS_CODE_ALL_COND_FORWARDING_SS 0x28
42#define GSM0902_SS_CODE_CFB 0x29
43#define GSM0902_SS_CODE_CFNRY 0x2A
44#define GSM0902_SS_CODE_CFNRC 0x2B
45#define GSM0902_SS_CODE_CD 0x24
46#define GSM0902_SS_CODE_ALL_CALL_OFFERING_SS 0x30
47#define GSM0902_SS_CODE_ECT 0x31
48#define GSM0902_SS_CODE_MAH 0x32
49#define GSM0902_SS_CODE_ALL_CALL_COMPLETION_SS 0x40
50#define GSM0902_SS_CODE_CW 0x41
51#define GSM0902_SS_CODE_HOLD 0x42
52#define GSM0902_SS_CODE_CCBS_A 0x43
53#define GSM0902_SS_CODE_CCBS_B 0x44
54#define GSM0902_SS_CODE_MC 0x45
55#define GSM0902_SS_CODE_ALL_MULTI_PARTY_SS 0x50
56#define GSM0902_SS_CODE_MULTI_PTY 0x51
57#define GSM0902_SS_CODE_ALL_COMMUNITY_OF_INTEREST_SS 0x60
58#define GSM0902_SS_CODE_CUG 0x61
59#define GSM0902_SS_CODE_ALL_CHARGING_SS 0x70
60#define GSM0902_SS_CODE_AOCI 0x71
61#define GSM0902_SS_CODE_AOCC 0x72
62#define GSM0902_SS_CODE_ALL_ADDITIONAL_INFO_TRANSFER_SS 0x80
63#define GSM0902_SS_CODE_UUS1 0x81
64#define GSM0902_SS_CODE_UUS2 0x82
65#define GSM0902_SS_CODE_UUS3 0x83
66#define GSM0902_SS_CODE_ALL_BARRING_SS 0x90
67#define GSM0902_SS_CODE_BARRING_OF_OUTGOING_CALLS 0x91
68#define GSM0902_SS_CODE_BAOC 0x92
69#define GSM0902_SS_CODE_BOIC 0x93
70#define GSM0902_SS_CODE_BOIC_EX_HC 0x94
71#define GSM0902_SS_CODE_BARRING_OF_INCOMING_CALLS 0x99
72#define GSM0902_SS_CODE_BAIC 0x9A
73#define GSM0902_SS_CODE_BIC_ROAM 0x9B
74#define GSM0902_SS_CODE_ALL_PLMN_SPECIFIC_SS 0xF0
75#define GSM0902_SS_CODE_PLMN_SPECIFIC_SS_1 0xF1
76#define GSM0902_SS_CODE_PLMN_SPECIFIC_SS_2 0xF2
77#define GSM0902_SS_CODE_PLMN_SPECIFIC_SS_3 0xF3
78#define GSM0902_SS_CODE_PLMN_SPECIFIC_SS_4 0xF4
79#define GSM0902_SS_CODE_PLMN_SPECIFIC_SS_5 0xF5
80#define GSM0902_SS_CODE_PLMN_SPECIFIC_SS_6 0xF6
81#define GSM0902_SS_CODE_PLMN_SPECIFIC_SS_7 0xF7
82#define GSM0902_SS_CODE_PLMN_SPECIFIC_SS_8 0xF8
83#define GSM0902_SS_CODE_PLMN_SPECIFIC_SS_9 0xF9
84#define GSM0902_SS_CODE_PLMN_SPECIFIC_SS_A 0xFA
85#define GSM0902_SS_CODE_PLMN_SPECIFIC_SS_B 0xFB
86#define GSM0902_SS_CODE_PLMN_SPECIFIC_SS_C 0xFC
87#define GSM0902_SS_CODE_PLMN_SPECIFIC_SS_D 0xFD
88#define GSM0902_SS_CODE_PLMN_SPECIFIC_SS_E 0xFE
89#define GSM0902_SS_CODE_PLMN_SPECIFIC_SS_F 0xFF
90#define GSM0902_SS_CODE_ALL_CALL_PRIORITY_SS 0xA0
91#define GSM0902_SS_CODE_EMLPP 0xA1
92#define GSM0902_SS_CODE_ALL_LCSPRIVACY_EXCEPTION 0xB0
93#define GSM0902_SS_CODE_UNIVERSAL 0xB1
94#define GSM0902_SS_CODE_CALL_SESSION_RELATED 0xB2
95#define GSM0902_SS_CODE_CALL_SESSION_UNRELATED 0xB3
96#define GSM0902_SS_CODE_PLMNOPERATOR 0xB4
97#define GSM0902_SS_CODE_SERVICE_TYPE 0xB5
98#define GSM0902_SS_CODE_ALL_MOLR_SS 0xC0
99#define GSM0902_SS_CODE_BASIC_SELF_LOCATION 0xC1
100#define GSM0902_SS_CODE_AUTONOMOUS_SELF_LOCATION 0xC2
101#define GSM0902_SS_CODE_TRANSFER_TO_THIRD_PARTY 0xC3
102
103/* Section 17.7.9 */
104/* Teleservice codes */
105#define GSM0902_TS_CODE_ALL_TELESERVICES 0x00
106#define GSM0902_TS_CODE_ALL_SPEECH_TRANSMISSION_SERVICES 0x10
107#define GSM0902_TS_CODE_TELEPHONY 0x11
108#define GSM0902_TS_CODE_EMERGENCY_CALLS 0x12
109#define GSM0902_TS_CODE_ALL_SHORT_MESSAGE_SERVICES 0x20
110#define GSM0902_TS_CODE_SHORT_MESSAGE_MT_PP 0x21
111#define GSM0902_TS_CODE_SHORT_MESSAGE_MO_PP 0x22
112#define GSM0902_TS_CODE_ALL_FACSIMILE_TRANSMISSION_SERVICES 0x60
113#define GSM0902_TS_CODE_FACSIMILE_GROUP3AND_ALTER_SPEECH 0x61
114#define GSM0902_TS_CODE_AUTOMATIC_FACSIMILE_GROUP3 0x62
115#define GSM0902_TS_CODE_FACSIMILE_GROUP4 0x63
116#define GSM0902_TS_CODE_ALL_DATA_TELESERVICES 0x70
117#define GSM0902_TS_CODE_ALL_TELESERVICES_EXEPT_SMS 0x80
118#define GSM0902_TS_CODE_ALL_VOICE_GROUP_CALL_SERVICES 0x90
119#define GSM0902_TS_CODE_VOICE_GROUP_CALL 0x91
120#define GSM0902_TS_CODE_VOICE_BROADCAST_CALL 0x92
121#define GSM0902_TS_CODE_ALL_PLMN_SPECIFIC_TS 0xD0
122#define GSM0902_TS_CODE_PLMN_SPECIFIC_TS_1 0xD1
123#define GSM0902_TS_CODE_PLMN_SPECIFIC_TS_2 0xD2
124#define GSM0902_TS_CODE_PLMN_SPECIFIC_TS_3 0xD3
125#define GSM0902_TS_CODE_PLMN_SPECIFIC_TS_4 0xD4
126#define GSM0902_TS_CODE_PLMN_SPECIFIC_TS_5 0xD5
127#define GSM0902_TS_CODE_PLMN_SPECIFIC_TS_6 0xD6
128#define GSM0902_TS_CODE_PLMN_SPECIFIC_TS_7 0xD7
129#define GSM0902_TS_CODE_PLMN_SPECIFIC_TS_8 0xD8
130#define GSM0902_TS_CODE_PLMN_SPECIFIC_TS_9 0xD9
131#define GSM0902_TS_CODE_PLMN_SPECIFIC_TS_A 0xDA
132#define GSM0902_TS_CODE_PLMN_SPECIFIC_TS_B 0xDB
133#define GSM0902_TS_CODE_PLMN_SPECIFIC_TS_C 0xDC
134#define GSM0902_TS_CODE_PLMN_SPECIFIC_TS_D 0xDD
135#define GSM0902_TS_CODE_PLMN_SPECIFIC_TS_E 0xDE