diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Makefile.am | 1 | ||||
-rw-r--r-- | include/osmocom/gsm/protocol/gsm_03_40.h | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/include/Makefile.am b/include/Makefile.am index b1a818d2..42a2dc2b 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -59,6 +59,7 @@ nobase_include_HEADERS = \ osmocom/gsm/mncc.h \ osmocom/gsm/prim.h \ osmocom/gsm/l1sap.h \ + osmocom/gsm/protocol/gsm_03_40.h \ osmocom/gsm/protocol/gsm_03_41.h \ osmocom/gsm/protocol/gsm_04_08.h \ osmocom/gsm/protocol/gsm_04_11.h \ diff --git a/include/osmocom/gsm/protocol/gsm_03_40.h b/include/osmocom/gsm/protocol/gsm_03_40.h new file mode 100644 index 00000000..32d5c2c2 --- /dev/null +++ b/include/osmocom/gsm/protocol/gsm_03_40.h @@ -0,0 +1,32 @@ +#pragma once + +/* GSM TS 03.40 */ + +/** + * 9.1.2.5 Type Of Number + */ +enum { + GSM340_TYPE_UNKNOWN = 0, + GSM340_TYPE_INTERNATIONAL = 1, + GSM340_TYPE_NATIONAL = 2, + GSM340_TYPE_NETWORK = 3, + GSM340_TYPE_SUBSCRIBER = 4, + GSM340_TYPE_ALPHA_NUMERIC = 5, + GSM340_TYPE_ABBREVIATED = 6, + GSM340_TYPE_RESERVED = 7, +}; + +/** + * 9.1.2.5 Type of Numbering plan. + * Applies for numbering plans (Unknown, International, National) + */ +enum { + GSM340_PLAN_UNKNOWN = 0, + GSM340_PLAN_ISDN = 1, + GSM340_PLAN_DATA = 3, + GSM340_PLAN_TELEX = 4, + GSM340_PLAN_NATIONAL = 8, + GSM340_PLAN_PRIVATE = 9, + GSM340_PLAN_ERMES = 10, + GSM340_PLAN_RESERVED = 15, +}; |