⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 p_mnsms.h

📁 GSM手机设计软件代码
💻 H
字号:
/*
+--------------------------------------------------------------------------+
| PROJEKT : PROTOCOL STACK                                                 |
| FILE    : P_MNSMS.h                                                      |
| SOURCE  : "Z:\condat\gsm\condat\ms\dfile\prim\MNSMS.pdf"                 |
| LastModified : "19 April, 2002"                                          |
| IdAndVersion : "6147.103.96.107"                                         |
| SrcFileTime  : "Thu Aug 14 00:00:00 2003"                                |
| Generated by CCDGEN_2.2.4 on Thu Aug 14 16:45:18 2003                    |
|           !!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
 */


#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 _Thu_Aug_14_00_00_00_2003

#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==1012
 */
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==1013
 */
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==1014
 */
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==1015
 */
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==1016
 */
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==1017
 */
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==1018
 */
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==1019
 */
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==1020
 */
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==1021
 */
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==1022
 */
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==1023
 */
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==1024
 */
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==1025
 */
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==1026
 */
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==1027
 */
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==1028
 */
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==1029
 */
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==1030
 */
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 + -