📄 p_mnsms.h
字号:
/*
+--------------------------------------------------------------------------+
| PROJEKT : PROTOCOL STACK |
| FILE : p_mnsms.h |
| SOURCE : "W:\condat\gsm\condat\ms\dfile\prim\mnsms.pdf" |
| LastModified : "19 April, 2002" |
| IdAndVersion : "6147.103.96.107" |
| SrcFileTime : "Mon Mar 15 15:11:25 2004" |
| Generated by CCDGEN_2.3.9 on Mon Mar 15 15:20:58 2004 |
| !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! |
+--------------------------------------------------------------------------+
*/
/* PRAGMAS
* PREFIX : NONE
* COMPATIBILITY_DEFINES : NO (require PREFIX)
* ALWAYS_ENUM_IN_VAL_FILE: NO
* ENABLE_GROUP: NO
* CAPITALIZE_TYPENAME: NO
*/
#ifndef P_MNSMS_H
#define P_MNSMS_H
#define CDG_ENTER__P_MNSMS_H
#define CDG_ENTER__FILENAME _P_MNSMS_H
#define CDG_ENTER__P_MNSMS_H__FILE_TYPE CDGINC
#define CDG_ENTER__P_MNSMS_H__LAST_MODIFIED _19_April_2002
#define CDG_ENTER__P_MNSMS_H__ID_AND_VERSION _6147_103_96_107
#define CDG_ENTER__P_MNSMS_H__SRC_FILE_TIME _Mon_Mar_15_15_11_25_2004
#include "CDG_ENTER.h"
#undef CDG_ENTER__P_MNSMS_H
#undef CDG_ENTER__FILENAME
#include "p_mnsms.val"
#ifndef __T_sms_sdu__
#define __T_sms_sdu__
/*
* SIM-PDU
* CCDGEN:WriteStruct_Count==1109
*/
typedef struct
{
U16 l_buf; /*< 0: 2> command length */
U16 o_buf; /*< 2: 2> command offset */
U8 buf[SIM_PDU_LEN]; /*< 4:175> command data */
U8 _align0; /*<179: 1> alignment */
} T_sms_sdu;
#endif
#ifndef __T_MNSMS_MESSAGE_IND__
#define __T_MNSMS_MESSAGE_IND__
/*
*
* CCDGEN:WriteStruct_Count==1110
*/
typedef struct
{
U8 mem_type; /*< 0: 1> memory type */
U8 rec_num; /*< 1: 1> record number */
U8 rec_max; /*< 2: 1> maximum number of records (1..255) in EF(SMS) or other memory */
U8 status; /*< 3: 1> message status */
T_sms_sdu sms_sdu; /*< 4:180> SIM-PDU */
} T_MNSMS_MESSAGE_IND;
#endif
#ifndef __T_MNSMS_REPORT_IND__
#define __T_MNSMS_REPORT_IND__
/*
*
* CCDGEN:WriteStruct_Count==1111
*/
typedef struct
{
U8 state; /*< 0: 1> State of the SMS Entity */
U8 _align0; /*< 1: 1> alignment */
U8 _align1; /*< 2: 1> alignment */
U8 _align2; /*< 3: 1> alignment */
} T_MNSMS_REPORT_IND;
#endif
#ifndef __T_MNSMS_STATUS_IND__
#define __T_MNSMS_STATUS_IND__
/*
*
* CCDGEN:WriteStruct_Count==1112
*/
typedef struct
{
T_sms_sdu sms_sdu; /*< 0:180> SIM-PDU */
} T_MNSMS_STATUS_IND;
#endif
#ifndef __T_MNSMS_DELETE_REQ__
#define __T_MNSMS_DELETE_REQ__
/*
*
* CCDGEN:WriteStruct_Count==1113
*/
typedef struct
{
U8 mem_type; /*< 0: 1> memory type */
U8 rec_num; /*< 1: 1> record number */
U8 _align0; /*< 2: 1> alignment */
U8 _align1; /*< 3: 1> alignment */
} T_MNSMS_DELETE_REQ;
#endif
#ifndef __T_MNSMS_DELETE_CNF__
#define __T_MNSMS_DELETE_CNF__
/*
*
* CCDGEN:WriteStruct_Count==1114
*/
typedef struct
{
U8 mem_type; /*< 0: 1> memory type */
U8 rec_num; /*< 1: 1> record number */
U16 cause; /*< 2: 2> error code */
} T_MNSMS_DELETE_CNF;
#endif
#ifndef __T_MNSMS_READ_REQ__
#define __T_MNSMS_READ_REQ__
/*
*
* CCDGEN:WriteStruct_Count==1115
*/
typedef struct
{
U8 mem_type; /*< 0: 1> memory type */
U8 rec_num; /*< 1: 1> record number */
U8 read_mode; /*< 2: 1> Read Mode */
U8 status; /*< 3: 1> message status */
} T_MNSMS_READ_REQ;
#endif
#ifndef __T_MNSMS_READ_CNF__
#define __T_MNSMS_READ_CNF__
/*
*
* CCDGEN:WriteStruct_Count==1116
*/
typedef struct
{
U8 mem_type; /*< 0: 1> memory type */
U8 rec_num; /*< 1: 1> record number */
U8 rec_next; /*< 2: 1> number of a following record with a valid message, if existent */
U8 rec_max; /*< 3: 1> maximum number of records (1..255) in EF(SMS) or other memory */
U16 cause; /*< 4: 2> error code */
U8 rec_status; /*< 6: 1> number of a record in EF(SMSR) related to the given stored message */
U8 status; /*< 7: 1> message status */
T_sms_sdu sms_sdu; /*< 8:180> SIM-PDU */
} T_MNSMS_READ_CNF;
#endif
#ifndef __T_MNSMS_STORE_REQ__
#define __T_MNSMS_STORE_REQ__
/*
*
* CCDGEN:WriteStruct_Count==1117
*/
typedef struct
{
U8 mem_type; /*< 0: 1> memory type */
U8 rec_num; /*< 1: 1> record number */
U8 condx; /*< 2: 1> write condition */
U8 status; /*< 3: 1> message status */
T_sms_sdu sms_sdu; /*< 4:180> SIM-PDU */
} T_MNSMS_STORE_REQ;
#endif
#ifndef __T_MNSMS_STORE_CNF__
#define __T_MNSMS_STORE_CNF__
/*
*
* CCDGEN:WriteStruct_Count==1118
*/
typedef struct
{
U8 mem_type; /*< 0: 1> memory type */
U8 rec_num; /*< 1: 1> record number */
U16 cause; /*< 2: 2> error code */
} T_MNSMS_STORE_CNF;
#endif
#ifndef __T_MNSMS_SUBMIT_REQ__
#define __T_MNSMS_SUBMIT_REQ__
/*
*
* CCDGEN:WriteStruct_Count==1119
*/
typedef struct
{
U8 mem_type; /*< 0: 1> memory type */
U8 rec_num; /*< 1: 1> record number */
U8 condx; /*< 2: 1> write condition */
U8 modify; /*< 3: 1> Modifier */
T_sms_sdu sms_sdu; /*< 4:180> SIM-PDU */
} T_MNSMS_SUBMIT_REQ;
#endif
#ifndef __T_MNSMS_SUBMIT_CNF__
#define __T_MNSMS_SUBMIT_CNF__
/*
*
* CCDGEN:WriteStruct_Count==1120
*/
typedef struct
{
U8 mem_type; /*< 0: 1> memory type */
U8 rec_num; /*< 1: 1> record number */
U16 cause; /*< 2: 2> error code */
U8 tp_mr; /*< 4: 1> TP message reference */
U8 _align0; /*< 5: 1> alignment */
U8 _align1; /*< 6: 1> alignment */
U8 _align2; /*< 7: 1> alignment */
T_sms_sdu sms_sdu; /*< 8:180> SIM-PDU */
} T_MNSMS_SUBMIT_CNF;
#endif
#ifndef __T_MNSMS_COMMAND_REQ__
#define __T_MNSMS_COMMAND_REQ__
/*
*
* CCDGEN:WriteStruct_Count==1121
*/
typedef struct
{
T_sms_sdu sms_sdu; /*< 0:180> SIM-PDU */
} T_MNSMS_COMMAND_REQ;
#endif
#ifndef __T_MNSMS_COMMAND_CNF__
#define __T_MNSMS_COMMAND_CNF__
/*
*
* CCDGEN:WriteStruct_Count==1122
*/
typedef struct
{
U16 cause; /*< 0: 2> error code */
U8 tp_mr; /*< 2: 1> TP message reference */
U8 _align0; /*< 3: 1> alignment */
T_sms_sdu sms_sdu; /*< 4:180> SIM-PDU */
} T_MNSMS_COMMAND_CNF;
#endif
#ifndef __T_MNSMS_ACK_RES__
#define __T_MNSMS_ACK_RES__
/*
*
* CCDGEN:WriteStruct_Count==1123
*/
typedef struct
{
U8 resp; /*< 0: 1> type of response */
U8 _align0; /*< 1: 1> alignment */
U8 _align1; /*< 2: 1> alignment */
U8 _align2; /*< 3: 1> alignment */
T_sms_sdu sms_sdu; /*< 4:180> SIM-PDU */
} T_MNSMS_ACK_RES;
#endif
#ifndef __T_MNSMS_CONFIGURE_REQ__
#define __T_MNSMS_CONFIGURE_REQ__
/*
*
* CCDGEN:WriteStruct_Count==1124
*/
typedef struct
{
U8 pref_mem_3; /*< 0: 1> memory type */
U8 mt; /*< 1: 1> mobile terminated message handling */
U8 ds; /*< 2: 1> status report message handling */
U8 mhc; /*< 3: 1> status report message handling */
} T_MNSMS_CONFIGURE_REQ;
#endif
#ifndef __T_MNSMS_ERROR_IND__
#define __T_MNSMS_ERROR_IND__
/*
*
* CCDGEN:WriteStruct_Count==1125
*/
typedef struct
{
U16 cause; /*< 0: 2> error code */
U8 _align0; /*< 2: 1> alignment */
U8 _align1; /*< 3: 1> alignment */
} T_MNSMS_ERROR_IND;
#endif
#ifndef __T_MNSMS_MO_SERV_REQ__
#define __T_MNSMS_MO_SERV_REQ__
/*
*
* CCDGEN:WriteStruct_Count==1126
*/
typedef struct
{
U8 mo_sms_serv; /*< 0: 1> MO SMS Service */
U8 _align0; /*< 1: 1> alignment */
U8 _align1; /*< 2: 1> alignment */
U8 _align2; /*< 3: 1> alignment */
} T_MNSMS_MO_SERV_REQ;
#endif
#ifndef __T_MNSMS_MO_SERV_CNF__
#define __T_MNSMS_MO_SERV_CNF__
/*
*
* CCDGEN:WriteStruct_Count==1127
*/
typedef struct
{
U8 mo_sms_serv; /*< 0: 1> MO SMS Service */
U8 _align0; /*< 1: 1> alignment */
U8 _align1; /*< 2: 1> alignment */
U8 _align2; /*< 3: 1> alignment */
} T_MNSMS_MO_SERV_CNF;
#endif
#include "CDG_LEAVE.h"
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -