FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/cdg/cdginc-conservative/m_sms.val @ 1030:194967e11b2b
fc-shell: tch record and tch play reworked for libgsm-compatible file format
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 31 May 2016 18:39:06 +0000 |
parents | 9ba088a875bd |
children |
rev | line source |
---|---|
656
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 +--------------------------------------------------------------------------+ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 | PROJECT : PROTOCOL STACK | |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 | FILE : m_sms.val | |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 | SOURCE : "msg\sms.mdf" | |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 | LastModified : "2001-09-11" | |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 | IdAndVersion : "6147.607.97.102" | |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 | SrcFileTime : "Wed Nov 28 10:21:18 2007" | |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 | Generated by CCDGEN_2.5.5A on Thu Sep 25 09:52:55 2014 | |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! | |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 +--------------------------------------------------------------------------+ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 /* PRAGMAS |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 * PREFIX : NONE |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 * COMPATIBILITY_DEFINES : NO (require PREFIX) |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 * ALWAYS_ENUM_IN_VAL_FILE: NO |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 * ENABLE_GROUP: NO |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 * CAPITALIZE_TYPENAME: NO |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
23 #ifndef M_SMS_VAL |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
24 #define M_SMS_VAL |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
25 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
26 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
27 #define CDG_ENTER__M_SMS_VAL |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
28 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
29 #define CDG_ENTER__FILENAME _M_SMS_VAL |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
30 #define CDG_ENTER__M_SMS_VAL__FILE_TYPE CDGINC |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
31 #define CDG_ENTER__M_SMS_VAL__LAST_MODIFIED _2001_09_11 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
32 #define CDG_ENTER__M_SMS_VAL__ID_AND_VERSION _6147_607_97_102 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
33 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
34 #define CDG_ENTER__M_SMS_VAL__SRC_FILE_TIME _Wed_Nov_28_10_21_18_2007 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
35 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
36 #include "CDG_ENTER.h" |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
37 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
38 #undef CDG_ENTER__M_SMS_VAL |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
39 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
40 #undef CDG_ENTER__FILENAME |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
41 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
42 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
43 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
44 * Value constants for VAL_cp_cause |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
45 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
46 #define SMS_CP_CS_NETWORK_FAILURE (0x11) /* Network Failure */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
47 #define SMS_CP_CS_CONGESTION (0x16) /* Congestion */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
48 #define SMS_CP_CS_INVALID_TI (0x51) /* Invalid Transaction Identifier */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
49 #define SMS_CP_CS_SEM_INC_MSG (0x5f) /* Semantically incorrect message */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
50 #define SMS_CP_CS_INV_MAND_INFO (0x60) /* Invalid mandatory information */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
51 #define SMS_CP_CS_MSG_TYPE_NON_EXIST (0x61) /* Message type non-existent or not implemented */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
52 #define SMS_CP_CS_MSG_NOT_COMP (0x62) /* Message not compatible with the short message protocol state */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
53 #define SMS_CP_CS_INFO_NON_EXIST (0x63) /* Information element non-existent or not implemented */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
54 #define SMS_CP_CS_PROTOCOL_ERROR (0x6f) /* Protocol error, unspecified */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
55 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
56 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
57 * Value constants for VAL_rp_mti |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
58 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
59 #define RP_DATA_UL (0x0) /* RP_DATA message MS to network */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
60 #define RP_DATA_DL (0x1) /* RP_DATA message network to MS */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
61 #define RP_ACK_UL (0x2) /* RP_ACK message MS to network */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
62 #define RP_ACK_DL (0x3) /* RP_ACK message network to MS */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
63 #define RP_ERROR_UL (0x4) /* RP_ERROR message MS to network */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
64 #define RP_ERROR_DL (0x5) /* RP_ERROR message network to MS */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
65 #define RP_SMMA_UL (0x6) /* RP_SMMA message MS to network */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
66 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
67 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
68 * Value constants for VAL_npi |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
69 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
70 #define VAL_NPI___DEF (0x0) /* reserved */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
71 #define SMS_NPI_UNKNOWN (0x0) /* unknown */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
72 #define SMS_NPI_ISDN (0x1) /* ISDN/telephony numbering plan (Rec. E.164/E.163) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
73 #define SMS_NPI_X121 (0x3) /* data numbering plan (Recommendation X.121) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
74 #define SMS_NPI_F69 (0x4) /* telex numbering plan (Recommendation F.69) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
75 #define SMS_NPI_NATIONAL (0x8) /* national numbering plan */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
76 #define SMS_NPI_PRIVATE (0x9) /* private numbering plan */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
77 #define SMS_NPI_ERMES (0xa) /* ERMES numbering plan (ETSI DE/PS 3 01-3) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
78 #define SMS_NPI_EXTENSTION (0xf) /* reserved for extension */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
79 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
80 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
81 * Value constants for VAL_ton |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
82 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
83 #define SMS_TON_UNKNOWN (0x0) /* unknown */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
84 #define SMS_TON_INTERNATIONAL (0x1) /* international number */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
85 #define SMS_TON_NATIONAL (0x2) /* national number */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
86 #define SMS_TON_NETWORK_SPEC (0x3) /* network specific number */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
87 #define SMS_TON_SUBSCRIBER (0x4) /* dedicated access, short code */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
88 #define SMS_TON_ALPHANUMERIC (0x5) /* alphanumeric */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
89 #define SMS_TON_ABBREVIATED (0x6) /* abbreviated */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
90 #define SMS_TON_EXTENSION (0x7) /* reserved for extention */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
91 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
92 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
93 * Value constants for VAL_rp_cause_value |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
94 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
95 #define SMS_RP_CS_UNASSIGNED_NUMBER (0x1) /* Unassigned (unallocated) number */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
96 #define SMS_RP_CS_OPERATOR_DET_BARRED (0x8) /* Operator determined barring */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
97 #define SMS_RP_CS_CALL_BARRED (0xa) /* Call barred */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
98 #define SMS_RP_CS_SM_TRANSFER_REJECTED (0x15) /* Short message transfer rejected */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
99 #define SMS_RP_CS_MEM_CAP_EXCEEDED (0x16) /* Memory Capacity exceeded */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
100 #define SMS_RP_CS_DEST_OUT_OF_ORDER (0x1b) /* Destination out of order */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
101 #define SMS_RP_CS_UNIDENT_SUBSCRIBER (0x1c) /* Unidentified subscriber */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
102 #define SMS_RP_CS_FACILITY_REJECTED (0x1d) /* Facility rejected */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
103 #define SMS_RP_CS_UNKNOWN_SUBSCRIBER (0x1e) /* Unknown subscriber */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
104 #define SMS_RP_CS_NET_OUT_OF_ORDER (0x26) /* Network out of order */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
105 #define SMS_RP_CS_TEMP_FAILURE (0x29) /* Temporary Failure */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
106 #define SMS_RP_CS_CONGESTION (0x2a) /* Congestion */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
107 #define SMS_RP_CS_NO_RESOURCES (0x2f) /* Resources unavailable, unspecified */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
108 #define SMS_RP_CS_FAC_NOT_SUBSCRIBED (0x32) /* Requested facility not subscribed */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
109 #define SMS_RP_CS_FAC_NOT_IMPL (0x45) /* Requested facility not implemented */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
110 #define SMS_RP_CS_INV_SM_TR_REF_VAL (0x51) /* Invalid short message transfer reference value */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
111 #define SMS_RP_CS_SEM_INC_MSG (0x5f) /* Semantically incorrect message */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
112 #define SMS_RP_CS_INV_MAND_INFO (0x60) /* Invalid mandatory information */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
113 #define SMS_RP_CS_MSG_NON_EXIST (0x61) /* Message type non-existent or not implemented */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
114 #define SMS_RP_CS_MSG_NOT_COMP (0x62) /* Message not compatible with the short message protocol state */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
115 #define SMS_RP_CS_INFO_NON_EXIST (0x63) /* Information element non-existent or not implemented */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
116 #define SMS_RP_CS_PROTOCOL_ERROR (0x6f) /* Protocol error, unspecified */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
117 #define SMS_RP_CS_INTERWORKING (0x7f) /* Interworking, unspecified */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
118 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
119 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
120 * Value constants for VAL_tp_ct |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
121 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
122 #define SMS_CT_ENQUIRY (0x0) /* Enquiry to submitted short message */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
123 #define SMS_CT_CANCEL_REP (0x1) /* Cancel status report request */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
124 #define SMS_CT_DELETE (0x2) /* Delete short message */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
125 #define SMS_CT_ENABLE (0x3) /* Enable status report request */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
126 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
127 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
128 * Value constants for VAL_tp_dcs |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
129 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
130 #define SMS_DCS_GRP_DEF (0x0) /* Coding group: uncompressed, no message class */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
131 #define SMS_DCS_GRP_CLASS (0x10) /* Coding group: uncompressed, with message class */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
132 #define SMS_DCS_GRP_COMPR (0x20) /* Coding group: compressed, no message class */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
133 #define SMS_DCS_GRP_CLASS_COMPR (0x30) /* Coding group: compressed, with message class */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
134 #define SMS_DCS_GRP_MW_DISCD (0xc0) /* Coding group: message waiting, discard */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
135 #define SMS_DCS_GRP_MW_STORE (0xd0) /* Coding group: message waiting, store */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
136 #define SMS_DCS_GRP_MW_STORE_UCS2 (0xe0) /* Coding group: message waiting, store, UCS2 coded */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
137 #define SMS_DCS_DATA_CLASS (0xf0) /* Coding group: data coding, with message class */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
138 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
139 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
140 * Value constants for VAL_tp_fcs |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
141 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
142 #define SMS_FCS_TM_IW_NOT_SUP (0x80) /* Telematic interworking not supported (MO) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
143 #define SMS_FCS_SM_0_NOT_SUP (0x81) /* Short Message Type 0 not supported (MO, MT) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
144 #define SMS_FCS_CANT_REP_SM (0x82) /* Cannot replace short message (MO, MT) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
145 #define SMS_FCS_TP_PID_UNSPEC (0x8f) /* Unspecified TP-PID error (MO, MT) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
146 #define SMS_FCS_DCS_NOT_SUP (0x90) /* Data coding scheme (alphabet) not supported (MO) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
147 #define SMS_FCS_CLASS_NOT_SUP (0x91) /* Message class not supported (MT) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
148 #define SMS_FCS_TP_DCS_UNSPEC (0x9f) /* Unspecified TP-DCS error (MO, MT) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
149 #define SMS_FCS_CMD_CANT_ACT (0xa0) /* Command cannot be actioned (MO) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
150 #define SMS_FCS_CMD_NOT_SUP (0xa1) /* Command unsupported (MO) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
151 #define SMS_FCS_TP_CMD_UNSPEC (0xaf) /* Unspecified TP-Command error (MO) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
152 #define SMS_FCS_TPDU_NOT_SUP (0xb0) /* TPDU not supported (MO, MT) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
153 #define SMS_FCS_SC_BUSY (0xc0) /* SC busy (MO) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
154 #define SMS_FCS_NO_SC_SUBSCRIPT (0xc1) /* No SC subscription (MO) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
155 #define SMS_FCS_SC_SYS_FAIL (0xc2) /* SC system failure (MO) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
156 #define SMS_FCS_INV_SME_ADDR (0xc3) /* Invalid SME address (MO) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
157 #define SMS_FCS_DEST_SME_BARRED (0xc4) /* Destination SME barred (MO) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
158 #define SMS_FCS_REJ_DUPL_SM (0xc5) /* SM rejected-duplicate SM (MO) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
159 #define SMS_FCS_TPVPF_NOT_SUP (0xc6) /* Validity Period Format not supported (MO) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
160 #define SMS_FCS_TPVP_NOT_SUP (0xc7) /* Validity Period not supported (MO) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
161 #define SMS_FCS_SIM_MEM_FULL (0xd0) /* SIM SMS storage full (MT) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
162 #define SMS_FCS_NO_SMS_MEM_IN_MS (0xd1) /* No SMS storage capability in SIM (MT) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
163 #define SMS_FCS_ERROR_IN_MS (0xd2) /* Error in MS (MT) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
164 #define SMS_FCS_MEM_CAP_EXCEED (0xd3) /* Memory Capacity exceeded (MO, MT) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
165 #define SMS_FCS_SAT_BUSY (0xd4) /* SIM Application Toolkit busy (MT) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
166 #define SMS_FCS_SAT_DNL_ERROR (0xd5) /* SIM Data Download error (MT) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
167 #define SMS_FCS_UNSPECIFIED (0xff) /* Unspecified error cause (MO, MT) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
168 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
169 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
170 * Value constants for VAL_tp_mti |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
171 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
172 #define SMS_DELIVER (0x0) /* SMS deliver (SC to MS) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
173 #define SMS_DELIVER_REPORT (0x0) /* SMS deliver report (MS to SC) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
174 #define SMS_STATUS_REPORT (0x2) /* SMS status report (SC to MS) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
175 #define SMS_COMMAND (0x2) /* SMS command (MS to SC) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
176 #define SMS_SUBMIT (0x1) /* SMS submit (MS to SC) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
177 #define SMS_SUBMIT_REPORT (0x1) /* SMS submit report (SC to MS) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
178 #define SMS_DELIVER_CONCAT (0x4) /* SMS deliver concat (SC to MS) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
179 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
180 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
181 * Value constants for VAL_tp_mms |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
182 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
183 #define SMS_MMS_MORE_MESSAGES (0x0) /* More messages are waiting for the MS in this SC */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
184 #define SMS_MMS_NO_MORE_MESSAGES (0x1) /* No more messages are waiting for the MS in this SC */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
185 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
186 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
187 * Value constants for VAL_tp_pid |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
188 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
189 #define SMS_PID_DEFAULT (0x0) |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
190 #define SMS_PID_SM_TYPE_0 (0x40) /* Short Message Type 0 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
191 #define SMS_PID_REP_SM_TYPE_1 (0x41) /* Replace Short Message Type 1 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
192 #define SMS_PID_REP_SM_TYPE_2 (0x42) /* Replace Short Message Type 2 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
193 #define SMS_PID_REP_SM_TYPE_3 (0x43) /* Replace Short Message Type 3 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
194 #define SMS_PID_REP_SM_TYPE_4 (0x44) /* Replace Short Message Type 4 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
195 #define SMS_PID_REP_SM_TYPE_5 (0x45) /* Replace Short Message Type 5 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
196 #define SMS_PID_REP_SM_TYPE_6 (0x46) /* Replace Short Message Type 6 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
197 #define SMS_PID_REP_SM_TYPE_7 (0x47) /* Replace Short Message Type 7 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
198 #define SMS_PID_RET_CALL_MSG (0x5f) /* Return Call Message */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
199 // VAL-FF: REL99 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
200 // #define SMS_PID_ANSI_136_R_DATA (0x7c) /* ANSI-136 Data */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
201 #define SMS_PID_ME_DOWNLOAD (0x7d) /* ME Data Download */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
202 #define SMS_PID_ME_DEPERSON (0x7e) /* ME Depersonalization SM */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
203 #define SMS_PID_SIM_DOWNLOAD (0x7f) /* SIM Data Download */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
204 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
205 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
206 * Value constants for VAL_tp_rd |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
207 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
208 #define SMS_RD_ACCEPT (0x0) /* Accept duplicated SMS submit */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
209 #define SMS_RD_REJECT (0x1) /* Reject duplicated SMS submit */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
210 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
211 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
212 * Value constants for VAL_tp_rp |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
213 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
214 #define SMS_RP_NOT_SET (0x0) /* TP Reply Path parameter is not set */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
215 #define SMS_RP_SET (0x1) /* TP Reply Path parameter is set */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
216 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
217 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
218 * Value constants for VAL_tp_st |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
219 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
220 #define SMS_ST_SM_REC_BY_SME (0x0) /* Short message received by the SME */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
221 #define SMS_ST_SM_FORW_SC (0x1) /* Short message forwarded by the SC, not confirmed */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
222 #define SMS_ST_SM_REP_BY_SC (0x2) /* Short message replaced by the SC */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
223 #define SMS_ST_CONGESTION (0x20) /* Congestion (T) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
224 #define SMS_ST_SMS_BUSY (0x21) /* SME is busy (T) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
225 #define SMS_ST_NO_RESPONSE (0x22) /* No response from the SME (T) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
226 #define SMS_ST_SERV_REJ (0x23) /* Service rejected (T) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
227 #define SMS_ST_QUAL_NOT_AVAIL (0x24) /* Quality of service not available (T) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
228 #define SMS_ST_ERR_IN_SME (0x25) /* Error in SME (T) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
229 #define SMS_ST_REM_PROC_ERR (0x40) /* Remote procedure error (P) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
230 #define SMS_ST_INCOMP_DEST (0x41) /* Incompatible destination (P) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
231 #define SMS_ST_CON_REJ_BY_SME (0x42) /* Connection rejected by SME (P) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
232 #define SMS_ST_NOT_OBTAINABLE (0x43) /* Not obtainable (P) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
233 #define SMS_ST_QUAL_NOT_AVAIL_P (0x44) /* Quality of service not available (P) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
234 #define SMS_ST_NO_INTERWORK (0x45) /* No interworking available (P) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
235 #define SMS_ST_SM_VP_EXP (0x46) /* Short message validity period expired (P) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
236 #define SMS_ST_SM_DEL_BY_SME (0x47) /* Short message deleted by originating SME (P) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
237 #define SMS_ST_SM_DEL_BY_SC (0x48) /* Short message deleted by SC administration (P) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
238 #define SMS_ST_SM_NOT_EXIST (0x49) /* Short message not exists (P) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
239 #define SMS_ST_CONGESTION2 (0x60) /* Congestion (P) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
240 #define SMS_ST_SMS_BUSY2 (0x61) /* SME is busy (P) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
241 #define SMS_ST_NO_RESPONSE2 (0x62) /* No response from the SME (P) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
242 #define SMS_ST_SERV_REJ2 (0x63) /* Service rejected (P) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
243 #define SMS_ST_QUAL_NOT_AVAIL2 (0x64) /* Quality of service not available (P) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
244 #define SMS_ST_ERR_IN_SME2 (0x65) /* Error in SME (P) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
245 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
246 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
247 * Value constants for VAL_tp_sri |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
248 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
249 #define SMS_SRI_NO_RETURN (0x0) /* A status report will not be returned to the SME */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
250 #define SMS_SRI_RETURN (0x1) /* A status report will be returned to the SME */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
251 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
252 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
253 * Value constants for VAL_tp_srr |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
254 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
255 #define SMS_SRR_NOT_REQUESTED (0x0) /* A status report is not requested */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
256 #define SMS_SRR_REQUESTED (0x1) /* A status report is requested */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
257 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
258 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
259 * Value constants for VAL_tp_srq |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
260 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
261 #define SMS_SRQ_SUBMIT (0x0) /* The SMS status report is the result of a SMS submit */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
262 #define SMS_SRQ_COMMAND (0x1) /* The SMS status report is the result of a SMS command or enquiry */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
263 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
264 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
265 * Value constants for VAL_tp_udhi |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
266 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
267 #define SMS_UDHI_NOT_INCLUDED (0x0) /* No user data header included */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
268 #define SMS_UDHI_INCLUDED (0x1) /* User data header included */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
269 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
270 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
271 * Value constants for VAL_tp_vpf |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
272 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
273 #define SMS_VPF_NOT_PRESENT (0x0) /* TP-VP field not present */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
274 #define SMS_VPF_ENHANCED (0x1) /* TP-VP field present in enhanced format */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
275 #define SMS_VPF_RELATIVE (0x2) /* TP-VP field present and integer represented (relative) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
276 #define SMS_VPF_ABSOLUTE (0x3) /* TP-VP field present and semi-octet represented (absolute) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
277 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
278 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
279 * Value constants for VAL_tp_udl_p |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
280 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
281 #define SMS_UD_NOT_INCLUDED (0x0) /* No user data included */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
282 #define SMS_UD_INCLUDED (0x1) /* User data included */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
283 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
284 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
285 * Value constants for VAL_tp_dcs_p |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
286 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
287 #define SMS_DCS_NOT_INCLUDED (0x0) /* No data coding scheme included */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
288 #define SMS_DCS_INCLUDED (0x1) /* Data coding scheme included */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
289 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
290 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
291 * Value constants for VAL_tp_pid_p |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
292 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
293 #define SMS_PID_NOT_INCLUDED (0x0) /* No protocol identifier included */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
294 #define SMS_PID_INCLUDED (0x1) /* Protocol identifier included */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
295 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
296 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
297 * Value constants for VAL_tp_vt_mti |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
298 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
299 #define SMS_VT_DLVR_REP_ACK (0x20) /* TP SMS-DELIVER-REPORT in RP_ACK message, MS to network */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
300 #define SMS_VT_SUBMIT (0x21) /* TP SMS-SUBMIT in RP_DATA message, MS to network */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
301 #define SMS_VT_COMMAND (0x22) /* TP SMS-COMMAND in RP_DATA message, MS to network */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
302 #define SMS_VT_DLVR_REP_ERR (0x24) /* TP SMS-DELIVER-REPORT in RP_ERROR message, MS to network */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
303 #define SMS_VT_DELIVER (0x28) /* TP SMS-DELIVER in RP_DATA message, network to MS */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
304 #define SMS_VT_SBMT_REP_ACK (0x29) /* TP SMS-SUBMIT-REPORT in RP_ACK message, network to MS */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
305 #define SMS_VT_STATUS (0x2a) /* TP SMS-STATUS-REPORT in RP-DATA or RP_ACK message, network to MS */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
306 #define SMS_VT_SBMT_REP_ERR (0x2b) /* TP SMS-SUBMIT-REPORT in RP_ERROR message, network to MS */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
307 #define SMS_VT_SIM_PDU (0x30) /* Virtual message type for SIM-PDU used in SAP MNSMS */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
308 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
309 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
310 * Value constants for VAL_tvpf |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
311 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
312 #define SMS_TVPF_NOT_PRESENT (0x0) /* Enhanced validity period not present */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
313 #define SMS_TVPF_RELATIVE (0x1) /* Enhanced validity period relative as TP-VP (relative) */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
314 #define SMS_TVPF_SECONDS (0x2) /* Enhanced validity period given in seconds 1 .. 255 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
315 #define SMS_TVPF_HOURS (0x3) /* Enhanced validity period given in hours, minutes, seconds */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
316 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
317 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
318 * Value constants for VAL_tp_ext |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
319 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
320 #define SMS_EXT_NOT_INCLUDED (0x0) /* No extension octet following */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
321 #define SMS_EXT_INCLUDED (0x1) /* Extension octet following */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
322 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
323 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
324 * Value constants for VAL_tp_ss |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
325 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
326 #define SMS_SS_NOT_SET (0x0) /* Single Shot bit not set */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
327 #define SMS_SS_SET (0x1) /* Single Shot bit set */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
328 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
329 /* |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
330 * user defined constants |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
331 */ |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
332 #define SIM_PDU_BIT_LEN (0x578) |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
333 #define TPDU_BIT_LEN (0x520) |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
334 #define MAX_SMS_ADDR_DIG (0x14) |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
335 #define MAX_SMS_SGL_CHAR (0xa0) |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
336 #define MAX_SMS_DATA_LEN (0xa0) |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
337 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
338 #include "CDG_LEAVE.h" |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
339 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
340 |
9ba088a875bd
gsm-fw/cdg: "conservative" version created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
341 #endif |