gsm_03_40.h
Go to the documentation of this file.
#pragma once
/* SM-TP-UD (User-Data) field may contain up to 140 octets
* (or 140 * 8 / 7 = 160 septets). See section 9.2.3.24. */
#define GSM340_UDL_OCT_MAX 140
#define GSM340_UDL_SPT_MAX 160
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,
};
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,
};
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