📄 smsal_l4c_enum.h
字号:
/*****************************************************************************
* Copyright Statement:
* --------------------
* This software is protected by Copyright and the information contained
* herein is confidential. The software may not be copied and the information
* contained herein may not be used or disclosed except with the written
* permission of MediaTek Inc. (C) 2005
*
* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
*
* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
*
* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
*
*****************************************************************************/
/*******************************************************************************
* Filename:
* ---------
* smsal_l4c_enum.h
*
* Project:
* --------
* MAUI
*
* Description:
* ------------
* This file contains the enumerations which related to interface of
* SMSAL and L4C.
*
* Author:
* -------
* -------
*
*==============================================================================
* HISTORY
* Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*------------------------------------------------------------------------------
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
*------------------------------------------------------------------------------
* Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*==============================================================================
*******************************************************************************/
/********************************************************************************
* Copyright Statement:
* --------------------
*
* This product has been developed using a protocol stack
* developed by Sasken Communication Technologies Limited.
*
********************************************************************************/
#ifndef _SMSAL_L4C_ENUM_H
#define _SMSAL_L4C_ENUM_H
typedef enum
{
SMSAL_NORMAL_INIT,
SMSAL_PARAM_INIT_ONLY
} smsal_init_type_enum;
typedef enum
{
/* follows intended for AT commands and MMI */
SMSAL_REC_UNREAD = 0, /* received unread */
SMSAL_REC_READ, /* received read */
SMSAL_STO_UNSENT, /* stored unsent */
SMSAL_STO_SENT, /* stored sent */
SMSAL_ALL, /* all (only applicable to +CMGL command)
* not for MMI
*/
/* follows intended for MMI only */
SMSAL_INBOX_PARTIAL, /* parts of inbox messages */
SMSAL_OUTBOX_PARTIAL, /* parts of outbox messages */
SMSAL_INVALID_STATUS
} smsal_status_enum;
typedef enum
{
/* follows intended for AT commands and MMI */
SMSAL_DEL_INDEXED_MSG = 0, /* delete specified msg */
SMSAL_DEL_READ_MSG, /* delete all read msg */
SMSAL_DEL_READ_SENT_MSG, /* delete all read/sent msg */
SMSAL_DEL_READ_MO_MSG, /* delete all read/mobile-originated msg */
SMSAL_DEL_ALL_MSG, /* delete all msg */
/* follows intended only for MMI */
SMSAL_DEL_INBOX,
SMSAL_DEL_OUTBOX,
SMSAL_DEL_BITMAP /* delete according bitmap */
} smsal_del_flag_enum;
/*
* message type identifier
*/
typedef enum
{
SMSAL_MTI_DELIVER = 0x00,
SMSAL_MTI_DELIVER_REPORT = 0x00,
SMSAL_MTI_SUBMIT = 0x01,
SMSAL_MTI_SUBMIT_REPORT = 0x01,
SMSAL_MTI_STATUS_REPORT = 0x02,
SMSAL_MTI_COMMAND = 0x02,
SMSAL_MTI_UNSPECIFIED = 0x03 /* MMI shall handle this case,
* eg, displaying "does not support",
* or "cannot display", etc */
} smsal_mti_enum;
typedef enum
{
SMSAL_VPF_NOT_PRESENT = 0x00,
SMSAL_VPF_ENHANCED = 0x01,
SMSAL_VPF_RELATIVE = 0x02,
SMSAL_VPF_ABSOLUTE = 0x03
} smsal_vp_format_enum;
/*
* CNMI destination code
*/
typedef enum
{
SMSAL_INVALID_DEST = 0,
SMSAL_TO_LMI,
SMSAL_TO_RMI
} smsal_nmi_dest_enum;
typedef enum
{
NOT_SHOW_HEADER = 0,
SHOW_HEADER
} smsal_show_header_enum;
/*
* the difference between SMSAL_SM_PREFER and SMSAL_MT is :
*
* SMSAL_SM_PREFER : in at+cpms? , only SIM storage information will be return
* SMSAL_MT : ..... both SIM/ME storage information will be return
*/
typedef enum
{
SMSAL_SM = 0, /* SIM only */
SMSAL_ME = 1, /* ME only */
SMSAL_SR = 2, /* status report (currently NOT support) */
SMSAL_BM = 3, /* broadcast (currently NOT support) */
SMSAL_TA = 4, /* adaptation (currently NOT support) */
SMSAL_SM_PREFER = 5, /* SIM prefer, try SIM first, then ME */
SMSAL_ME_PREFER = 6, /* ME prefer, try ME first, then SIM */
SMSAL_MT = 7, /* any of storages associated with ME (SIM first) */
SMSAL_STORAGE_UNSPECIFIED = 7
} smsal_storage_enum;
typedef enum
{
SMSAL_SM_FIRST = 0x00,
SMSAL_ME_FIRST = 0x01
} smsal_sms_prefer_order_enum;
typedef enum
{
SMSAL_PDU_MODE = 0,
SMSAL_TEXT_MODE,
NUM_OF_SMSAL_MSG_FORMAT
} smsal_msg_format_enum;
typedef enum
{
SMSAL_MMS_DISABLE =0,
SMSAL_MMS_ENABLE_UNTIL_TIMEOUT,
SMSAL_MMS_ENALBE
} smsal_more_msg_mode_enum;
typedef enum
{
SMSAL_SERVICE0 = 0,
SMSAL_SERVICE1
} smsal_service_mode_enum;
typedef enum
{
EXACTLY_INDEXING,
NEXT_INDEXING
} smsal_read_type_enum;
typedef enum
{
SMSAL_SEND_MSG,
SMSAL_SEND_CMD
} smsal_send_type_enum;
/* follow +CGSMS command in 07.07 */
typedef enum
{
SMS_GPRS_ONLY = 0,
SMS_GSM_ONLY,
SMS_PREFER_GPRS,
SMS_PREFER_GSM,
NUM_OF_SMS_SERVICE_MODE
}sms_bearer_enum;
typedef enum
{
CNMA_MODE_TEXT_MODE,
CNMA_MODE_RP_ACK,
CNMA_MODE_RP_ERROR
} smsal_cnma_mode_enum;
#ifdef SMS_FOR_NEPTUNE
/* This enum is for para_ind in both l4csmsal_set_parameter_req_struct (2 bytes) */
/* and smsal_send_msg_req_struct(1 byte). */
typedef enum
{
SMSAL_PARA_FO = 0x01,
SMSAL_PARA_SCA = 0x02,
SMSAL_PARA_PID = 0x04,
SMSAL_PARA_DCS = 0x08,
SMSAL_PARA_VP = 0x10,
SMSAL_PARA_SUPP_CONCAT = 0x20,
SMSAL_PARA_BEARER = 0x40,
SMSAL_PARA_DIRECT_DISPLAY = 0x80,
SMSAL_PARA_PREFER_MEM = 0x0100,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -