libosmogsm 1.13.1.1-afb4 Osmocom GSM library

gsm_03_40.h
Go to the documentation of this file.
1
4#pragma once
5
6/* SM-TP-UD (User-Data) field may contain up to 140 octets
7 * (or 140 * 8 / 7 = 160 septets). See section 9.2.3.24. */
8#define GSM340_UDL_OCT_MAX 140
9#define GSM340_UDL_SPT_MAX 160
14 enum {
15 GSM340_TYPE_UNKNOWN = 0,
16 GSM340_TYPE_INTERNATIONAL = 1,
17 GSM340_TYPE_NATIONAL = 2,
18 GSM340_TYPE_NETWORK = 3,
19 GSM340_TYPE_SUBSCRIBER = 4,
20 GSM340_TYPE_ALPHA_NUMERIC = 5,
21 GSM340_TYPE_ABBREVIATED = 6,
22 GSM340_TYPE_RESERVED = 7,
23};
24
29 enum {
30 GSM340_PLAN_UNKNOWN = 0,
31 GSM340_PLAN_ISDN = 1,
32 GSM340_PLAN_DATA = 3,
33 GSM340_PLAN_TELEX = 4,
34 GSM340_PLAN_NATIONAL = 8,
35 GSM340_PLAN_PRIVATE = 9,
36 GSM340_PLAN_ERMES = 10,
37 GSM340_PLAN_RESERVED = 15,
38};
GSM340_TYPE_UNKNOWN
@ GSM340_TYPE_UNKNOWN
Definition: gsm_03_40.h:15
GSM340_TYPE_NATIONAL
@ GSM340_TYPE_NATIONAL
Definition: gsm_03_40.h:17
GSM340_TYPE_RESERVED
@ GSM340_TYPE_RESERVED
Definition: gsm_03_40.h:22
GSM340_TYPE_ABBREVIATED
@ GSM340_TYPE_ABBREVIATED
Definition: gsm_03_40.h:21
GSM340_TYPE_INTERNATIONAL
@ GSM340_TYPE_INTERNATIONAL
Definition: gsm_03_40.h:16
GSM340_TYPE_ALPHA_NUMERIC
@ GSM340_TYPE_ALPHA_NUMERIC
Definition: gsm_03_40.h:20
GSM340_TYPE_NETWORK
@ GSM340_TYPE_NETWORK
Definition: gsm_03_40.h:18
GSM340_TYPE_SUBSCRIBER
@ GSM340_TYPE_SUBSCRIBER
Definition: gsm_03_40.h:19
GSM340_PLAN_ISDN
@ GSM340_PLAN_ISDN
Definition: gsm_03_40.h:31
GSM340_PLAN_RESERVED
@ GSM340_PLAN_RESERVED
Definition: gsm_03_40.h:37
GSM340_PLAN_PRIVATE
@ GSM340_PLAN_PRIVATE
Definition: gsm_03_40.h:35
GSM340_PLAN_ERMES
@ GSM340_PLAN_ERMES
Definition: gsm_03_40.h:36
GSM340_PLAN_TELEX
@ GSM340_PLAN_TELEX
Definition: gsm_03_40.h:33
GSM340_PLAN_DATA
@ GSM340_PLAN_DATA
Definition: gsm_03_40.h:32
GSM340_PLAN_UNKNOWN
@ GSM340_PLAN_UNKNOWN
Definition: gsm_03_40.h:30
GSM340_PLAN_NATIONAL
@ GSM340_PLAN_NATIONAL
Definition: gsm_03_40.h:34